@antelopejs/dms 0.22.1 → 0.22.2-next.1023.gd4e59bf
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/implementations/dms-builder/engine/cell-displays.js +2 -2
- package/dist/implementations/dms-builder/engine/cell-displays.js.map +1 -1
- package/dist/implementations/dms-builder/engine/column-groups.d.ts +5 -12
- package/dist/implementations/dms-builder/engine/connection-access-config.js +3 -1
- package/dist/implementations/dms-builder/engine/connection-access-config.js.map +1 -1
- package/dist/implementations/dms-builder/engine/database-access.js +2 -2
- package/dist/implementations/dms-builder/engine/database-access.js.map +1 -1
- package/dist/implementations/dms-builder/engine/database-check-input.d.ts +8 -15
- package/dist/implementations/dms-builder/engine/driver-probe.d.ts +3 -11
- package/dist/implementations/dms-builder/engine/driver-probe.js +4 -4
- package/dist/implementations/dms-builder/engine/driver-probe.js.map +1 -1
- package/dist/implementations/dms-builder/engine/probe-answer.d.ts +17 -34
- package/dist/implementations/dms-builder/engine/probe-child.js +12 -10
- package/dist/implementations/dms-builder/engine/probe-child.js.map +1 -1
- package/dist/implementations/dms-builder/engine/probe-protocol.d.ts +7 -33
- package/dist/implementations/dms-builder/engine/probe-protocol.js +1 -1
- package/dist/implementations/dms-builder/engine/probe-protocol.js.map +1 -1
- package/dist/implementations/dms-builder/engine/theme-draft.js +3 -3
- package/dist/implementations/dms-builder/engine/theme-draft.js.map +1 -1
- package/dist/mcp/access.d.ts +4 -1
- package/dist/mcp/bridge.d.ts +3 -1
- package/dist/mcp/hidden-values.d.ts +1 -1
- package/dist/mcp/hidden-values.js.map +1 -1
- package/dist/mcp/json.d.ts +1 -1
- package/dist/mcp/page-verify/page-probe.d.ts +7 -123
- package/dist/mcp/page-verify/playwright.d.ts +7 -23
- package/dist/mcp/page-verify/render.js +3 -1
- package/dist/mcp/page-verify/render.js.map +1 -1
- package/dist/mcp/redact.js.map +1 -1
- package/dist/mcp/tool.d.ts +1 -1
- package/dist/mcp/tool.js +15 -2
- package/dist/mcp/tool.js.map +1 -1
- package/dist/mcp/tools/builder-queries.d.ts +8 -3
- package/dist/mcp/tools/builder-resources.d.ts +2 -8
- package/dist/mcp/tools/builder-resources.js +1 -1
- package/dist/mcp/tools/builder-resources.js.map +1 -1
- package/dist/mcp/tools/builder-shared.d.ts +1 -1
- package/dist/mcp/tools/builder-shared.js.map +1 -1
- package/dist/mcp/tools/builder-table-view.d.ts +65 -211
- package/dist/mcp/tools/json-patch.d.ts +10 -56
- package/dist/mcp/tools/mockup-support.d.ts +2 -2
- package/dist/mcp/tools/theme-schemas.d.ts +19 -173
- package/dist/mockup/anchor.d.ts +7 -31
- package/dist/mockup/anchor.js.map +1 -1
- package/dist/mockup/annotations-file.d.ts +15 -73
- package/dist/mockup/annotations.d.ts +11 -101
- package/dist/mockup/apply-to-page.js +4 -1
- package/dist/mockup/apply-to-page.js.map +1 -1
- package/dist/mockup/controller-blocks.js +3 -3
- package/dist/mockup/controller-blocks.js.map +1 -1
- package/dist/mockup/files.d.ts +1 -5
- package/dist/mockup/fixtures.d.ts +11 -19
- package/dist/mockup/generate.d.ts +4 -56
- package/dist/mockup/generate.js +1 -1
- package/dist/mockup/generate.js.map +1 -1
- package/dist/mockup/history.d.ts +9 -21
- package/dist/mockup/model.d.ts +103 -772
- package/dist/mockup/model.js +2 -2
- package/dist/mockup/model.js.map +1 -1
- package/dist/mockup/presence.d.ts +1 -1
- package/dist/mockup/table-columns.d.ts +1 -25
- package/dist/mockup/table-columns.js +2 -2
- package/dist/mockup/table-columns.js.map +1 -1
- package/dist/mockup/table-options.d.ts +62 -399
- package/dist/pages/settings/users/profile.d.ts +2 -9
- package/dist/routes/auth/oauth/providers.js.map +1 -1
- package/dist/routes/auth/switch-tenant.d.ts +1 -7
- package/dist/store/catalog.d.ts +3 -9
- package/dist/store/catalog.js +1 -1
- package/dist/store/catalog.js.map +1 -1
- package/dist/store/interfaces.js +10 -4
- package/dist/store/interfaces.js.map +1 -1
- package/dist/store/internal/frontend/frontend-ready.d.ts +2 -20
- package/dist/store/runtime.d.ts +1 -7
- package/dist/validation/account-deletion.schema.d.ts +1 -7
- package/dist/validation/auth.schema.d.ts +26 -121
- package/dist/validation/file.schema.d.ts +4 -20
- package/dist/validation/member-invite.schema.d.ts +4 -36
- package/dist/validation/member-ownership.schema.d.ts +1 -5
- package/dist/validation/onboarding/register-admin.schema.d.ts +6 -22
- package/dist/validation/regional-preferences.schema.d.ts +11 -17
- package/dist/validation/role-editor.schema.d.ts +6 -28
- package/dist/validation/security.schema.d.ts +4 -24
- package/dist/validation/store.schema.d.ts +3 -30
- package/dist/validation/store.schema.js +1 -1
- package/dist/validation/store.schema.js.map +1 -1
- package/dist/validation/user-notification-preferences.schema.d.ts +1 -1
- package/frontend-vue/layers/dms-core/app/build/composables/api-error.ts +4 -1
- package/frontend-vue/layers/dms-core/app/composables/useFieldErrors.ts +21 -12
- package/frontend-vue/layers/dms-core/app/composables/useFormValidation.ts +6 -6
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formComponentValidation.ts +4 -4
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formValidation.ts +9 -8
- package/frontend-vue/package.json +2 -3
- package/package.json +5 -6
|
@@ -5,443 +5,106 @@ import { serializeTableViewViews } from "@antelopejs/interface-dms/base/table-vi
|
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import type { MockupIssue } from "./model";
|
|
7
7
|
import { type SpecColumn } from "./table-columns";
|
|
8
|
-
export declare const strictTabsSchema: z.ZodArray<z.
|
|
8
|
+
export declare const strictTabsSchema: z.ZodArray<z.ZodObject<{
|
|
9
9
|
id: z.ZodString;
|
|
10
10
|
label: z.ZodString;
|
|
11
11
|
filter: z.ZodOptional<z.ZodObject<{
|
|
12
12
|
accessorKey: z.ZodString;
|
|
13
13
|
value: z.ZodOptional<z.ZodString>;
|
|
14
14
|
mode: z.ZodString;
|
|
15
|
-
},
|
|
16
|
-
accessorKey: string;
|
|
17
|
-
value?: string | undefined;
|
|
18
|
-
mode: string;
|
|
19
|
-
}, {
|
|
20
|
-
accessorKey: string;
|
|
21
|
-
value?: string | undefined;
|
|
22
|
-
mode: string;
|
|
23
|
-
}>>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
24
16
|
icon: z.ZodOptional<z.ZodString>;
|
|
25
|
-
textColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, z.
|
|
26
|
-
iconColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, z.
|
|
27
|
-
to: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, z.
|
|
17
|
+
textColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, import("@antelopejs/interface-dms/base").ColorValue, z.core.$ZodTypeInternals<import("@antelopejs/interface-dms/base").ColorValue, import("@antelopejs/interface-dms/base").ColorValue>>>;
|
|
18
|
+
iconColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, import("@antelopejs/interface-dms/base").ColorValue, z.core.$ZodTypeInternals<import("@antelopejs/interface-dms/base").ColorValue, import("@antelopejs/interface-dms/base").ColorValue>>>;
|
|
19
|
+
to: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, string | import("@antelopejs/interface-api").ControllerClass | undefined, z.core.$ZodTypeInternals<string | import("@antelopejs/interface-api").ControllerClass | undefined, string | import("@antelopejs/interface-api").ControllerClass | undefined>>>;
|
|
28
20
|
permission: z.ZodOptional<z.ZodString>;
|
|
29
21
|
permissionId: z.ZodOptional<z.ZodString>;
|
|
30
|
-
countFrom: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, z.
|
|
31
|
-
navBadge: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
32
|
-
tone: z.ZodOptional<z.ZodEnum<
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
value: z.ZodOptional<z.ZodString>;
|
|
44
|
-
mode: z.ZodString;
|
|
45
|
-
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
accessorKey: string;
|
|
47
|
-
value?: string | undefined;
|
|
48
|
-
mode: string;
|
|
49
|
-
}, {
|
|
50
|
-
accessorKey: string;
|
|
51
|
-
value?: string | undefined;
|
|
52
|
-
mode: string;
|
|
53
|
-
}>>;
|
|
54
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
55
|
-
textColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, z.ZodTypeDef, import("@antelopejs/interface-dms/base").ColorValue>>;
|
|
56
|
-
iconColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, z.ZodTypeDef, import("@antelopejs/interface-dms/base").ColorValue>>;
|
|
57
|
-
to: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, z.ZodTypeDef, string | import("@antelopejs/interface-api").ControllerClass | undefined>>;
|
|
58
|
-
permission: z.ZodOptional<z.ZodString>;
|
|
59
|
-
permissionId: z.ZodOptional<z.ZodString>;
|
|
60
|
-
countFrom: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, z.ZodTypeDef, string | import("@antelopejs/interface-api").ControllerClass | undefined>>;
|
|
61
|
-
navBadge: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
62
|
-
tone: z.ZodOptional<z.ZodEnum<["error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning", ...("error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning")[]]>>;
|
|
63
|
-
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
65
|
-
}, {
|
|
66
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
67
|
-
}>]>>;
|
|
68
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
69
|
-
id: z.ZodString;
|
|
70
|
-
label: z.ZodString;
|
|
71
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
accessorKey: z.ZodString;
|
|
73
|
-
value: z.ZodOptional<z.ZodString>;
|
|
74
|
-
mode: z.ZodString;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
accessorKey: string;
|
|
77
|
-
value?: string | undefined;
|
|
78
|
-
mode: string;
|
|
79
|
-
}, {
|
|
80
|
-
accessorKey: string;
|
|
81
|
-
value?: string | undefined;
|
|
82
|
-
mode: string;
|
|
83
|
-
}>>;
|
|
84
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
85
|
-
textColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, z.ZodTypeDef, import("@antelopejs/interface-dms/base").ColorValue>>;
|
|
86
|
-
iconColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, z.ZodTypeDef, import("@antelopejs/interface-dms/base").ColorValue>>;
|
|
87
|
-
to: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, z.ZodTypeDef, string | import("@antelopejs/interface-api").ControllerClass | undefined>>;
|
|
88
|
-
permission: z.ZodOptional<z.ZodString>;
|
|
89
|
-
permissionId: z.ZodOptional<z.ZodString>;
|
|
90
|
-
countFrom: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, z.ZodTypeDef, string | import("@antelopejs/interface-api").ControllerClass | undefined>>;
|
|
91
|
-
navBadge: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
92
|
-
tone: z.ZodOptional<z.ZodEnum<["error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning", ...("error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning")[]]>>;
|
|
93
|
-
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
95
|
-
}, {
|
|
96
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
97
|
-
}>]>>;
|
|
98
|
-
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
99
|
-
id: z.ZodString;
|
|
100
|
-
label: z.ZodString;
|
|
101
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
102
|
-
accessorKey: z.ZodString;
|
|
103
|
-
value: z.ZodOptional<z.ZodString>;
|
|
104
|
-
mode: z.ZodString;
|
|
105
|
-
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
accessorKey: string;
|
|
107
|
-
value?: string | undefined;
|
|
108
|
-
mode: string;
|
|
109
|
-
}, {
|
|
110
|
-
accessorKey: string;
|
|
111
|
-
value?: string | undefined;
|
|
112
|
-
mode: string;
|
|
113
|
-
}>>;
|
|
114
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
115
|
-
textColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, z.ZodTypeDef, import("@antelopejs/interface-dms/base").ColorValue>>;
|
|
116
|
-
iconColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, z.ZodTypeDef, import("@antelopejs/interface-dms/base").ColorValue>>;
|
|
117
|
-
to: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, z.ZodTypeDef, string | import("@antelopejs/interface-api").ControllerClass | undefined>>;
|
|
118
|
-
permission: z.ZodOptional<z.ZodString>;
|
|
119
|
-
permissionId: z.ZodOptional<z.ZodString>;
|
|
120
|
-
countFrom: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, z.ZodTypeDef, string | import("@antelopejs/interface-api").ControllerClass | undefined>>;
|
|
121
|
-
navBadge: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
122
|
-
tone: z.ZodOptional<z.ZodEnum<["error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning", ...("error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning")[]]>>;
|
|
123
|
-
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
125
|
-
}, {
|
|
126
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
127
|
-
}>]>>;
|
|
128
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
129
|
-
id: z.ZodString;
|
|
130
|
-
label: z.ZodString;
|
|
131
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
132
|
-
accessorKey: z.ZodString;
|
|
133
|
-
value: z.ZodOptional<z.ZodString>;
|
|
134
|
-
mode: z.ZodString;
|
|
135
|
-
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
accessorKey: string;
|
|
137
|
-
value?: string | undefined;
|
|
138
|
-
mode: string;
|
|
139
|
-
}, {
|
|
140
|
-
accessorKey: string;
|
|
141
|
-
value?: string | undefined;
|
|
142
|
-
mode: string;
|
|
143
|
-
}>>;
|
|
144
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
145
|
-
textColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, z.ZodTypeDef, import("@antelopejs/interface-dms/base").ColorValue>>;
|
|
146
|
-
iconColor: z.ZodOptional<z.ZodType<import("@antelopejs/interface-dms/base").ColorValue, z.ZodTypeDef, import("@antelopejs/interface-dms/base").ColorValue>>;
|
|
147
|
-
to: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, z.ZodTypeDef, string | import("@antelopejs/interface-api").ControllerClass | undefined>>;
|
|
148
|
-
permission: z.ZodOptional<z.ZodString>;
|
|
149
|
-
permissionId: z.ZodOptional<z.ZodString>;
|
|
150
|
-
countFrom: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, z.ZodTypeDef, string | import("@antelopejs/interface-api").ControllerClass | undefined>>;
|
|
151
|
-
navBadge: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
152
|
-
tone: z.ZodOptional<z.ZodEnum<["error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning", ...("error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning")[]]>>;
|
|
153
|
-
}, "strip", z.ZodTypeAny, {
|
|
154
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
155
|
-
}, {
|
|
156
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
157
|
-
}>]>>;
|
|
158
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
22
|
+
countFrom: z.ZodOptional<z.ZodType<string | import("@antelopejs/interface-api").ControllerClass | undefined, string | import("@antelopejs/interface-api").ControllerClass | undefined, z.core.$ZodTypeInternals<string | import("@antelopejs/interface-api").ControllerClass | undefined, string | import("@antelopejs/interface-api").ControllerClass | undefined>>>;
|
|
23
|
+
navBadge: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
24
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
error: "error";
|
|
26
|
+
info: "info";
|
|
27
|
+
neutral: "neutral";
|
|
28
|
+
primary: "primary";
|
|
29
|
+
secondary: "secondary";
|
|
30
|
+
success: "success";
|
|
31
|
+
warning: "warning";
|
|
32
|
+
}>>;
|
|
33
|
+
}, z.core.$strip>]>>;
|
|
34
|
+
}, z.core.$loose>>;
|
|
159
35
|
export declare const tableOptionsSchema: z.ZodObject<{
|
|
160
36
|
kanban: z.ZodOptional<z.ZodObject<{
|
|
161
37
|
groupByField: z.ZodString;
|
|
162
38
|
draggable: z.ZodDefault<z.ZodBoolean>;
|
|
163
39
|
columnMaxHeight: z.ZodDefault<z.ZodString>;
|
|
164
|
-
},
|
|
165
|
-
groupByField: string;
|
|
166
|
-
draggable: boolean;
|
|
167
|
-
columnMaxHeight: string;
|
|
168
|
-
}, {
|
|
169
|
-
groupByField: string;
|
|
170
|
-
draggable?: boolean | undefined;
|
|
171
|
-
columnMaxHeight?: string | undefined;
|
|
172
|
-
}>>;
|
|
40
|
+
}, z.core.$strict>>;
|
|
173
41
|
grouped: z.ZodOptional<z.ZodObject<{
|
|
174
42
|
groupByField: z.ZodString;
|
|
175
|
-
by: z.ZodOptional<z.ZodEnum<
|
|
43
|
+
by: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
day: "day";
|
|
45
|
+
value: "value";
|
|
46
|
+
week: "week";
|
|
47
|
+
}>>;
|
|
176
48
|
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
177
49
|
count: z.ZodOptional<z.ZodBoolean>;
|
|
178
|
-
},
|
|
179
|
-
groupByField: string;
|
|
180
|
-
by?: "day" | "value" | "week" | undefined;
|
|
181
|
-
collapsible?: boolean | undefined;
|
|
182
|
-
count?: boolean | undefined;
|
|
183
|
-
}, {
|
|
184
|
-
groupByField: string;
|
|
185
|
-
by?: "day" | "value" | "week" | undefined;
|
|
186
|
-
collapsible?: boolean | undefined;
|
|
187
|
-
count?: boolean | undefined;
|
|
188
|
-
}>>;
|
|
50
|
+
}, z.core.$strict>>;
|
|
189
51
|
views: z.ZodOptional<z.ZodObject<{
|
|
190
52
|
items: z.ZodArray<z.ZodObject<{
|
|
191
53
|
id: z.ZodString;
|
|
192
54
|
label: z.ZodString;
|
|
193
55
|
icon: z.ZodOptional<z.ZodString>;
|
|
194
|
-
tone: z.ZodOptional<z.ZodEnum<
|
|
195
|
-
|
|
56
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
57
|
+
error: "error";
|
|
58
|
+
info: "info";
|
|
59
|
+
neutral: "neutral";
|
|
60
|
+
primary: "primary";
|
|
61
|
+
secondary: "secondary";
|
|
62
|
+
success: "success";
|
|
63
|
+
warning: "warning";
|
|
64
|
+
}>>;
|
|
65
|
+
dot: z.ZodOptional<z.ZodEnum<{
|
|
66
|
+
error: "error";
|
|
67
|
+
info: "info";
|
|
68
|
+
neutral: "neutral";
|
|
69
|
+
primary: "primary";
|
|
70
|
+
secondary: "secondary";
|
|
71
|
+
success: "success";
|
|
72
|
+
warning: "warning";
|
|
73
|
+
}>>;
|
|
196
74
|
count: z.ZodOptional<z.ZodBoolean>;
|
|
197
75
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
198
76
|
accessorKey: z.ZodString;
|
|
199
77
|
value: z.ZodOptional<z.ZodString>;
|
|
200
78
|
mode: z.ZodString;
|
|
201
|
-
},
|
|
202
|
-
accessorKey: string;
|
|
203
|
-
value?: string | undefined;
|
|
204
|
-
mode: string;
|
|
205
|
-
}, {
|
|
206
|
-
accessorKey: string;
|
|
207
|
-
value?: string | undefined;
|
|
208
|
-
mode: string;
|
|
209
|
-
}>, "many">>;
|
|
79
|
+
}, z.core.$strict>>>;
|
|
210
80
|
search: z.ZodOptional<z.ZodString>;
|
|
211
81
|
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
212
82
|
field: z.ZodString;
|
|
213
83
|
desc: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
-
},
|
|
215
|
-
field: string;
|
|
216
|
-
desc?: boolean | undefined;
|
|
217
|
-
}, {
|
|
218
|
-
field: string;
|
|
219
|
-
desc?: boolean | undefined;
|
|
220
|
-
}>, "many">>;
|
|
84
|
+
}, z.core.$strict>>>;
|
|
221
85
|
columns: z.ZodOptional<z.ZodObject<{
|
|
222
|
-
visible: z.ZodOptional<z.ZodArray<z.ZodString
|
|
223
|
-
hidden: z.ZodOptional<z.ZodArray<z.ZodString
|
|
224
|
-
order: z.ZodOptional<z.ZodArray<z.ZodString
|
|
225
|
-
},
|
|
226
|
-
visible?: string[] | undefined;
|
|
227
|
-
hidden?: string[] | undefined;
|
|
228
|
-
order?: string[] | undefined;
|
|
229
|
-
}, {
|
|
230
|
-
visible?: string[] | undefined;
|
|
231
|
-
hidden?: string[] | undefined;
|
|
232
|
-
order?: string[] | undefined;
|
|
233
|
-
}>>;
|
|
86
|
+
visible: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
|
+
hidden: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
88
|
+
order: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
|
+
}, z.core.$strict>>;
|
|
234
90
|
display: z.ZodOptional<z.ZodString>;
|
|
235
|
-
density: z.ZodOptional<z.ZodEnum<
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
value?: string | undefined;
|
|
246
|
-
mode: string;
|
|
247
|
-
}[] | undefined;
|
|
248
|
-
search?: string | undefined;
|
|
249
|
-
sort?: {
|
|
250
|
-
field: string;
|
|
251
|
-
desc?: boolean | undefined;
|
|
252
|
-
}[] | undefined;
|
|
253
|
-
columns?: {
|
|
254
|
-
visible?: string[] | undefined;
|
|
255
|
-
hidden?: string[] | undefined;
|
|
256
|
-
order?: string[] | undefined;
|
|
257
|
-
} | undefined;
|
|
258
|
-
display?: string | undefined;
|
|
259
|
-
density?: "compact" | "default" | undefined;
|
|
260
|
-
}, {
|
|
261
|
-
id: string;
|
|
262
|
-
label: string;
|
|
263
|
-
icon?: string | undefined;
|
|
264
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
265
|
-
dot?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
266
|
-
count?: boolean | undefined;
|
|
267
|
-
filters?: {
|
|
268
|
-
accessorKey: string;
|
|
269
|
-
value?: string | undefined;
|
|
270
|
-
mode: string;
|
|
271
|
-
}[] | undefined;
|
|
272
|
-
search?: string | undefined;
|
|
273
|
-
sort?: {
|
|
274
|
-
field: string;
|
|
275
|
-
desc?: boolean | undefined;
|
|
276
|
-
}[] | undefined;
|
|
277
|
-
columns?: {
|
|
278
|
-
visible?: string[] | undefined;
|
|
279
|
-
hidden?: string[] | undefined;
|
|
280
|
-
order?: string[] | undefined;
|
|
281
|
-
} | undefined;
|
|
282
|
-
display?: string | undefined;
|
|
283
|
-
density?: "compact" | "default" | undefined;
|
|
284
|
-
}>, "many">;
|
|
285
|
-
layout: z.ZodOptional<z.ZodEnum<["tabs", "strip", "menu"]>>;
|
|
91
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
compact: "compact";
|
|
93
|
+
default: "default";
|
|
94
|
+
}>>;
|
|
95
|
+
}, z.core.$strict>>;
|
|
96
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
97
|
+
menu: "menu";
|
|
98
|
+
strip: "strip";
|
|
99
|
+
tabs: "tabs";
|
|
100
|
+
}>>;
|
|
286
101
|
defaultView: z.ZodOptional<z.ZodString>;
|
|
287
102
|
userViews: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
-
},
|
|
289
|
-
items: {
|
|
290
|
-
id: string;
|
|
291
|
-
label: string;
|
|
292
|
-
icon?: string | undefined;
|
|
293
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
294
|
-
dot?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
295
|
-
count?: boolean | undefined;
|
|
296
|
-
filters?: {
|
|
297
|
-
accessorKey: string;
|
|
298
|
-
value?: string | undefined;
|
|
299
|
-
mode: string;
|
|
300
|
-
}[] | undefined;
|
|
301
|
-
search?: string | undefined;
|
|
302
|
-
sort?: {
|
|
303
|
-
field: string;
|
|
304
|
-
desc?: boolean | undefined;
|
|
305
|
-
}[] | undefined;
|
|
306
|
-
columns?: {
|
|
307
|
-
visible?: string[] | undefined;
|
|
308
|
-
hidden?: string[] | undefined;
|
|
309
|
-
order?: string[] | undefined;
|
|
310
|
-
} | undefined;
|
|
311
|
-
display?: string | undefined;
|
|
312
|
-
density?: "compact" | "default" | undefined;
|
|
313
|
-
}[];
|
|
314
|
-
layout?: "menu" | "strip" | "tabs" | undefined;
|
|
315
|
-
defaultView?: string | undefined;
|
|
316
|
-
userViews?: boolean | undefined;
|
|
317
|
-
}, {
|
|
318
|
-
items: {
|
|
319
|
-
id: string;
|
|
320
|
-
label: string;
|
|
321
|
-
icon?: string | undefined;
|
|
322
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
323
|
-
dot?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
324
|
-
count?: boolean | undefined;
|
|
325
|
-
filters?: {
|
|
326
|
-
accessorKey: string;
|
|
327
|
-
value?: string | undefined;
|
|
328
|
-
mode: string;
|
|
329
|
-
}[] | undefined;
|
|
330
|
-
search?: string | undefined;
|
|
331
|
-
sort?: {
|
|
332
|
-
field: string;
|
|
333
|
-
desc?: boolean | undefined;
|
|
334
|
-
}[] | undefined;
|
|
335
|
-
columns?: {
|
|
336
|
-
visible?: string[] | undefined;
|
|
337
|
-
hidden?: string[] | undefined;
|
|
338
|
-
order?: string[] | undefined;
|
|
339
|
-
} | undefined;
|
|
340
|
-
display?: string | undefined;
|
|
341
|
-
density?: "compact" | "default" | undefined;
|
|
342
|
-
}[];
|
|
343
|
-
layout?: "menu" | "strip" | "tabs" | undefined;
|
|
344
|
-
defaultView?: string | undefined;
|
|
345
|
-
userViews?: boolean | undefined;
|
|
346
|
-
}>>;
|
|
103
|
+
}, z.core.$strict>>;
|
|
347
104
|
tabsFrom: z.ZodOptional<z.ZodObject<{
|
|
348
105
|
column: z.ZodString;
|
|
349
|
-
},
|
|
350
|
-
|
|
351
|
-
}, {
|
|
352
|
-
column: string;
|
|
353
|
-
}>>;
|
|
354
|
-
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
kanban?: {
|
|
356
|
-
groupByField: string;
|
|
357
|
-
draggable: boolean;
|
|
358
|
-
columnMaxHeight: string;
|
|
359
|
-
} | undefined;
|
|
360
|
-
grouped?: {
|
|
361
|
-
groupByField: string;
|
|
362
|
-
by?: "day" | "value" | "week" | undefined;
|
|
363
|
-
collapsible?: boolean | undefined;
|
|
364
|
-
count?: boolean | undefined;
|
|
365
|
-
} | undefined;
|
|
366
|
-
views?: {
|
|
367
|
-
items: {
|
|
368
|
-
id: string;
|
|
369
|
-
label: string;
|
|
370
|
-
icon?: string | undefined;
|
|
371
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
372
|
-
dot?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
373
|
-
count?: boolean | undefined;
|
|
374
|
-
filters?: {
|
|
375
|
-
accessorKey: string;
|
|
376
|
-
value?: string | undefined;
|
|
377
|
-
mode: string;
|
|
378
|
-
}[] | undefined;
|
|
379
|
-
search?: string | undefined;
|
|
380
|
-
sort?: {
|
|
381
|
-
field: string;
|
|
382
|
-
desc?: boolean | undefined;
|
|
383
|
-
}[] | undefined;
|
|
384
|
-
columns?: {
|
|
385
|
-
visible?: string[] | undefined;
|
|
386
|
-
hidden?: string[] | undefined;
|
|
387
|
-
order?: string[] | undefined;
|
|
388
|
-
} | undefined;
|
|
389
|
-
display?: string | undefined;
|
|
390
|
-
density?: "compact" | "default" | undefined;
|
|
391
|
-
}[];
|
|
392
|
-
layout?: "menu" | "strip" | "tabs" | undefined;
|
|
393
|
-
defaultView?: string | undefined;
|
|
394
|
-
userViews?: boolean | undefined;
|
|
395
|
-
} | undefined;
|
|
396
|
-
tabsFrom?: {
|
|
397
|
-
column: string;
|
|
398
|
-
} | undefined;
|
|
399
|
-
}, {
|
|
400
|
-
kanban?: {
|
|
401
|
-
groupByField: string;
|
|
402
|
-
draggable?: boolean | undefined;
|
|
403
|
-
columnMaxHeight?: string | undefined;
|
|
404
|
-
} | undefined;
|
|
405
|
-
grouped?: {
|
|
406
|
-
groupByField: string;
|
|
407
|
-
by?: "day" | "value" | "week" | undefined;
|
|
408
|
-
collapsible?: boolean | undefined;
|
|
409
|
-
count?: boolean | undefined;
|
|
410
|
-
} | undefined;
|
|
411
|
-
views?: {
|
|
412
|
-
items: {
|
|
413
|
-
id: string;
|
|
414
|
-
label: string;
|
|
415
|
-
icon?: string | undefined;
|
|
416
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
417
|
-
dot?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
418
|
-
count?: boolean | undefined;
|
|
419
|
-
filters?: {
|
|
420
|
-
accessorKey: string;
|
|
421
|
-
value?: string | undefined;
|
|
422
|
-
mode: string;
|
|
423
|
-
}[] | undefined;
|
|
424
|
-
search?: string | undefined;
|
|
425
|
-
sort?: {
|
|
426
|
-
field: string;
|
|
427
|
-
desc?: boolean | undefined;
|
|
428
|
-
}[] | undefined;
|
|
429
|
-
columns?: {
|
|
430
|
-
visible?: string[] | undefined;
|
|
431
|
-
hidden?: string[] | undefined;
|
|
432
|
-
order?: string[] | undefined;
|
|
433
|
-
} | undefined;
|
|
434
|
-
display?: string | undefined;
|
|
435
|
-
density?: "compact" | "default" | undefined;
|
|
436
|
-
}[];
|
|
437
|
-
layout?: "menu" | "strip" | "tabs" | undefined;
|
|
438
|
-
defaultView?: string | undefined;
|
|
439
|
-
userViews?: boolean | undefined;
|
|
440
|
-
} | undefined;
|
|
441
|
-
tabsFrom?: {
|
|
442
|
-
column: string;
|
|
443
|
-
} | undefined;
|
|
444
|
-
}>;
|
|
106
|
+
}, z.core.$strict>>;
|
|
107
|
+
}, z.core.$strip>;
|
|
445
108
|
export declare function describeTableOptions(): Record<string, BlockOptionSchema>;
|
|
446
109
|
export type TableOptions = z.infer<typeof tableOptionsSchema> & Pick<TableViewSourceOptions, "displays" | "card" | "tabs" | "defaultDisplay" | "mobileDisplay">;
|
|
447
110
|
type SerializedOptions = Pick<TableViewOptions, "defaultDisplay" | "mobileDisplay"> & {
|
|
@@ -12,16 +12,9 @@ declare const ProfileSettingsController_base: {
|
|
|
12
12
|
export declare class ProfileSettingsController extends ProfileSettingsController_base {
|
|
13
13
|
static profileComponent: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").SectionProps>;
|
|
14
14
|
static updateProfileSchema: z.ZodObject<{
|
|
15
|
-
[x: string]: z.ZodTypeAny
|
|
16
|
-
} & {
|
|
15
|
+
[x: string]: z.ZodTypeAny<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
17
16
|
language: z.ZodOptional<z.ZodString>;
|
|
18
|
-
}, z.
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
language?: unknown;
|
|
21
|
-
}, {
|
|
22
|
-
[x: string]: any;
|
|
23
|
-
language?: unknown;
|
|
24
|
-
}>;
|
|
17
|
+
}, z.core.$strip>;
|
|
25
18
|
static securityComponent: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").SectionProps>;
|
|
26
19
|
static preferencesComponent: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").SectionProps>;
|
|
27
20
|
static accountDataComponent: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").SectionProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../../../../src/routes/auth/oauth/providers.ts"],"names":[],"mappings":";;;AAAA,uEAAwD;AACxD,6BAAwB;AACxB,oFAA+E;AAE/E,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,4BAA4B,GAAG,kCAAkC,CAAC;AACxE,MAAM,yBAAyB,GAAG,+BAA+B,CAAC;AAClE,MAAM,0BAA0B,GAAG,gCAAgC,CAAC;AAEpE,MAAM,cAAc,GAAG,wBAAwB,CAAC;AAChD,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AAC3C,MAAM,c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refreshToken: z.ZodString;
|
|
6
6
|
tenantId: z.ZodString;
|
|
7
|
-
},
|
|
8
|
-
refreshToken: string;
|
|
9
|
-
tenantId: string;
|
|
10
|
-
}, {
|
|
11
|
-
refreshToken: string;
|
|
12
|
-
tenantId: string;
|
|
13
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
14
8
|
export declare function switchTenant(userModel: UserModel, sessionModel: SessionModel, body: ReturnType<typeof switchTenantSchema.parse>): Promise<AuthResponse>;
|
package/dist/store/catalog.d.ts
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { StoreCatalogEntry } from "./types";
|
|
3
3
|
declare const CatalogDocumentSchema: z.ZodObject<{
|
|
4
|
-
version: z.ZodUnknown
|
|
5
|
-
modules: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown
|
|
6
|
-
},
|
|
7
|
-
version?: unknown;
|
|
8
|
-
modules?: unknown[] | null | undefined;
|
|
9
|
-
}, {
|
|
10
|
-
version?: unknown;
|
|
11
|
-
modules?: unknown[] | null | undefined;
|
|
12
|
-
}>;
|
|
4
|
+
version: z.ZodOptional<z.ZodUnknown>;
|
|
5
|
+
modules: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
13
7
|
type CatalogDocument = z.infer<typeof CatalogDocumentSchema>;
|
|
14
8
|
export declare function readCatalogDocument(catalog: CatalogDocument | null): StoreCatalogEntry[];
|
|
15
9
|
export declare function bundledCatalog(): StoreCatalogEntry[];
|
package/dist/store/catalog.js
CHANGED
|
@@ -25,7 +25,7 @@ const CatalogEntrySchema = zod_1.z
|
|
|
25
25
|
})
|
|
26
26
|
.passthrough();
|
|
27
27
|
const CatalogDocumentSchema = zod_1.z.object({
|
|
28
|
-
version: zod_1.z.unknown(),
|
|
28
|
+
version: zod_1.z.unknown().optional(),
|
|
29
29
|
modules: zod_1.z.array(zod_1.z.unknown()).nullish(),
|
|
30
30
|
});
|
|
31
31
|
let cachedRemote;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../src/store/catalog.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qCAAuC;AACvC,0DAA6B;AAC7B,gEAA6D;AAC7D,6BAAwB;AACxB,sCAA2C;AAG3C,MAAM,oBAAoB,GAAG,mBAAI,CAAC,IAAI,CACpC,SAAS,EACT,sCAAsC,CACvC,CAAC;AACF,MAAM,cAAc,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AACtC,MAAM,wBAAwB,GAAG,MAAM,CAAC;AACxC,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAQpC,MAAM,kBAAkB,GAAG,OAAC;KACzB,MAAM,CAAC;IACN,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;CACrB,CAAC;KACD,WAAW,EAAE,CAAC;AAEjB,MAAM,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../src/store/catalog.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qCAAuC;AACvC,0DAA6B;AAC7B,gEAA6D;AAC7D,6BAAwB;AACxB,sCAA2C;AAG3C,MAAM,oBAAoB,GAAG,mBAAI,CAAC,IAAI,CACpC,SAAS,EACT,sCAAsC,CACvC,CAAC;AACF,MAAM,cAAc,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AACtC,MAAM,wBAAwB,GAAG,MAAM,CAAC;AACxC,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAQpC,MAAM,kBAAkB,GAAG,OAAC;KACzB,MAAM,CAAC;I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gBAAgB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AACrE,CAAC"}
|
package/dist/store/interfaces.js
CHANGED
|
@@ -26,7 +26,10 @@ const LIFETIMES = { found: HOUR_MS, failed: FAILED_LOOKUP_MS };
|
|
|
26
26
|
const INTERFACE_NAME_PATTERN = /(^|\/)interface-/;
|
|
27
27
|
const TextSchema = zod_1.z.string().optional().catch(undefined);
|
|
28
28
|
const RegistryManifestSchema = zod_1.z.object({
|
|
29
|
-
interfaces: zod_1.z
|
|
29
|
+
interfaces: zod_1.z
|
|
30
|
+
.record(zod_1.z.string(), zod_1.z.string().catch(""))
|
|
31
|
+
.optional()
|
|
32
|
+
.catch(undefined),
|
|
30
33
|
});
|
|
31
34
|
const RegistryModuleSchema = zod_1.z.object({
|
|
32
35
|
name: TextSchema,
|
|
@@ -39,11 +42,14 @@ const InterfaceManifestSchema = zod_1.z.object({
|
|
|
39
42
|
modules: zod_1.z.array(RegistryModuleSchema).optional().catch(undefined),
|
|
40
43
|
});
|
|
41
44
|
const AntelopeManifestSchema = zod_1.z.object({
|
|
42
|
-
implements: zod_1.z.unknown(),
|
|
43
|
-
standalone: zod_1.z.unknown(),
|
|
45
|
+
implements: zod_1.z.unknown().optional(),
|
|
46
|
+
standalone: zod_1.z.unknown().optional(),
|
|
44
47
|
});
|
|
45
48
|
const ModulePackageSchema = zod_1.z.object({
|
|
46
|
-
dependencies: zod_1.z
|
|
49
|
+
dependencies: zod_1.z
|
|
50
|
+
.record(zod_1.z.string(), zod_1.z.string().catch(""))
|
|
51
|
+
.optional()
|
|
52
|
+
.catch(undefined),
|
|
47
53
|
antelopeJs: AntelopeManifestSchema.optional().catch(undefined),
|
|
48
54
|
});
|
|
49
55
|
const registryDocuments = (0, cache_1.createLookupCache)(LIFETIMES);
|