@evoke-platform/context 1.0.0-dev.116 → 1.0.0-dev.117
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/objects/objects.d.ts +13 -0
- package/package.json +1 -1
|
@@ -4,6 +4,17 @@ export type BaseObjReference = {
|
|
|
4
4
|
objectId: string;
|
|
5
5
|
discriminatorValue: unknown;
|
|
6
6
|
};
|
|
7
|
+
export type ViewLayoutEntityReference = {
|
|
8
|
+
id: string;
|
|
9
|
+
objectId: string;
|
|
10
|
+
};
|
|
11
|
+
type ViewLayoutEntity = {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
objectId: string;
|
|
15
|
+
};
|
|
16
|
+
export type TableViewLayoutEntity = ViewLayoutEntity & TableViewLayout;
|
|
17
|
+
export type DropdownViewLayoutEntity = ViewLayoutEntity & DropdownViewLayout;
|
|
7
18
|
export type ViewLayout = {
|
|
8
19
|
table?: TableViewLayout;
|
|
9
20
|
dropdown?: DropdownViewLayout;
|
|
@@ -149,6 +160,7 @@ export type DisplayConfiguration = {
|
|
|
149
160
|
mode?: 'default' | 'existingOnly';
|
|
150
161
|
relatedObjectDisplay?: 'dropdown' | 'dialogBox';
|
|
151
162
|
visibility?: VisibilityConfiguration | string;
|
|
163
|
+
viewLayout?: ViewLayoutEntityReference;
|
|
152
164
|
};
|
|
153
165
|
export type InputParameterReference = {
|
|
154
166
|
type: 'input';
|
|
@@ -312,3 +324,4 @@ export declare class ObjectStore {
|
|
|
312
324
|
instanceAction<T extends ObjectInstance = ObjectInstance>(id: string, input: ActionRequest, cb: Callback<T>): void;
|
|
313
325
|
}
|
|
314
326
|
export declare function useObject(objectId: string): ObjectStore;
|
|
327
|
+
export {};
|