woodsportal-client-sdk 1.1.4-dev.1 → 1.1.4-dev.10
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/dist/index.d.ts +8 -1
- package/dist/index.js +228 -114
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
interface Config {
|
|
2
2
|
hubId: string;
|
|
3
3
|
devPortalId: string;
|
|
4
|
+
portalId: string;
|
|
4
5
|
}
|
|
5
6
|
interface MutationOptions<TSuccess, TError = unknown> {
|
|
6
7
|
onSuccess?: (data: TSuccess, payload: any) => void | Promise<void>;
|
|
@@ -133,6 +134,11 @@ declare function list$3(options?: MutationOptions<any, any>): {
|
|
|
133
134
|
getObjects: (payload?: any) => Promise<any>;
|
|
134
135
|
isLoading: () => boolean;
|
|
135
136
|
};
|
|
137
|
+
declare function sideBarList(options?: MutationOptions<any, any>): {
|
|
138
|
+
mutate: (payload?: any) => Promise<any>;
|
|
139
|
+
getSideBarObjects: (payload?: any) => Promise<any>;
|
|
140
|
+
isLoading: () => boolean;
|
|
141
|
+
};
|
|
136
142
|
declare function form(options?: MutationOptions<any, any>): {
|
|
137
143
|
mutate: (payload?: any) => Promise<any>;
|
|
138
144
|
getObjectsForm: (payload?: any) => Promise<any>;
|
|
@@ -282,6 +288,7 @@ declare const api: {
|
|
|
282
288
|
pipelines: typeof list$5;
|
|
283
289
|
stages: typeof list$4;
|
|
284
290
|
objects: typeof list$3;
|
|
291
|
+
sideBarObjects: typeof sideBarList;
|
|
285
292
|
objectsForm: typeof form;
|
|
286
293
|
createObject: typeof create$2;
|
|
287
294
|
createExistingObject: typeof createExisting;
|
|
@@ -334,7 +341,7 @@ declare const url: {
|
|
|
334
341
|
makeLink: (props: any) => string;
|
|
335
342
|
};
|
|
336
343
|
useUpdateLink: () => {
|
|
337
|
-
updateLink: (props: any, displayName?: string) => void
|
|
344
|
+
updateLink: (props: any, displayName?: string) => Promise<void>;
|
|
338
345
|
getLinkParams: (displayName?: string) => {
|
|
339
346
|
[k: string]: any;
|
|
340
347
|
} | null;
|