@pitcher/js-api 1.21.0-beta.12 → 1.21.0-beta.13
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/js-api.esm.js +4 -3
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +1 -1
- package/js-api.umd.min.js.map +1 -1
- package/lib/main.lib.d.ts +1 -0
- package/lib/sdk/api/HighLevelApi.d.ts +2 -1
- package/lib/sdk/api/modules/admin/types.admin.d.ts +1 -1
- package/lib/sdk/api/modules/files.d.ts +2 -1
- package/lib/sdk/main.d.ts +6 -3
- package/package.json +1 -1
package/lib/main.lib.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ export { default as CMovableWidget } from './components/CMovableWidget/CMovableW
|
|
|
88
88
|
export { default as CUserMenu } from './components/CUserMenu/CUserMenu.vue';
|
|
89
89
|
export { default as CList } from './components/CList/CList.vue';
|
|
90
90
|
export { default as CKnockNotificationsAppWrapper } from './components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue';
|
|
91
|
+
export { default as CChip } from './components/CChip/CChip.vue';
|
|
91
92
|
export { default as CanvasBuilderApp } from '@canvas-builder/App.vue';
|
|
92
93
|
export { type CanvasBuilderProps, CanvasBuilderMode } from '@canvas-builder/types/canvas';
|
|
93
94
|
export { default as Browser } from '@browser/App.vue';
|
|
@@ -56,7 +56,8 @@ export declare function createHighLevelApi(options?: ApiOptions): {
|
|
|
56
56
|
app_name: string;
|
|
57
57
|
}): Promise<Record<string, any>>;
|
|
58
58
|
getFile(payload: {
|
|
59
|
-
|
|
59
|
+
id?: import('../../main.lib').FileRetrieve["id"];
|
|
60
|
+
file_id?: import('../../main.lib').FileRetrieve["id"];
|
|
60
61
|
}): Promise<import('../../main.lib').FileRetrieve>;
|
|
61
62
|
updateFile(payload: import('../../main.lib').FileUpdateRequest & {
|
|
62
63
|
id: import('../../main.lib').File["id"];
|
|
@@ -17,10 +17,10 @@ export declare const ADMIN_API_METHOD_TYPES: {
|
|
|
17
17
|
readonly GET_ENV: "admin_get_env";
|
|
18
18
|
readonly GET_FILE: "admin_get_file";
|
|
19
19
|
readonly GET_FILES: "admin_get_files";
|
|
20
|
-
readonly SELECT_CONTENT: "admin_select_content";
|
|
21
20
|
readonly GET_INSTANCE_METADATA_TEMPLATES: "admin_get_instance_metadata_templates";
|
|
22
21
|
readonly TOAST: "admin_toast";
|
|
23
22
|
readonly UPDATE_CANVAS: "admin_update_canvas";
|
|
23
|
+
readonly SELECT_CONTENT: "admin_select_content";
|
|
24
24
|
};
|
|
25
25
|
export type AdminMessagePayloads = {
|
|
26
26
|
[ADMIN_MESSAGE_TYPES.ENV_CHANGED]: AdminEnv;
|
|
@@ -14,7 +14,8 @@ export declare function getAppConfig(payload: {
|
|
|
14
14
|
app_name: string;
|
|
15
15
|
}): Promise<Record<string, any>>;
|
|
16
16
|
export declare function getFile(payload: {
|
|
17
|
-
|
|
17
|
+
id?: FileRetrieve['id'];
|
|
18
|
+
file_id?: FileRetrieve['id'];
|
|
18
19
|
}): Promise<FileRetrieve>;
|
|
19
20
|
export declare function updateFile(payload: FileUpdateRequest & {
|
|
20
21
|
id: File['id'];
|
package/lib/sdk/main.d.ts
CHANGED
|
@@ -125,7 +125,8 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
125
125
|
app_name: string;
|
|
126
126
|
}): Promise<Record<string, any>>;
|
|
127
127
|
getFile(payload: {
|
|
128
|
-
|
|
128
|
+
id?: import('../main.lib').FileRetrieve["id"];
|
|
129
|
+
file_id?: import('../main.lib').FileRetrieve["id"];
|
|
129
130
|
}): Promise<import('../main.lib').FileRetrieve>;
|
|
130
131
|
updateFile(payload: import('../main.lib').FileUpdateRequest & {
|
|
131
132
|
id: import('../main.lib').File["id"];
|
|
@@ -309,7 +310,8 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
309
310
|
app_name: string;
|
|
310
311
|
}): Promise<Record<string, any>>;
|
|
311
312
|
getFile(payload: {
|
|
312
|
-
|
|
313
|
+
id?: import('../main.lib').FileRetrieve["id"];
|
|
314
|
+
file_id?: import('../main.lib').FileRetrieve["id"];
|
|
313
315
|
}): Promise<import('../main.lib').FileRetrieve>;
|
|
314
316
|
updateFile(payload: import('../main.lib').FileUpdateRequest & {
|
|
315
317
|
id: import('../main.lib').File["id"];
|
|
@@ -457,7 +459,8 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
457
459
|
app_name: string;
|
|
458
460
|
}): Promise<Record<string, any>>;
|
|
459
461
|
getFile(payload: {
|
|
460
|
-
|
|
462
|
+
id?: import('../main.lib').FileRetrieve["id"];
|
|
463
|
+
file_id?: import('../main.lib').FileRetrieve["id"];
|
|
461
464
|
}): Promise<import('../main.lib').FileRetrieve>;
|
|
462
465
|
updateFile(payload: import('../main.lib').FileUpdateRequest & {
|
|
463
466
|
id: import('../main.lib').File["id"];
|