Skip to content

Presentation

Defined in: types/presentation.ts:9

A presentation in the user’s Mobile Locker library. Mirrors the iOS GRDBPresentation Swift model’s toJSON(files:) output.

Viewer capabilities (e.g. showSearchButton, canBeAnnotated) and download state flags are not serialized by the server — derive them from settings (a JSON string) and status at runtime.

id: number;

Defined in: types/presentation.ts:10


name: string;

Defined in: types/presentation.ts:11


slug: string;

Defined in: types/presentation.ts:12


code: string | null;

Defined in: types/presentation.ts:14

Short unique code used in share links.


url: string | null;

Defined in: types/presentation.ts:16

External URL, set when the presentation opens a remote URL.


external_id: string | null;

Defined in: types/presentation.ts:18

External CRM identifier (e.g. a Salesforce ID).


open_url: string;

Defined in: types/presentation.ts:20

Web URL that opens this presentation in the platform web app.


team_id: number | null;

Defined in: types/presentation.ts:21


description: string | null;

Defined in: types/presentation.ts:22


type: string | null;

Defined in: types/presentation.ts:24

Presentation format type (e.g. 'html', 'pdf', 'video').


main_path: string | null;

Defined in: types/presentation.ts:26

Relative path to the main entry file (e.g. 'index.html').


status: string | null;

Defined in: types/presentation.ts:28

Download/availability status (e.g. 'Installed', 'Available').


installed: boolean;

Defined in: types/presentation.ts:29


thumbnail_url: string | null;

Defined in: types/presentation.ts:30


thumbnail_hash: string | null;

Defined in: types/presentation.ts:31


files_hash: string | null;

Defined in: types/presentation.ts:32


show_in_main_list: boolean;

Defined in: types/presentation.ts:33


is_rateable: boolean;

Defined in: types/presentation.ts:34


is_bookmarked: boolean;

Defined in: types/presentation.ts:35


is_featured: boolean;

Defined in: types/presentation.ts:36


is_internal_use_only: boolean;

Defined in: types/presentation.ts:37


can_be_printed_by_user: boolean;

Defined in: types/presentation.ts:38


can_be_exported: boolean;

Defined in: types/presentation.ts:39


can_be_shared_via_email: boolean;

Defined in: types/presentation.ts:40


can_be_shared_via_link: boolean;

Defined in: types/presentation.ts:41


can_be_shared_via_text: boolean;

Defined in: types/presentation.ts:42


can_be_shared: boolean;

Defined in: types/presentation.ts:44

Legacy alias for can_be_shared_via_email.


cah_be_shared_link: boolean;

Defined in: types/presentation.ts:46

Legacy alias for can_be_shared_via_link (intentional typo kept for compatibility).


brand_id: number;

Defined in: types/presentation.ts:47


new_until_at: string | null;

Defined in: types/presentation.ts:49

ISO 8601 timestamp until which the presentation is flagged as new.


expires_at: string | null;

Defined in: types/presentation.ts:51

ISO 8601 expiry timestamp, or null if the presentation does not expire.


share_template_id: number;

Defined in: types/presentation.ts:52


locale: string;

Defined in: types/presentation.ts:53


is_pdf_form: boolean;

Defined in: types/presentation.ts:54


is_ceros_experience: boolean;

Defined in: types/presentation.ts:55


is_ispring: boolean;

Defined in: types/presentation.ts:56


can_be_used_in_haystack: boolean;

Defined in: types/presentation.ts:57


has_transcript: boolean;

Defined in: types/presentation.ts:58


comment_count: number;

Defined in: types/presentation.ts:59


subscriber_count: number;

Defined in: types/presentation.ts:60


settings: string;

Defined in: types/presentation.ts:62

Raw JSON settings string — parse to read viewer capability flags.


is_slide_deck: boolean;

Defined in: types/presentation.ts:63


owner_id: number;

Defined in: types/presentation.ts:64


created_at: string;

Defined in: types/presentation.ts:65


updated_at: string;

Defined in: types/presentation.ts:66


content_updated_at: string;

Defined in: types/presentation.ts:67


files: PresentationFile[];

Defined in: types/presentation.ts:68