simetra 0.0.0-stage → 0.2.0
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/LICENSE +190 -0
- package/README.md +40 -2
- package/dist/compiler/index.d.ts +2532 -0
- package/dist/compiler/index.js +38373 -0
- package/dist/model/index.d.ts +5784 -0
- package/dist/model/index.js +4818 -0
- package/dist/schema/index.d.ts +3073 -0
- package/dist/schema/index.js +12210 -0
- package/dist/server/index.d.ts +103 -0
- package/dist/server/index.js +1503 -0
- package/package.json +81 -3
- package/schemas/accumulation-registers.schema.json +996 -0
- package/schemas/catalogs.schema.json +1278 -0
- package/schemas/constants.schema.json +327 -0
- package/schemas/custom-tables.schema.json +860 -0
- package/schemas/documents.schema.json +1285 -0
- package/schemas/enumerations.schema.json +121 -0
- package/schemas/event-subscriptions.schema.json +165 -0
- package/schemas/information-registers.schema.json +1202 -0
- package/schemas/pg-enums.schema.json +81 -0
- package/schemas/project.schema.json +945 -0
- package/schemas/rights-sets.schema.json +248 -0
- package/schemas/roles.schema.json +498 -0
- package/schemas/sql-debt.schema.json +23 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"description": "Editor hint: path to the JSON Schema of this file.",
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"format": "uuid",
|
|
12
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
|
|
13
|
+
"description": "Stable lowercase UUID v4 identity of the element. Assigned by tooling at creation and never reused; a rename keeps it."
|
|
14
|
+
},
|
|
15
|
+
"name": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"pattern": "^[A-Z][A-Za-z0-9]*$",
|
|
18
|
+
"description": "Logical object name in PascalCase."
|
|
19
|
+
},
|
|
20
|
+
"physicalName": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"description": "Physical database name. Assigned once at creation and never changed, so a rename emits no DDL. At most 63 bytes in UTF-8."
|
|
24
|
+
},
|
|
25
|
+
"schema": {
|
|
26
|
+
"description": "PostgreSQL schema of the object; the project defaultSchema applies when absent.",
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"title": {
|
|
30
|
+
"description": "Human-readable title of the object.",
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"uk": {
|
|
34
|
+
"description": "Ukrainian text.",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"en": {
|
|
38
|
+
"description": "English text.",
|
|
39
|
+
"type": "string"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"additionalProperties": false
|
|
43
|
+
},
|
|
44
|
+
"description": {
|
|
45
|
+
"description": "Description of the object.",
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"uk": {
|
|
49
|
+
"description": "Ukrainian text.",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"en": {
|
|
53
|
+
"description": "English text.",
|
|
54
|
+
"type": "string"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"additionalProperties": false
|
|
58
|
+
},
|
|
59
|
+
"kind": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"const": "PgEnum",
|
|
62
|
+
"description": "Metadata kind; always PgEnum."
|
|
63
|
+
},
|
|
64
|
+
"values": {
|
|
65
|
+
"minItems": 1,
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"minLength": 1
|
|
70
|
+
},
|
|
71
|
+
"description": "Physical enum labels in database order; duplicates are not allowed."
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": [
|
|
75
|
+
"name",
|
|
76
|
+
"kind",
|
|
77
|
+
"values"
|
|
78
|
+
],
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"$id": "pg-enums.schema.json"
|
|
81
|
+
}
|