UNPKG

@samepage/internal

Version:

Utilities used across modules - not meant for use by users directly

70 lines (69 loc) 2.14 kB
declare const MESSAGES: { readonly ERROR: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; readonly AUTHENTICATION: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; readonly PING: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; readonly SHARE_PAGE: { readonly title: "Share Page"; readonly description: "Notebook **{app}/{workspace}** is attempting to share page `{title:atjson}`. Would you like to accept?"; readonly buttons: readonly ["accept", "reject"]; }; readonly SHARE_PAGE_RESPONSE: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; readonly SHARE_PAGE_UPDATE: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; readonly SHARE_PAGE_FORCE: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; readonly REQUEST_PAGE_UPDATE: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; readonly QUERY: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; readonly QUERY_RESPONSE: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; readonly REQUEST_DATA: { readonly title: "Request For Data"; readonly description: "Notebook **{app}/{workspace}** wants to read the following data: `{title}`. Would you like to accept?"; readonly buttons: readonly ["accept", "reject"]; }; readonly REQUEST: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; readonly RESPONSE: { readonly title: ""; readonly description: ""; readonly buttons: readonly []; }; }; export type Operation = keyof typeof MESSAGES; export default MESSAGES;