@elyx-code/project-logic-tree 0.0.55 → 0.0.56
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 +0 -1
- package/dist/index.js +3047 -3042
- package/dist/index.umd.cjs +115 -115
- package/dist/tree/state/property/validation/validation-schema.d.ts +8 -8
- package/dist/tree/utils/uuid.d.ts +7 -3
- package/package.json +1 -2
- package/dist/polyfills.d.ts +0 -1
|
@@ -34,21 +34,21 @@ export declare function getPropertyBaseSchema(): z.ZodObject<{
|
|
|
34
34
|
required: z.ZodBoolean;
|
|
35
35
|
abstract: z.ZodBoolean;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
private: boolean;
|
|
38
37
|
id: string;
|
|
39
38
|
type: EntityType.Property;
|
|
40
39
|
name: string;
|
|
41
40
|
description: string | null;
|
|
42
41
|
required: boolean;
|
|
42
|
+
private: boolean;
|
|
43
43
|
static: boolean;
|
|
44
44
|
abstract: boolean;
|
|
45
45
|
}, {
|
|
46
|
-
private: boolean;
|
|
47
46
|
id: string;
|
|
48
47
|
type: EntityType.Property;
|
|
49
48
|
name: string;
|
|
50
49
|
description: string | null;
|
|
51
50
|
required: boolean;
|
|
51
|
+
private: boolean;
|
|
52
52
|
static: boolean;
|
|
53
53
|
abstract: boolean;
|
|
54
54
|
}>;
|
|
@@ -65,23 +65,23 @@ export declare function getPropertyMetaSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
65
65
|
version: z.ZodNumber;
|
|
66
66
|
index: z.ZodNumber;
|
|
67
67
|
}>, "strip", z.ZodTypeAny, {
|
|
68
|
-
private: boolean;
|
|
69
68
|
id: string;
|
|
70
69
|
type: EntityType.Property;
|
|
71
70
|
name: string;
|
|
72
71
|
description: string | null;
|
|
73
72
|
required: boolean;
|
|
73
|
+
private: boolean;
|
|
74
74
|
version: number;
|
|
75
75
|
index: number;
|
|
76
76
|
static: boolean;
|
|
77
77
|
abstract: boolean;
|
|
78
78
|
}, {
|
|
79
|
-
private: boolean;
|
|
80
79
|
id: string;
|
|
81
80
|
type: EntityType.Property;
|
|
82
81
|
name: string;
|
|
83
82
|
description: string | null;
|
|
84
83
|
required: boolean;
|
|
84
|
+
private: boolean;
|
|
85
85
|
version: number;
|
|
86
86
|
index: number;
|
|
87
87
|
static: boolean;
|
|
@@ -97,21 +97,21 @@ export declare function getPropertyGenerationTargetSchema(): z.ZodObject<z.objec
|
|
|
97
97
|
required: z.ZodBoolean;
|
|
98
98
|
abstract: z.ZodBoolean;
|
|
99
99
|
}, {}>, "strip", z.ZodTypeAny, {
|
|
100
|
-
private: boolean;
|
|
101
100
|
id: string;
|
|
102
101
|
type: EntityType.Property;
|
|
103
102
|
name: string;
|
|
104
103
|
description: string | null;
|
|
105
104
|
required: boolean;
|
|
105
|
+
private: boolean;
|
|
106
106
|
static: boolean;
|
|
107
107
|
abstract: boolean;
|
|
108
108
|
}, {
|
|
109
|
-
private: boolean;
|
|
110
109
|
id: string;
|
|
111
110
|
type: EntityType.Property;
|
|
112
111
|
name: string;
|
|
113
112
|
description: string | null;
|
|
114
113
|
required: boolean;
|
|
114
|
+
private: boolean;
|
|
115
115
|
static: boolean;
|
|
116
116
|
abstract: boolean;
|
|
117
117
|
}>;
|
|
@@ -297,7 +297,6 @@ export declare function getPropertySchema(): z.ZodObject<z.objectUtil.extendShap
|
|
|
297
297
|
entityId: string;
|
|
298
298
|
}>]>;
|
|
299
299
|
}>, "strip", z.ZodTypeAny, {
|
|
300
|
-
private: boolean;
|
|
301
300
|
id: string;
|
|
302
301
|
type: EntityType.Property;
|
|
303
302
|
name: string;
|
|
@@ -306,6 +305,7 @@ export declare function getPropertySchema(): z.ZodObject<z.objectUtil.extendShap
|
|
|
306
305
|
type: EntityType.Property;
|
|
307
306
|
} | null;
|
|
308
307
|
required: boolean;
|
|
308
|
+
private: boolean;
|
|
309
309
|
parent: {
|
|
310
310
|
id: string;
|
|
311
311
|
type: EntityType.GenericReference;
|
|
@@ -330,7 +330,6 @@ export declare function getPropertySchema(): z.ZodObject<z.objectUtil.extendShap
|
|
|
330
330
|
type: EntityType.DataType;
|
|
331
331
|
};
|
|
332
332
|
}, {
|
|
333
|
-
private: boolean;
|
|
334
333
|
id: string;
|
|
335
334
|
type: EntityType.Property;
|
|
336
335
|
name: string;
|
|
@@ -339,6 +338,7 @@ export declare function getPropertySchema(): z.ZodObject<z.objectUtil.extendShap
|
|
|
339
338
|
type: EntityType.Property;
|
|
340
339
|
} | null;
|
|
341
340
|
required: boolean;
|
|
341
|
+
private: boolean;
|
|
342
342
|
parent: {
|
|
343
343
|
id: string;
|
|
344
344
|
type: EntityType.GenericReference;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { ElementGenerationTarget, EntityType } from '../../definitions';
|
|
2
|
-
import { default as short } from 'short-uuid';
|
|
3
2
|
import { ProjectState } from '../state';
|
|
4
3
|
|
|
5
|
-
export declare
|
|
6
|
-
|
|
4
|
+
export declare class UUIDInstance {
|
|
5
|
+
static instance: any | null;
|
|
6
|
+
uuid(): any;
|
|
7
|
+
fromUUID(uuid: string): any;
|
|
8
|
+
}
|
|
9
|
+
export declare const UUID: UUIDInstance;
|
|
10
|
+
export declare function createSemanticId(entityName: string, entityType: EntityType, project: ProjectState): any;
|
|
7
11
|
export declare function suggestNewIdForEntity(generatedEntity: ElementGenerationTarget, projectState: ProjectState): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.56",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@elyx-code/definitions": "^0.0.7956",
|
|
28
|
-
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
29
28
|
"axios": "^1.6.5",
|
|
30
29
|
"short-uuid": "^5.2.0",
|
|
31
30
|
"underscore": "^1.13.7",
|
package/dist/polyfills.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|