@pitcher/js-api 1.24.0-rc.0 → 1.25.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/impact-js-api.spec.json +1 -1
- package/js-api.esm.js +17 -3
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +9 -9
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +2 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +12 -0
- package/lib/apps/browser/stores/api.d.ts +2 -0
- package/lib/apps/browser/stores/app.d.ts +2 -0
- package/lib/apps/browser/stores/upload.d.ts +4 -0
- package/lib/apps/canvas-builder/App.helpers.d.ts +2 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +48 -0
- package/lib/apps/canvas-builder/components/container/AiPrompt/AiPromptModal.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/RestrictedSectionSelector.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +3 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListStrategySelector.vue.d.ts +7 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +5 -2
- package/lib/apps/canvas-builder/composables/useAiPrompt.d.ts +6 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +110 -8
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +6 -2
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +6 -2
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +18 -18
- package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +5 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +14 -1
- package/lib/apps/collection-player/App.vue.d.ts +2 -0
- package/lib/apps/collection-player/composables/moving-group-gestures.use.d.ts +5 -5
- package/lib/apps/collection-player/stores/app.store.d.ts +4 -3
- package/lib/apps/collection-player/types/collection-player.type.d.ts +1 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +12 -0
- package/lib/apps/content-selector/stores/api.d.ts +2 -0
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +6 -0
- package/lib/components/CCarousel/CCarousel.vue.d.ts +303 -2
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +1 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +3 -1
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -0
- package/lib/components/CImage/CBrokenImage.vue.d.ts +4 -1
- package/lib/components/CImage/CImage.vue.d.ts +296 -1
- package/lib/components/CSearch/CSearchOnClickWithSuggestions.vue.d.ts +23 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +7 -0
- package/lib/components/CSwitch/CSwitch.vue.d.ts +10 -1
- package/lib/components/CTableInput/CTableInput.vue.d.ts +2 -0
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +380 -10
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +184 -3
- package/lib/components/canvases/CanvasesManagementBulk.use.d.ts +19 -0
- package/lib/components/filters/CSearchFilter.vue.d.ts +14 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +4 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +1 -1
- package/lib/composables/useCanvasLocks.d.ts +1 -0
- package/lib/composables/useCanvasOverlay.d.ts +13 -1
- package/lib/composables/useMetadataSearch.d.ts +19 -0
- package/lib/composables/useWindowEvents.d.ts +4 -3
- package/lib/constants/cdp.const.d.ts +2 -2
- package/lib/main.lib.d.ts +3 -0
- package/lib/sdk/api/HighLevelApi.d.ts +0 -1
- package/lib/sdk/api/modules/admin/canvas.admin.d.ts +20 -0
- package/lib/sdk/api/modules/admin/index.d.ts +6 -0
- package/lib/sdk/api/modules/env.d.ts +1 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +20 -0
- package/lib/sdk/api/modules/ui/index.d.ts +6 -0
- package/lib/sdk/main.d.ts +30 -3
- package/lib/sdk/payload.types.d.ts +4 -0
- package/lib/sdk/utils/window.d.ts +1 -0
- package/lib/types/app.d.ts +3 -0
- package/lib/types/core/MetadataFilter.d.ts +32 -0
- package/lib/types/files.d.ts +3 -1
- package/lib/types/instanceSettings.types.d.ts +4 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +3 -0
- package/lib/types/recentFiles.types.d.ts +2 -1
- package/lib/types/search.d.ts +5 -0
- package/lib/util/anchor.d.ts +1 -1
- package/lib/util/image.d.ts +6 -0
- package/lib/util/tree-transformation.util.d.ts +0 -1
- package/lib/util/url.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +0 -2
- package/types/openapi/models/FileCreateRequest.d.ts +1 -0
- package/types/openapi/models/FileStatusEnum.d.ts +3 -1
- package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +1 -0
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/PatchedUserRequest.d.ts +1 -1
- package/types/openapi/models/SearchResult.d.ts +1 -3
- package/types/openapi/models/SharedLink.d.ts +0 -1
- package/types/openapi/models/SharedLinkCreate.d.ts +0 -1
- package/types/openapi/models/SharedLinkCreateRequest.d.ts +0 -1
- package/types/openapi/models/SharedLinkInstance.d.ts +1 -0
- package/types/openapi/models/User.d.ts +1 -1
- package/types/openapi/models/UserRequest.d.ts +1 -1
- package/types/openapi/models/SearchContentDistributionGroup.d.ts +0 -10
- package/types/openapi/models/SearchInstanceAssignmentGroup.d.ts +0 -10
|
@@ -156,6 +156,10 @@ export interface OpenRequestPayload {
|
|
|
156
156
|
* Indicates if the app should be opened as overlay.
|
|
157
157
|
*/
|
|
158
158
|
isOverlayApp?: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* Tracking id for the canvas presentation session.
|
|
161
|
+
*/
|
|
162
|
+
canvasCorrelationId?: string;
|
|
159
163
|
}
|
|
160
164
|
/**
|
|
161
165
|
* Payload object for opening an external URL.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getTopPitcherWindow(current?: Window & typeof globalThis): Window & typeof globalThis;
|
package/lib/types/app.d.ts
CHANGED
|
@@ -8,5 +8,37 @@ export interface MetadataFilterRequest {
|
|
|
8
8
|
and?: MetadataAndCondition[];
|
|
9
9
|
entity?: 'canvas' | 'file';
|
|
10
10
|
instance_id: string;
|
|
11
|
+
is_section?: boolean;
|
|
12
|
+
is_block?: boolean;
|
|
13
|
+
is_template?: boolean;
|
|
14
|
+
include_name_search?: boolean;
|
|
15
|
+
include_draft_values?: boolean;
|
|
16
|
+
owner_id?: string | null;
|
|
11
17
|
}
|
|
18
|
+
export type MetadataSearchParams = MetadataFilterRequest & {
|
|
19
|
+
searchMode?: 'exact' | 'partial' | 'fuzzy';
|
|
20
|
+
threshold?: number;
|
|
21
|
+
cursor?: string;
|
|
22
|
+
page_size?: number;
|
|
23
|
+
};
|
|
24
|
+
interface MetadataResultItem {
|
|
25
|
+
id: string;
|
|
26
|
+
is_name_match: boolean;
|
|
27
|
+
}
|
|
28
|
+
interface MetadataResultItemFuzzy {
|
|
29
|
+
value: string;
|
|
30
|
+
score: number;
|
|
31
|
+
is_name_match: boolean;
|
|
32
|
+
}
|
|
33
|
+
interface MetadataResultFuzzy {
|
|
34
|
+
ids: string[];
|
|
35
|
+
score: MetadataResultItemFuzzy[];
|
|
36
|
+
}
|
|
37
|
+
export type MetadataSearchResponse = {
|
|
38
|
+
results: Record<string, MetadataResultItem[] | MetadataResultFuzzy>;
|
|
39
|
+
pagination: {
|
|
40
|
+
cursor: string | null;
|
|
41
|
+
has_more: boolean;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
12
44
|
export {};
|
package/lib/types/files.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Favorite, FileCreateRequest } from '../../types/openapi';
|
|
1
|
+
import { Favorite, FileCreateRequest, FileStatusEnum } from '../../types/openapi';
|
|
2
2
|
import { RecentFile } from './recentFiles.types';
|
|
3
3
|
import { CompactFile, CompactFolder } from '../apps/browser/stores/api';
|
|
4
4
|
export interface DeviceFileCreateRequest extends Omit<FileCreateRequest, 'content'> {
|
|
@@ -24,6 +24,7 @@ export type ViewCompactFolder = Omit<CompactFolder, 'created_by'> & {
|
|
|
24
24
|
file_thumbnail_urls?: string[];
|
|
25
25
|
folders_count?: number;
|
|
26
26
|
files_count?: number;
|
|
27
|
+
status?: string;
|
|
27
28
|
};
|
|
28
29
|
export interface DeviceFile {
|
|
29
30
|
name: string;
|
|
@@ -35,4 +36,5 @@ export type ViewCompactFileFolder = ViewCompactFolder | ViewCompactFile;
|
|
|
35
36
|
export type RenderableFile = (Favorite & {
|
|
36
37
|
thumbnail_url?: string;
|
|
37
38
|
file_thumbnail_urls?: string[];
|
|
39
|
+
status?: FileStatusEnum;
|
|
38
40
|
}) | RecentFile | ViewCompactFileFolder;
|
|
@@ -17,6 +17,8 @@ export type AutohideSectionOnCreated = {
|
|
|
17
17
|
};
|
|
18
18
|
export type InstanceSettings = OrganizationSettings & {
|
|
19
19
|
canvas?: {
|
|
20
|
+
hide_page_break_in_toc?: boolean;
|
|
21
|
+
disable_display_index_in_toc?: boolean;
|
|
20
22
|
autohide_section_on_created?: AutohideSectionOnCreated;
|
|
21
23
|
component_availability?: CanvasComponentAvailability & {
|
|
22
24
|
apps?: Record<string, boolean>;
|
|
@@ -34,5 +36,7 @@ export type InstanceSettings = OrganizationSettings & {
|
|
|
34
36
|
enabled?: boolean;
|
|
35
37
|
};
|
|
36
38
|
};
|
|
39
|
+
enable_recents?: boolean;
|
|
40
|
+
enable_favorites?: boolean;
|
|
37
41
|
ios?: InstanceSettings;
|
|
38
42
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type LaunchDarklyBooleanFlagKey = 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_canvas_duplication' | 'allow_canvas_history' | 'allow_canvas_ownership_change' | 'allow_canvases_tables_columns_settings' | 'allow_content_grid_autofill' | 'allow_creating_canvas_with_no_template' | 'allow_embeddable_hiding' | 'allow_multimedia_for_scribble_component' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'allow_saving_annotations_in_personal_layer' | 'allow_user_to_edit_font_size_and_color_in_canvas_tokens' | 'are_sections_system_controlled' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'enable_analytics' | 'enable_app_developer_role' | 'enable_background_image_theme_options' | 'enable_bulk_update_file_attributes' | 'enable_canvas_blocks' | 'enable_canvas_node_debugging' | 'enable_canvas_tokens' | 'enable_content_type_change_in_content_selector' | 'enable_create_section_from_section_template' | 'enable_default_crm_shape' | 'enable_dynamic_data_table_component' | 'enable_embedded_video_autoplay' | 'enable_embedded_video' | 'enable_enhanced_indicators' | 'enable_experimental_canvas_builder_dnd' | 'enable_file_pages_metadata' | 'enable_file_revisions' | 'enable_folder_details_edit' | 'enable_handlebar_template_support' | 'enable_height_in_component_theming' | 'enable_insearch_in_section_selector' | 'enable_instance_editor_role' | 'enable_knock_notifications' | 'enable_maintain_section_theme_control' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_multimedia_component_ai_images' | 'enable_pipe_character_multi_search' | 'enable_resizable_multimedia_component' | 'enable_saved_canvases_filters' | 'enable_scribble_component' | 'enable_search_and_filters_in_multimedia_component' | 'enable_section_context_in_dsr' | 'enable_section_selector_drag_n_drop' | 'enable_smart_folders' | 'enable_smart_folders_in_files' | 'enable_suggested_tags' | 'enable_template_folders' | 'enable_theme_options_border_radius' | 'enable_themes' | 'hide_asset_uploader' | 'include_files_content_in_print' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_meeting_bar_account_selection_disabled' | 'is_meeting_bar_hidden' | 'is_rep_canvas_creation_disabled' | 'is_shared_link_creation_disabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'launch_in_present_mode_on_creation' | 'prefer_online_handlers' | 'reorder_component_in_drawer' | 'show_asset_manager_for_multimedia' | 'show_clear_all_annotations_button' | 'show_content_selector_list_view' | 'show_popularity_icons' | 'show_system_filters' | 'use_core_endpoint_for_analytics' | 'use_short_url_for_shared_link' | 'use_zoho_instead_of_ms_wopi';
|
|
1
|
+
export type LaunchDarklyBooleanFlagKey = 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_canvas_duplication' | 'allow_canvas_history' | 'allow_canvas_ownership_change' | 'allow_canvases_tables_columns_settings' | 'allow_content_grid_autofill' | 'allow_creating_canvas_with_no_template' | 'allow_embeddable_hiding' | 'allow_multimedia_for_scribble_component' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'allow_saving_annotations_in_personal_layer' | 'allow_user_to_edit_font_size_and_color_in_canvas_tokens' | 'are_sections_system_controlled' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'enable_ai_generated_thumbnails' | 'enable_analytics' | 'enable_app_developer_role' | 'enable_background_image_theme_options' | 'enable_bulk_update_file_attributes' | 'enable_canvas_blocks' | 'enable_canvas_node_debugging' | 'enable_canvas_tokens' | 'enable_content_type_change_in_content_selector' | 'enable_create_section_from_section_template' | 'enable_default_crm_shape' | 'enable_dynamic_data_table_component' | 'enable_embedded_video_autoplay' | 'enable_embedded_video' | 'enable_enhanced_indicators' | 'enable_experimental_canvas_builder_dnd' | 'enable_file_pages_metadata' | 'enable_file_revisions' | 'enable_folder_details_edit' | 'enable_handlebar_template_support' | 'enable_height_in_component_theming' | 'enable_insearch_in_section_selector' | 'enable_instance_editor_role' | 'enable_knock_notifications' | 'enable_maintain_section_theme_control' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_multimedia_component_ai_images' | 'enable_pia_assistant' | 'enable_pipe_character_multi_search' | 'enable_resizable_multimedia_component' | 'enable_saved_canvases_filters' | 'enable_scribble_component' | 'enable_search_and_filters_in_multimedia_component' | 'enable_section_context_in_dsr' | 'enable_section_selector_drag_n_drop' | 'enable_smart_folders' | 'enable_smart_folders_in_files' | 'enable_suggested_tags' | 'enable_template_folders' | 'enable_theme_options_border_radius' | 'enable_themes' | 'hide_asset_uploader' | 'include_files_content_in_print' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_meeting_bar_account_selection_disabled' | 'is_meeting_bar_hidden' | 'is_rep_canvas_creation_disabled' | 'is_shared_link_creation_disabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'launch_in_present_mode_on_creation' | 'prefer_online_handlers' | 'reorder_component_in_drawer' | 'show_asset_manager_for_multimedia' | 'show_clear_all_annotations_button' | 'show_content_selector_list_view' | 'show_metadata_filters_in_all_canvas_things' | 'show_popularity_icons' | 'show_system_filters' | 'use_core_endpoint_for_analytics' | 'use_short_url_for_shared_link' | 'use_zoho_instead_of_ms_wopi';
|
|
2
2
|
export type LaunchDarklyNumberFlagKey = 'canvas_section_selector_page_size' | 'canvas_section_selector_selected_items_with_thumbnail_size';
|
|
3
3
|
type LaunchDarklyObjectFlags = {
|
|
4
4
|
canvas_table_pagination: CanvasTablePagination;
|
|
@@ -42,5 +42,8 @@ export type OrganizationSettings = {
|
|
|
42
42
|
use_collection_player_as_default_file_viewer_for_content_extensions?: string[];
|
|
43
43
|
use_collection_player_as_default_file_viewer_for_original_extensions?: string[];
|
|
44
44
|
enable_ppt_converter_in_canvas_templates?: boolean;
|
|
45
|
+
enable_search_with_suggestions?: boolean;
|
|
46
|
+
enable_search_filter_with_suggestions?: boolean;
|
|
47
|
+
enable_thumbnails_for_templates_and_blocks?: boolean;
|
|
45
48
|
};
|
|
46
49
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Instance, File } from '../../types/openapi';
|
|
1
|
+
import { Instance, File, FileStatusEnum } from '../../types/openapi';
|
|
2
2
|
export type RecentFile = Pick<File, 'id' | 'name' | 'content_type' | 'instance_id'> & {
|
|
3
3
|
tags?: Readonly<File['tags']>;
|
|
4
4
|
thumbnail_url?: string | null;
|
|
5
5
|
page_index?: number;
|
|
6
|
+
status?: FileStatusEnum;
|
|
6
7
|
};
|
|
7
8
|
export type InstanceRecentFilesMap = Record<Instance['id'], RecentFile[]>;
|
package/lib/util/anchor.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const downloadFile: (url?: string, name?: string) => void;
|
|
1
|
+
export declare const downloadFile: (url?: string, name?: string, target?: string) => void;
|
|
2
2
|
export declare function openUsdz(url: string): void;
|
package/lib/util/image.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
1
|
export declare const isImageAccessible: (url: string) => Promise<unknown>;
|
|
2
|
+
/**
|
|
3
|
+
* Generates an AI thumbnail URL for an img based on its description
|
|
4
|
+
* @param imgDesc - Description to generate thumbnail for
|
|
5
|
+
* @returns URL to the AI-generated thumbnail
|
|
6
|
+
*/
|
|
7
|
+
export declare const generateAIThumbnailUrl: (imgDesc: string) => string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TreeSelectOption } from 'naive-ui';
|
|
2
|
-
export declare function formatLabel(key: string): string;
|
|
3
2
|
export declare function transformToArrayTree(data: Record<string, any>, parentKey?: string): TreeSelectOption[];
|
|
4
3
|
export declare function transformToTree(data: Record<string, any>, parentKey?: string, arrayDict?: Record<string, any>): {
|
|
5
4
|
options: TreeSelectOption[];
|
package/lib/util/url.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { InstanceSettings, OrganizationSettings } from '../main.lib';
|
|
2
2
|
export declare function getPreviewUrl(url: string, pitcherSettings?: OrganizationSettings & InstanceSettings): string;
|
|
3
|
+
export declare function getAppConfigFromAppSource(source: string): string | undefined;
|
package/package.json
CHANGED
package/types/openapi/index.d.ts
CHANGED
|
@@ -232,9 +232,7 @@ export type { Revision } from './models/Revision';
|
|
|
232
232
|
export type { RevisionRequest } from './models/RevisionRequest';
|
|
233
233
|
export type { SearchApp } from './models/SearchApp';
|
|
234
234
|
export type { SearchCanvas } from './models/SearchCanvas';
|
|
235
|
-
export type { SearchContentDistributionGroup } from './models/SearchContentDistributionGroup';
|
|
236
235
|
export type { SearchFile } from './models/SearchFile';
|
|
237
|
-
export type { SearchInstanceAssignmentGroup } from './models/SearchInstanceAssignmentGroup';
|
|
238
236
|
export type { SearchResult } from './models/SearchResult';
|
|
239
237
|
export type { SearchUser } from './models/SearchUser';
|
|
240
238
|
export type { SharedLink } from './models/SharedLink';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { SearchApp } from './SearchApp';
|
|
2
2
|
import { SearchCanvas } from './SearchCanvas';
|
|
3
|
-
import { SearchContentDistributionGroup } from './SearchContentDistributionGroup';
|
|
4
3
|
import { SearchFile } from './SearchFile';
|
|
5
|
-
import { SearchInstanceAssignmentGroup } from './SearchInstanceAssignmentGroup';
|
|
6
4
|
import { SearchUser } from './SearchUser';
|
|
7
|
-
export type SearchResult = (SearchFile | SearchUser | SearchApp | SearchCanvas
|
|
5
|
+
export type SearchResult = (SearchFile | SearchUser | SearchApp | SearchCanvas);
|
|
@@ -4,7 +4,6 @@ import { SharedLinkOrganization } from './SharedLinkOrganization';
|
|
|
4
4
|
export type SharedLink = {
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly type: string;
|
|
7
|
-
is_snapshot?: boolean;
|
|
8
7
|
readonly file: Record<string, any> | null;
|
|
9
8
|
readonly canvas: SharedLinkCanvas;
|
|
10
9
|
readonly instance: SharedLinkInstance;
|
|
@@ -4,7 +4,6 @@ import { SharedLinkOrganization } from './SharedLinkOrganization';
|
|
|
4
4
|
export type SharedLinkCreate = {
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly type: string;
|
|
7
|
-
is_snapshot?: boolean;
|
|
8
7
|
readonly file: Record<string, any> | null;
|
|
9
8
|
readonly canvas: SharedLinkCanvas;
|
|
10
9
|
readonly instance: SharedLinkInstance;
|
|
@@ -14,9 +14,9 @@ export type User = {
|
|
|
14
14
|
readonly activated_at: string | null;
|
|
15
15
|
readonly is_active: boolean;
|
|
16
16
|
language?: LanguageEnum;
|
|
17
|
-
dark_mode?: boolean;
|
|
18
17
|
readonly connected_services: Array<ConnectedService>;
|
|
19
18
|
preferred_username?: string;
|
|
20
19
|
readonly picture: string | null;
|
|
21
20
|
timezone?: string;
|
|
21
|
+
tags?: Array<string> | null;
|
|
22
22
|
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MiniUser } from './MiniUser';
|
|
2
|
-
export type SearchContentDistributionGroup = {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
readonly size: number;
|
|
6
|
-
readonly created_by: MiniUser;
|
|
7
|
-
readonly created_at: string;
|
|
8
|
-
readonly modified_by: MiniUser;
|
|
9
|
-
readonly modified_at: string;
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MiniUser } from './MiniUser';
|
|
2
|
-
export type SearchInstanceAssignmentGroup = {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
readonly size: number;
|
|
6
|
-
readonly created_by: MiniUser;
|
|
7
|
-
readonly created_at: string;
|
|
8
|
-
readonly modified_by: MiniUser;
|
|
9
|
-
readonly modified_at: string;
|
|
10
|
-
};
|