Something went wrong. Try again.
Stable episode delivery and analytics on pod.place
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162export type MediaOrigin = { url: string; type: string; length: number };export type SourceMedia = MediaOrigin & { contentHash?: { algorithm: "sha-256"; value: string };};
export type EpisodeRecord = { $type: "place.pod.episode"; showUri: string; title: string; guid: string; createdAt: string; audioUrl: string; audioMimeType: string; audioSizeBytes: number; media: MediaOrigin & { primary: MediaOrigin; source?: SourceMedia }; [key: string]: unknown;};
export type ShowRecord = { $type: "place.pod.show"; title: string; resolverAnalytics?: boolean; [key: string]: unknown;};
export type RecordEnvelope = { uri: string; cid: string; value: unknown };export type RecordReader = { get(uri: string): Promise<RecordEnvelope> };export type RegisteredShow = { id: string; uri: string; publisherDid: string; cid: string; record: ShowRecord; updatedAt: string;};export type ResolverMapping = { id: string; showUri: string; episodeUri: string; episodeGuid: string; recordCid: string; record: EpisodeRecord; primary: MediaOrigin; analyticsEnabled: boolean; status: "active" | "withdrawn" | "unavailable"; version: number; verifiedAt: string;};
export type AnalyticsEvent = { resolverId: string; showUri: string; mappingVersion: number; timestamp: string; method: "GET" | "HEAD"; userAgentClass: string; rangeKind: "full" | "probe" | "partial"; ipPseudonym?: string;};export type AnalyticsSink = { record(event: AnalyticsEvent): Promise<void> };export type PlatformCredential = { platform: string; token: string };