@servicenow/sdk-build-plugins 2.1.4 → 2.2.2
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/AttachmentPlugin.d.ts +6 -7
- package/dist/AttachmentPlugin.js +8 -6
- package/dist/AttachmentPlugin.js.map +1 -1
- package/dist/BusinessRulePlugin.d.ts +5 -5
- package/dist/BusinessRulePlugin.js +4 -4
- package/dist/BusinessRulePlugin.js.map +1 -1
- package/dist/CrossScopePrivilegePlugin.d.ts +5 -5
- package/dist/CrossScopePrivilegePlugin.js +1 -2
- package/dist/CrossScopePrivilegePlugin.js.map +1 -1
- package/dist/DefaultPlugin.d.ts +19 -11
- package/dist/DefaultPlugin.js +23 -51
- package/dist/DefaultPlugin.js.map +1 -1
- package/dist/HtmlTemplatePlugin.d.ts +2 -2
- package/dist/HtmlTemplatePlugin.js +3 -26
- package/dist/HtmlTemplatePlugin.js.map +1 -1
- package/dist/IdPlugin.d.ts +5 -4
- package/dist/IdPlugin.js +5 -9
- package/dist/IdPlugin.js.map +1 -1
- package/dist/JsonPlugin.d.ts +8 -3
- package/dist/JsonPlugin.js +6 -11
- package/dist/JsonPlugin.js.map +1 -1
- package/dist/ListPlugin.d.ts +6 -7
- package/dist/ListPlugin.js +17 -19
- package/dist/ListPlugin.js.map +1 -1
- package/dist/NowConfigPlugin.d.ts +1 -1
- package/dist/NowConfigPlugin.js +5 -31
- package/dist/NowConfigPlugin.js.map +1 -1
- package/dist/PackageJsonPlugin.d.ts +1 -1
- package/dist/PackageJsonPlugin.js +1 -1
- package/dist/PackageJsonPlugin.js.map +1 -1
- package/dist/PropertyPlugin.d.ts +5 -66
- package/dist/PropertyPlugin.js +6 -12
- package/dist/PropertyPlugin.js.map +1 -1
- package/dist/ScriptTemplatePlugin.d.ts +1 -1
- package/dist/ScriptTemplatePlugin.js +5 -5
- package/dist/ScriptTemplatePlugin.js.map +1 -1
- package/dist/ServerModulePlugin.d.ts +5 -6
- package/dist/ServerModulePlugin.js +10 -39
- package/dist/ServerModulePlugin.js.map +1 -1
- package/dist/UserPreferencePlugin.d.ts +1 -1
- package/dist/aclAndRole/AclPlugin.d.ts +44 -28
- package/dist/aclAndRole/AclPlugin.js +30 -33
- package/dist/aclAndRole/AclPlugin.js.map +1 -1
- package/dist/aclAndRole/RolePlugin.d.ts +5 -6
- package/dist/aclAndRole/RolePlugin.js +6 -7
- package/dist/aclAndRole/RolePlugin.js.map +1 -1
- package/dist/aclAndRole/Util.js +7 -30
- package/dist/aclAndRole/Util.js.map +1 -1
- package/dist/app/ApplicationMenuPlugin.d.ts +5 -5
- package/dist/app/ApplicationMenuPlugin.js +2 -3
- package/dist/app/ApplicationMenuPlugin.js.map +1 -1
- package/dist/atf/TestPlugin.d.ts +3 -3
- package/dist/atf/TestPlugin.js +1 -1
- package/dist/atf/TestPlugin.js.map +1 -1
- package/dist/db/ColumnPlugins.d.ts +85 -85
- package/dist/db/ColumnPlugins.js +17 -19
- package/dist/db/ColumnPlugins.js.map +1 -1
- package/dist/db/DocumentationPlugin.d.ts +6 -6
- package/dist/db/DocumentationPlugin.js +17 -49
- package/dist/db/DocumentationPlugin.js.map +1 -1
- package/dist/db/RecordPlugin.d.ts +7 -101
- package/dist/db/RecordPlugin.js +25 -24
- package/dist/db/RecordPlugin.js.map +1 -1
- package/dist/db/TablePlugin.d.ts +9 -610
- package/dist/db/TablePlugin.js +185 -84
- package/dist/db/TablePlugin.js.map +1 -1
- package/dist/scriptedRESTAPI/RESTDeserializationUtils.d.ts +0 -2
- package/dist/scriptedRESTAPI/RESTDeserializationUtils.js +17 -18
- package/dist/scriptedRESTAPI/RESTDeserializationUtils.js.map +1 -1
- package/dist/scriptedRESTAPI/RESTSerializationUtils.d.ts +1 -3
- package/dist/scriptedRESTAPI/RESTSerializationUtils.js +0 -1
- package/dist/scriptedRESTAPI/RESTSerializationUtils.js.map +1 -1
- package/dist/scriptedRESTAPI/RestApiPlugin.d.ts +3 -4
- package/dist/scriptedRESTAPI/RestApiPlugin.js +7 -33
- package/dist/scriptedRESTAPI/RestApiPlugin.js.map +1 -1
- package/dist/scriptedRESTAPI/RestUtils.d.ts +1 -10
- package/dist/scriptedRESTAPI/RestUtils.js +11 -35
- package/dist/scriptedRESTAPI/RestUtils.js.map +1 -1
- package/dist/scripts/ClientScriptPlugin.d.ts +3 -4
- package/dist/scripts/ClientScriptPlugin.js +11 -37
- package/dist/scripts/ClientScriptPlugin.js.map +1 -1
- package/dist/uxf/ExperiencePlugin.d.ts +2 -2
- package/dist/uxf/RoutesPlugin.d.ts +2 -2
- package/dist/uxf/RoutesPlugin.js +2 -3
- package/dist/uxf/RoutesPlugin.js.map +1 -1
- package/dist/uxf/tectonicIdGenerator.d.ts +1 -1
- package/dist/uxf/tectonicIdGenerator.js +5 -28
- package/dist/uxf/tectonicIdGenerator.js.map +1 -1
- package/package.json +6 -8
- package/src/AttachmentPlugin.ts +5 -7
- package/src/BusinessRulePlugin.ts +12 -6
- package/src/CrossScopePrivilegePlugin.ts +2 -3
- package/src/DefaultPlugin.ts +22 -26
- package/src/HtmlTemplatePlugin.ts +2 -2
- package/src/IdPlugin.ts +6 -10
- package/src/JsonPlugin.ts +7 -12
- package/src/ListPlugin.ts +20 -22
- package/src/NowConfigPlugin.ts +10 -13
- package/src/PackageJsonPlugin.ts +1 -1
- package/src/PropertyPlugin.ts +8 -14
- package/src/ScriptTemplatePlugin.ts +1 -1
- package/src/ServerModulePlugin.ts +15 -20
- package/src/aclAndRole/AclPlugin.ts +37 -6
- package/src/aclAndRole/RolePlugin.ts +7 -9
- package/src/aclAndRole/Util.ts +2 -2
- package/src/app/ApplicationMenuPlugin.ts +3 -4
- package/src/atf/TestPlugin.ts +3 -3
- package/src/db/ColumnPlugins.ts +20 -22
- package/src/db/DocumentationPlugin.ts +7 -41
- package/src/db/RecordPlugin.ts +23 -26
- package/src/db/TablePlugin.ts +222 -115
- package/src/scriptedRESTAPI/RESTDeserializationUtils.ts +18 -19
- package/src/scriptedRESTAPI/RESTSerializationUtils.ts +1 -1
- package/src/scriptedRESTAPI/RestApiPlugin.ts +15 -18
- package/src/scriptedRESTAPI/RestUtils.ts +7 -7
- package/src/scripts/ClientScriptPlugin.ts +10 -12
- package/src/uxf/RoutesPlugin.ts +2 -3
- package/src/uxf/tectonicIdGenerator.ts +3 -6
package/dist/db/TablePlugin.d.ts
CHANGED
|
@@ -1,574 +1,6 @@
|
|
|
1
|
-
import { Table
|
|
1
|
+
import { Table } from '@servicenow/sdk-core/runtime/db';
|
|
2
2
|
import { Context, EntityData, LinkedDocument, XmlData } from '@servicenow/sdk-build-core';
|
|
3
|
-
import {
|
|
4
|
-
import { ts, CallExpression } from 'ts-morph';
|
|
5
|
-
import { Diagnostic } from '@servicenow/sdk-project';
|
|
6
|
-
/**
|
|
7
|
-
* The access levels are mapped to the following values on the platform
|
|
8
|
-
*
|
|
9
|
-
* - `none`: 0
|
|
10
|
-
* - `tracking`: 1
|
|
11
|
-
* - `restricted`: 2
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
export declare const callerAccess: readonly ["none", "tracking", "restricted"];
|
|
15
|
-
export declare const TableSchemaFull: z.ZodObject<{
|
|
16
|
-
/** lowercase, one word name. Numbers, letters and underscores only */
|
|
17
|
-
name: z.ZodString;
|
|
18
|
-
/** Object literal of column names with <type>Column() calls as values.
|
|
19
|
-
* Ex. { column_name_1: StringColumn({...args}), column_name_2: IntegerColumn({...args}), }
|
|
20
|
-
* Import column definitions from `@servicenow/sdk-core/db`
|
|
21
|
-
*/
|
|
22
|
-
schema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
23
|
-
/** Table as a string, this table will inherit schema from extends table.
|
|
24
|
-
* Escape with `` (import from `@servicenow/sdk-core/global`)
|
|
25
|
-
* if table definition not present locally */
|
|
26
|
-
extends: z.ZodOptional<z.ZodString>;
|
|
27
|
-
/** Will match name if not provided, cannot exceed 80 characters */
|
|
28
|
-
label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>>;
|
|
29
|
-
/** Must match column name */
|
|
30
|
-
display: z.ZodOptional<z.ZodString>;
|
|
31
|
-
extensible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
32
|
-
live_feed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
33
|
-
/** sys_number to create auto prefixing. Specify as Object literal */
|
|
34
|
-
auto_number: z.ZodOptional<z.ZodObject<{
|
|
35
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
36
|
-
number: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
37
|
-
number_of_digits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
prefix?: string | undefined;
|
|
40
|
-
number?: number | undefined;
|
|
41
|
-
number_of_digits?: number | undefined;
|
|
42
|
-
}, {
|
|
43
|
-
prefix?: string | undefined;
|
|
44
|
-
number?: number | undefined;
|
|
45
|
-
number_of_digits?: number | undefined;
|
|
46
|
-
}>>;
|
|
47
|
-
accessible_from: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"package_private">, z.ZodLiteral<"public">]>>>;
|
|
48
|
-
caller_access: z.ZodOptional<z.ZodEnum<["none", "tracking", "restricted"]>>;
|
|
49
|
-
/** Array of read, update, create, delete actions (['read', 'update',...])*/
|
|
50
|
-
actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"read">, z.ZodLiteral<"update">, z.ZodLiteral<"delete">, z.ZodLiteral<"create">]>, "many">>;
|
|
51
|
-
allow_web_service_access: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
52
|
-
allow_new_fields: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
53
|
-
allow_ui_actions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
54
|
-
allow_client_scripts: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
55
|
-
audit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
56
|
-
read_only: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
57
|
-
text_index: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
58
|
-
/** Object literal of key value pairs corresponding to attributes */
|
|
59
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
60
|
-
/** Array of objects [{ { name: <columnName>, element: ...,}...}] */
|
|
61
|
-
index: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
62
|
-
name: z.ZodString;
|
|
63
|
-
unique: z.ZodBoolean;
|
|
64
|
-
element: z.ZodString;
|
|
65
|
-
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
element: string;
|
|
67
|
-
name: string;
|
|
68
|
-
unique: boolean;
|
|
69
|
-
}, {
|
|
70
|
-
element: string;
|
|
71
|
-
name: string;
|
|
72
|
-
unique: boolean;
|
|
73
|
-
}>, "many">>;
|
|
74
|
-
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
name: string;
|
|
76
|
-
read_only: boolean;
|
|
77
|
-
audit: boolean;
|
|
78
|
-
schema: Record<string, Record<string, any>>;
|
|
79
|
-
extensible: boolean;
|
|
80
|
-
live_feed: boolean;
|
|
81
|
-
accessible_from: "package_private" | "public";
|
|
82
|
-
allow_web_service_access: boolean;
|
|
83
|
-
allow_new_fields: boolean;
|
|
84
|
-
allow_ui_actions: boolean;
|
|
85
|
-
allow_client_scripts: boolean;
|
|
86
|
-
text_index: boolean;
|
|
87
|
-
extends?: string | undefined;
|
|
88
|
-
label?: string | any[] | undefined;
|
|
89
|
-
display?: string | undefined;
|
|
90
|
-
auto_number?: {
|
|
91
|
-
prefix?: string | undefined;
|
|
92
|
-
number?: number | undefined;
|
|
93
|
-
number_of_digits?: number | undefined;
|
|
94
|
-
} | undefined;
|
|
95
|
-
caller_access?: "none" | "tracking" | "restricted" | undefined;
|
|
96
|
-
actions?: ("update" | "delete" | "create" | "read")[] | undefined;
|
|
97
|
-
attributes?: Record<string, string | number | boolean> | undefined;
|
|
98
|
-
index?: {
|
|
99
|
-
element: string;
|
|
100
|
-
name: string;
|
|
101
|
-
unique: boolean;
|
|
102
|
-
}[] | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
name: string;
|
|
105
|
-
schema?: Record<string, Record<string, any>> | undefined;
|
|
106
|
-
extends?: string | undefined;
|
|
107
|
-
label?: string | any[] | undefined;
|
|
108
|
-
display?: string | undefined;
|
|
109
|
-
extensible?: boolean | undefined;
|
|
110
|
-
live_feed?: boolean | undefined;
|
|
111
|
-
auto_number?: {
|
|
112
|
-
prefix?: string | undefined;
|
|
113
|
-
number?: number | undefined;
|
|
114
|
-
number_of_digits?: number | undefined;
|
|
115
|
-
} | undefined;
|
|
116
|
-
accessible_from?: "package_private" | "public" | undefined;
|
|
117
|
-
caller_access?: "none" | "tracking" | "restricted" | undefined;
|
|
118
|
-
actions?: ("update" | "delete" | "create" | "read")[] | undefined;
|
|
119
|
-
allow_web_service_access?: boolean | undefined;
|
|
120
|
-
allow_new_fields?: boolean | undefined;
|
|
121
|
-
allow_ui_actions?: boolean | undefined;
|
|
122
|
-
allow_client_scripts?: boolean | undefined;
|
|
123
|
-
audit?: boolean | undefined;
|
|
124
|
-
read_only?: boolean | undefined;
|
|
125
|
-
text_index?: boolean | undefined;
|
|
126
|
-
attributes?: Record<string, string | number | boolean> | undefined;
|
|
127
|
-
index?: {
|
|
128
|
-
element: string;
|
|
129
|
-
name: string;
|
|
130
|
-
unique: boolean;
|
|
131
|
-
}[] | undefined;
|
|
132
|
-
}>;
|
|
133
|
-
export declare const TableSchemaBootstrap: z.ZodObject<{
|
|
134
|
-
name: z.ZodString;
|
|
135
|
-
extends: z.ZodOptional<z.ZodString>;
|
|
136
|
-
label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>>;
|
|
137
|
-
extensible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
138
|
-
live_feed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
139
|
-
auto_number: z.ZodOptional<z.ZodObject<{
|
|
140
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
141
|
-
number: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
142
|
-
number_of_digits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
143
|
-
}, "strip", z.ZodTypeAny, {
|
|
144
|
-
prefix?: string | undefined;
|
|
145
|
-
number?: number | undefined;
|
|
146
|
-
number_of_digits?: number | undefined;
|
|
147
|
-
}, {
|
|
148
|
-
prefix?: string | undefined;
|
|
149
|
-
number?: number | undefined;
|
|
150
|
-
number_of_digits?: number | undefined;
|
|
151
|
-
}>>;
|
|
152
|
-
number_ref: z.ZodOptional<z.ZodAny>;
|
|
153
|
-
accessible_from: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"package_private">]>>>;
|
|
154
|
-
caller_access: z.ZodOptional<z.ZodDefault<z.ZodEnum<["none", "tracking", "restricted"]>>>;
|
|
155
|
-
actions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"read">, z.ZodLiteral<"update">, z.ZodLiteral<"delete">, z.ZodLiteral<"create">]>, "many">>>;
|
|
156
|
-
allow_web_service_access: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
157
|
-
allow_new_fields: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
158
|
-
allow_ui_actions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
159
|
-
allow_client_scripts: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
160
|
-
audit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
161
|
-
read_only: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
162
|
-
text_index: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
163
|
-
attributes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
164
|
-
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
name: string;
|
|
166
|
-
read_only: boolean;
|
|
167
|
-
audit: boolean;
|
|
168
|
-
extensible: boolean;
|
|
169
|
-
live_feed: boolean;
|
|
170
|
-
accessible_from: "package_private" | "public";
|
|
171
|
-
allow_web_service_access: boolean;
|
|
172
|
-
allow_new_fields: boolean;
|
|
173
|
-
allow_ui_actions: boolean;
|
|
174
|
-
allow_client_scripts: boolean;
|
|
175
|
-
text_index: boolean;
|
|
176
|
-
extends?: string | undefined;
|
|
177
|
-
label?: string | any[] | undefined;
|
|
178
|
-
auto_number?: {
|
|
179
|
-
prefix?: string | undefined;
|
|
180
|
-
number?: number | undefined;
|
|
181
|
-
number_of_digits?: number | undefined;
|
|
182
|
-
} | undefined;
|
|
183
|
-
number_ref?: any;
|
|
184
|
-
caller_access?: "none" | "tracking" | "restricted" | undefined;
|
|
185
|
-
actions?: ("update" | "delete" | "create" | "read")[] | undefined;
|
|
186
|
-
attributes?: Record<string, string | number | boolean> | undefined;
|
|
187
|
-
}, {
|
|
188
|
-
name: string;
|
|
189
|
-
extends?: string | undefined;
|
|
190
|
-
label?: string | any[] | undefined;
|
|
191
|
-
extensible?: boolean | undefined;
|
|
192
|
-
live_feed?: boolean | undefined;
|
|
193
|
-
auto_number?: {
|
|
194
|
-
prefix?: string | undefined;
|
|
195
|
-
number?: number | undefined;
|
|
196
|
-
number_of_digits?: number | undefined;
|
|
197
|
-
} | undefined;
|
|
198
|
-
number_ref?: any;
|
|
199
|
-
accessible_from?: "package_private" | "public" | undefined;
|
|
200
|
-
caller_access?: "none" | "tracking" | "restricted" | undefined;
|
|
201
|
-
actions?: ("update" | "delete" | "create" | "read")[] | undefined;
|
|
202
|
-
allow_web_service_access?: boolean | undefined;
|
|
203
|
-
allow_new_fields?: boolean | undefined;
|
|
204
|
-
allow_ui_actions?: boolean | undefined;
|
|
205
|
-
allow_client_scripts?: boolean | undefined;
|
|
206
|
-
audit?: boolean | undefined;
|
|
207
|
-
read_only?: boolean | undefined;
|
|
208
|
-
text_index?: boolean | undefined;
|
|
209
|
-
attributes?: Record<string, string | number | boolean> | undefined;
|
|
210
|
-
}>;
|
|
211
|
-
export declare const SysDocumentation: z.ZodObject<{
|
|
212
|
-
sys_documentation: z.ZodObject<{
|
|
213
|
-
element: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
214
|
-
'#text': z.ZodString;
|
|
215
|
-
}, "strip", z.ZodTypeAny, {
|
|
216
|
-
'#text': string;
|
|
217
|
-
}, {
|
|
218
|
-
'#text': string;
|
|
219
|
-
}>, string, {
|
|
220
|
-
'#text': string;
|
|
221
|
-
}>>;
|
|
222
|
-
label: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
223
|
-
'#text': z.ZodString;
|
|
224
|
-
}, "strip", z.ZodTypeAny, {
|
|
225
|
-
'#text': string;
|
|
226
|
-
}, {
|
|
227
|
-
'#text': string;
|
|
228
|
-
}>, string, {
|
|
229
|
-
'#text': string;
|
|
230
|
-
}>>;
|
|
231
|
-
language: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
232
|
-
'#text': z.ZodString;
|
|
233
|
-
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
'#text': string;
|
|
235
|
-
}, {
|
|
236
|
-
'#text': string;
|
|
237
|
-
}>, string, {
|
|
238
|
-
'#text': string;
|
|
239
|
-
}>>;
|
|
240
|
-
hint: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
241
|
-
'#text': z.ZodString;
|
|
242
|
-
}, "strip", z.ZodTypeAny, {
|
|
243
|
-
'#text': string;
|
|
244
|
-
}, {
|
|
245
|
-
'#text': string;
|
|
246
|
-
}>, string, {
|
|
247
|
-
'#text': string;
|
|
248
|
-
}>>;
|
|
249
|
-
help: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
250
|
-
'#text': z.ZodString;
|
|
251
|
-
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
'#text': string;
|
|
253
|
-
}, {
|
|
254
|
-
'#text': string;
|
|
255
|
-
}>, string, {
|
|
256
|
-
'#text': string;
|
|
257
|
-
}>>;
|
|
258
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
259
|
-
'#text': z.ZodString;
|
|
260
|
-
}, "strip", z.ZodTypeAny, {
|
|
261
|
-
'#text': string;
|
|
262
|
-
}, {
|
|
263
|
-
'#text': string;
|
|
264
|
-
}>, string, {
|
|
265
|
-
'#text': string;
|
|
266
|
-
}>>;
|
|
267
|
-
plural: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
268
|
-
'#text': z.ZodString;
|
|
269
|
-
}, "strip", z.ZodTypeAny, {
|
|
270
|
-
'#text': string;
|
|
271
|
-
}, {
|
|
272
|
-
'#text': string;
|
|
273
|
-
}>, string, {
|
|
274
|
-
'#text': string;
|
|
275
|
-
}>>;
|
|
276
|
-
sys_id: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
277
|
-
'#text': z.ZodString;
|
|
278
|
-
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
'#text': string;
|
|
280
|
-
}, {
|
|
281
|
-
'#text': string;
|
|
282
|
-
}>, string, {
|
|
283
|
-
'#text': string;
|
|
284
|
-
}>>;
|
|
285
|
-
url: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
286
|
-
'#text': z.ZodString;
|
|
287
|
-
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
'#text': string;
|
|
289
|
-
}, {
|
|
290
|
-
'#text': string;
|
|
291
|
-
}>, string, {
|
|
292
|
-
'#text': string;
|
|
293
|
-
}>>;
|
|
294
|
-
url_target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
295
|
-
'#text': z.ZodString;
|
|
296
|
-
}, "strip", z.ZodTypeAny, {
|
|
297
|
-
'#text': string;
|
|
298
|
-
}, {
|
|
299
|
-
'#text': string;
|
|
300
|
-
}>, string, {
|
|
301
|
-
'#text': string;
|
|
302
|
-
}>>;
|
|
303
|
-
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
element?: string | undefined;
|
|
305
|
-
label?: string | undefined;
|
|
306
|
-
language?: string | undefined;
|
|
307
|
-
hint?: string | undefined;
|
|
308
|
-
help?: string | undefined;
|
|
309
|
-
name?: string | undefined;
|
|
310
|
-
plural?: string | undefined;
|
|
311
|
-
sys_id?: string | undefined;
|
|
312
|
-
url?: string | undefined;
|
|
313
|
-
url_target?: string | undefined;
|
|
314
|
-
}, {
|
|
315
|
-
element?: {
|
|
316
|
-
'#text': string;
|
|
317
|
-
} | undefined;
|
|
318
|
-
label?: {
|
|
319
|
-
'#text': string;
|
|
320
|
-
} | undefined;
|
|
321
|
-
language?: {
|
|
322
|
-
'#text': string;
|
|
323
|
-
} | undefined;
|
|
324
|
-
hint?: {
|
|
325
|
-
'#text': string;
|
|
326
|
-
} | undefined;
|
|
327
|
-
help?: {
|
|
328
|
-
'#text': string;
|
|
329
|
-
} | undefined;
|
|
330
|
-
name?: {
|
|
331
|
-
'#text': string;
|
|
332
|
-
} | undefined;
|
|
333
|
-
plural?: {
|
|
334
|
-
'#text': string;
|
|
335
|
-
} | undefined;
|
|
336
|
-
sys_id?: {
|
|
337
|
-
'#text': string;
|
|
338
|
-
} | undefined;
|
|
339
|
-
url?: {
|
|
340
|
-
'#text': string;
|
|
341
|
-
} | undefined;
|
|
342
|
-
url_target?: {
|
|
343
|
-
'#text': string;
|
|
344
|
-
} | undefined;
|
|
345
|
-
}>;
|
|
346
|
-
}, "strip", z.ZodTypeAny, {
|
|
347
|
-
sys_documentation: {
|
|
348
|
-
element?: string | undefined;
|
|
349
|
-
label?: string | undefined;
|
|
350
|
-
language?: string | undefined;
|
|
351
|
-
hint?: string | undefined;
|
|
352
|
-
help?: string | undefined;
|
|
353
|
-
name?: string | undefined;
|
|
354
|
-
plural?: string | undefined;
|
|
355
|
-
sys_id?: string | undefined;
|
|
356
|
-
url?: string | undefined;
|
|
357
|
-
url_target?: string | undefined;
|
|
358
|
-
};
|
|
359
|
-
}, {
|
|
360
|
-
sys_documentation: {
|
|
361
|
-
element?: {
|
|
362
|
-
'#text': string;
|
|
363
|
-
} | undefined;
|
|
364
|
-
label?: {
|
|
365
|
-
'#text': string;
|
|
366
|
-
} | undefined;
|
|
367
|
-
language?: {
|
|
368
|
-
'#text': string;
|
|
369
|
-
} | undefined;
|
|
370
|
-
hint?: {
|
|
371
|
-
'#text': string;
|
|
372
|
-
} | undefined;
|
|
373
|
-
help?: {
|
|
374
|
-
'#text': string;
|
|
375
|
-
} | undefined;
|
|
376
|
-
name?: {
|
|
377
|
-
'#text': string;
|
|
378
|
-
} | undefined;
|
|
379
|
-
plural?: {
|
|
380
|
-
'#text': string;
|
|
381
|
-
} | undefined;
|
|
382
|
-
sys_id?: {
|
|
383
|
-
'#text': string;
|
|
384
|
-
} | undefined;
|
|
385
|
-
url?: {
|
|
386
|
-
'#text': string;
|
|
387
|
-
} | undefined;
|
|
388
|
-
url_target?: {
|
|
389
|
-
'#text': string;
|
|
390
|
-
} | undefined;
|
|
391
|
-
};
|
|
392
|
-
}>;
|
|
393
|
-
export declare const TableSchemaBootstrapAttributes: z.ZodObject<{
|
|
394
|
-
'@_name': z.ZodString;
|
|
395
|
-
'@_extends': z.ZodOptional<z.ZodString>;
|
|
396
|
-
'@_label': z.ZodOptional<z.ZodString>;
|
|
397
|
-
'@_max_length': z.ZodOptional<z.ZodAny>;
|
|
398
|
-
'@_audit': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
399
|
-
'@_read_only': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
400
|
-
'@_text_index': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
401
|
-
'@_client_scripts_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
402
|
-
'@_ws_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
403
|
-
'@_alter_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
404
|
-
'@_create_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
405
|
-
'@_delete_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
406
|
-
'@_update_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
407
|
-
'@_query_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
408
|
-
'@_actions_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
409
|
-
'@_read_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
410
|
-
'@_is_extendable': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
411
|
-
'@_caller_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, number, string>, z.ZodNumber]>>;
|
|
412
|
-
'@_attributes': z.ZodOptional<z.ZodEffects<z.ZodString, {} | undefined, string>>;
|
|
413
|
-
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
414
|
-
'@_name': z.ZodString;
|
|
415
|
-
'@_extends': z.ZodOptional<z.ZodString>;
|
|
416
|
-
'@_label': z.ZodOptional<z.ZodString>;
|
|
417
|
-
'@_max_length': z.ZodOptional<z.ZodAny>;
|
|
418
|
-
'@_audit': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
419
|
-
'@_read_only': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
420
|
-
'@_text_index': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
421
|
-
'@_client_scripts_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
422
|
-
'@_ws_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
423
|
-
'@_alter_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
424
|
-
'@_create_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
425
|
-
'@_delete_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
426
|
-
'@_update_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
427
|
-
'@_query_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
428
|
-
'@_actions_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
429
|
-
'@_read_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
430
|
-
'@_is_extendable': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
431
|
-
'@_caller_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, number, string>, z.ZodNumber]>>;
|
|
432
|
-
'@_attributes': z.ZodOptional<z.ZodEffects<z.ZodString, {} | undefined, string>>;
|
|
433
|
-
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
434
|
-
'@_name': z.ZodString;
|
|
435
|
-
'@_extends': z.ZodOptional<z.ZodString>;
|
|
436
|
-
'@_label': z.ZodOptional<z.ZodString>;
|
|
437
|
-
'@_max_length': z.ZodOptional<z.ZodAny>;
|
|
438
|
-
'@_audit': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
439
|
-
'@_read_only': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
440
|
-
'@_text_index': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
441
|
-
'@_client_scripts_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
442
|
-
'@_ws_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
443
|
-
'@_alter_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
444
|
-
'@_create_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
445
|
-
'@_delete_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
446
|
-
'@_update_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
447
|
-
'@_query_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
448
|
-
'@_actions_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
449
|
-
'@_read_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
450
|
-
'@_is_extendable': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
451
|
-
'@_caller_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, number, string>, z.ZodNumber]>>;
|
|
452
|
-
'@_attributes': z.ZodOptional<z.ZodEffects<z.ZodString, {} | undefined, string>>;
|
|
453
|
-
}, z.ZodAny, "strip">>;
|
|
454
|
-
export declare const ColumnSchemaBootstrapAttributes: z.ZodObject<{
|
|
455
|
-
'@_name': z.ZodString;
|
|
456
|
-
'@_label': z.ZodOptional<z.ZodString>;
|
|
457
|
-
'@_max_length': z.ZodOptional<z.ZodAny>;
|
|
458
|
-
'@_audit': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
459
|
-
'@_read_only': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
460
|
-
'@_text_index': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
461
|
-
'@_client_scripts_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
462
|
-
'@_ws_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
463
|
-
'@_alter_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
464
|
-
'@_create_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
465
|
-
'@_delete_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
466
|
-
'@_update_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
467
|
-
'@_query_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
468
|
-
'@_actions_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
469
|
-
'@_read_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
470
|
-
'@_is_extendable': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
471
|
-
'@_caller_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, number, string>, z.ZodNumber]>>;
|
|
472
|
-
'@_attributes': z.ZodOptional<z.ZodEffects<z.ZodString, {} | undefined, string>>;
|
|
473
|
-
'@_choice': z.ZodOptional<z.ZodNumber>;
|
|
474
|
-
'@_active': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
475
|
-
'@_mandatory': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
476
|
-
'@_display': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
477
|
-
'@_type': z.ZodOptional<z.ZodString>;
|
|
478
|
-
'@_use_dependent_field': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
479
|
-
'@_use_dynamic_default': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
480
|
-
'@_reference': z.ZodOptional<z.ZodString>;
|
|
481
|
-
'@_virtual': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
482
|
-
'@_default': z.ZodOptional<z.ZodString>;
|
|
483
|
-
'@_calculation': z.ZodOptional<z.ZodString>;
|
|
484
|
-
'@_choice_field': z.ZodOptional<z.ZodString>;
|
|
485
|
-
'@_function_definition': z.ZodOptional<z.ZodString>;
|
|
486
|
-
choice: z.ZodOptional<z.ZodObject<{
|
|
487
|
-
element: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
488
|
-
}, "strip", z.ZodTypeAny, {
|
|
489
|
-
element?: any[] | Record<string, any> | undefined;
|
|
490
|
-
}, {
|
|
491
|
-
element?: any[] | Record<string, any> | undefined;
|
|
492
|
-
}>>;
|
|
493
|
-
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
494
|
-
'@_name': z.ZodString;
|
|
495
|
-
'@_label': z.ZodOptional<z.ZodString>;
|
|
496
|
-
'@_max_length': z.ZodOptional<z.ZodAny>;
|
|
497
|
-
'@_audit': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
498
|
-
'@_read_only': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
499
|
-
'@_text_index': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
500
|
-
'@_client_scripts_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
501
|
-
'@_ws_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
502
|
-
'@_alter_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
503
|
-
'@_create_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
504
|
-
'@_delete_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
505
|
-
'@_update_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
506
|
-
'@_query_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
507
|
-
'@_actions_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
508
|
-
'@_read_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
509
|
-
'@_is_extendable': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
510
|
-
'@_caller_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, number, string>, z.ZodNumber]>>;
|
|
511
|
-
'@_attributes': z.ZodOptional<z.ZodEffects<z.ZodString, {} | undefined, string>>;
|
|
512
|
-
'@_choice': z.ZodOptional<z.ZodNumber>;
|
|
513
|
-
'@_active': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
514
|
-
'@_mandatory': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
515
|
-
'@_display': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
516
|
-
'@_type': z.ZodOptional<z.ZodString>;
|
|
517
|
-
'@_use_dependent_field': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
518
|
-
'@_use_dynamic_default': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
519
|
-
'@_reference': z.ZodOptional<z.ZodString>;
|
|
520
|
-
'@_virtual': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
521
|
-
'@_default': z.ZodOptional<z.ZodString>;
|
|
522
|
-
'@_calculation': z.ZodOptional<z.ZodString>;
|
|
523
|
-
'@_choice_field': z.ZodOptional<z.ZodString>;
|
|
524
|
-
'@_function_definition': z.ZodOptional<z.ZodString>;
|
|
525
|
-
choice: z.ZodOptional<z.ZodObject<{
|
|
526
|
-
element: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
527
|
-
}, "strip", z.ZodTypeAny, {
|
|
528
|
-
element?: any[] | Record<string, any> | undefined;
|
|
529
|
-
}, {
|
|
530
|
-
element?: any[] | Record<string, any> | undefined;
|
|
531
|
-
}>>;
|
|
532
|
-
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
533
|
-
'@_name': z.ZodString;
|
|
534
|
-
'@_label': z.ZodOptional<z.ZodString>;
|
|
535
|
-
'@_max_length': z.ZodOptional<z.ZodAny>;
|
|
536
|
-
'@_audit': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
537
|
-
'@_read_only': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
538
|
-
'@_text_index': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
539
|
-
'@_client_scripts_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
540
|
-
'@_ws_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
541
|
-
'@_alter_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
542
|
-
'@_create_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
543
|
-
'@_delete_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
544
|
-
'@_update_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
545
|
-
'@_query_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
546
|
-
'@_actions_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
547
|
-
'@_read_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
548
|
-
'@_is_extendable': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
549
|
-
'@_caller_access': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, number, string>, z.ZodNumber]>>;
|
|
550
|
-
'@_attributes': z.ZodOptional<z.ZodEffects<z.ZodString, {} | undefined, string>>;
|
|
551
|
-
'@_choice': z.ZodOptional<z.ZodNumber>;
|
|
552
|
-
'@_active': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
553
|
-
'@_mandatory': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
554
|
-
'@_display': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
555
|
-
'@_type': z.ZodOptional<z.ZodString>;
|
|
556
|
-
'@_use_dependent_field': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
557
|
-
'@_use_dynamic_default': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
558
|
-
'@_reference': z.ZodOptional<z.ZodString>;
|
|
559
|
-
'@_virtual': z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean]>>;
|
|
560
|
-
'@_default': z.ZodOptional<z.ZodString>;
|
|
561
|
-
'@_calculation': z.ZodOptional<z.ZodString>;
|
|
562
|
-
'@_choice_field': z.ZodOptional<z.ZodString>;
|
|
563
|
-
'@_function_definition': z.ZodOptional<z.ZodString>;
|
|
564
|
-
choice: z.ZodOptional<z.ZodObject<{
|
|
565
|
-
element: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
566
|
-
}, "strip", z.ZodTypeAny, {
|
|
567
|
-
element?: any[] | Record<string, any> | undefined;
|
|
568
|
-
}, {
|
|
569
|
-
element?: any[] | Record<string, any> | undefined;
|
|
570
|
-
}>>;
|
|
571
|
-
}, z.ZodAny, "strip">>;
|
|
3
|
+
import { Diagnostic, ts, tsc } from '@servicenow/sdk-project';
|
|
572
4
|
declare const _default: {
|
|
573
5
|
readonly name: "Table";
|
|
574
6
|
readonly ownedTables: {
|
|
@@ -579,7 +11,7 @@ declare const _default: {
|
|
|
579
11
|
readonly extractors: {
|
|
580
12
|
readonly entity: {
|
|
581
13
|
readonly fluent: {
|
|
582
|
-
readonly CallExpression: (node: CallExpression<ts.CallExpression>, context: Context) => import("@servicenow/sdk-build-core").ExtractionResult<EntityData<Table<Record<string, import("@servicenow/sdk-core/runtime/db").Column>, keyof Now.Internal.Tables>>>;
|
|
14
|
+
readonly CallExpression: (node: ts.CallExpression<ts.ts.CallExpression>, context: Context) => import("@servicenow/sdk-build-core").ExtractionResult<EntityData<Table<Record<string, import("@servicenow/sdk-core/runtime/db").Column>, keyof Now.Internal.Tables>>>;
|
|
583
15
|
};
|
|
584
16
|
};
|
|
585
17
|
readonly xml: (xml: import("@servicenow/sdk-build-core").Xml, context: Context) => XmlData<{}> | undefined;
|
|
@@ -611,8 +43,8 @@ declare const _default: {
|
|
|
611
43
|
};
|
|
612
44
|
};
|
|
613
45
|
readonly generators: {
|
|
614
|
-
readonly bootstrap: (document: import("@servicenow/sdk-build-core").UnlinkedDocument<"bootstrap"> & import("@servicenow/sdk-build-core").Arranged, context: Context) => LinkedDocument<"bootstrap", CallExpression<ts.CallExpression>> | undefined;
|
|
615
|
-
readonly record: (document: import("@servicenow/sdk-build-core").UnlinkedDocument<any> & import("@servicenow/sdk-build-core").Arranged, context: Context) => LinkedDocument<any, CallExpression<ts.CallExpression>> | undefined;
|
|
46
|
+
readonly bootstrap: (document: import("@servicenow/sdk-build-core").UnlinkedDocument<"bootstrap"> & import("@servicenow/sdk-build-core").Arranged, context: Context) => LinkedDocument<"bootstrap", ts.CallExpression<ts.ts.CallExpression>> | undefined;
|
|
47
|
+
readonly record: (document: import("@servicenow/sdk-build-core").UnlinkedDocument<any> & import("@servicenow/sdk-build-core").Arranged, context: Context) => LinkedDocument<any, ts.CallExpression<ts.ts.CallExpression>> | undefined;
|
|
616
48
|
};
|
|
617
49
|
readonly serializers: {
|
|
618
50
|
readonly bootstrap: (document: import("@servicenow/sdk-build-core").Document<string> & import("@servicenow/sdk-build-core").Arranged) => {
|
|
@@ -624,9 +56,9 @@ declare const _default: {
|
|
|
624
56
|
};
|
|
625
57
|
readonly transformers: {
|
|
626
58
|
readonly bootstrap: {
|
|
627
|
-
readonly CallExpression: (document: import("@servicenow/sdk-build-core").Document<any, CallExpression<ts.CallExpression>> & {
|
|
59
|
+
readonly CallExpression: (document: import("@servicenow/sdk-build-core").Document<any, ts.CallExpression<ts.ts.CallExpression>> & {
|
|
628
60
|
entity?: EntityData;
|
|
629
|
-
node: CallExpression<ts.CallExpression>;
|
|
61
|
+
node: ts.CallExpression<ts.ts.CallExpression>;
|
|
630
62
|
} & import("@servicenow/sdk-build-core").Arranged) => boolean;
|
|
631
63
|
};
|
|
632
64
|
};
|
|
@@ -635,41 +67,8 @@ declare const _default: {
|
|
|
635
67
|
};
|
|
636
68
|
};
|
|
637
69
|
export default _default;
|
|
638
|
-
export declare function
|
|
639
|
-
export declare function
|
|
640
|
-
readonly table: "sys_number";
|
|
641
|
-
readonly $id: `${string}_${string}` | `${string}_undefined`;
|
|
642
|
-
readonly data: {
|
|
643
|
-
readonly category: keyof Now.Internal.Tables;
|
|
644
|
-
readonly maximum_digits: number;
|
|
645
|
-
readonly number: number;
|
|
646
|
-
readonly prefix: string;
|
|
647
|
-
};
|
|
648
|
-
};
|
|
649
|
-
export declare const dynamic_value_mapping: {
|
|
650
|
-
'Current Name': string;
|
|
651
|
-
'Next ECC Sequence Number': string;
|
|
652
|
-
'Get Module View': string;
|
|
653
|
-
'Get Label Display Value': string;
|
|
654
|
-
'Get CMDB Item Category': string;
|
|
655
|
-
'Parent Record Matcher Table': string;
|
|
656
|
-
'Next Cache Flush Number': string;
|
|
657
|
-
'Get Next Number': string;
|
|
658
|
-
'Next Workflow Log Order Number': string;
|
|
659
|
-
Subject: string;
|
|
660
|
-
'Get Mobile Module View': string;
|
|
661
|
-
'Parent Record Model Table': string;
|
|
662
|
-
'Get Label Table Display Value': string;
|
|
663
|
-
'Parent Record Source Table': string;
|
|
664
|
-
'Get Next Padded Number': string;
|
|
665
|
-
'My First Name': string;
|
|
666
|
-
'My Last Name': string;
|
|
667
|
-
'My Job Title': string;
|
|
668
|
-
};
|
|
669
|
-
export declare function generateColumnExpression<Type extends (...args: any) => any>(expression: Type, args: Parameters<Type>[0], argsSetIfDefined?: Undefined<Parameters<Type>[0]>): ts.CallExpression;
|
|
670
|
-
export declare function createObjectExpression(firstArg: object): ts.Expression;
|
|
671
|
-
export declare function factoryCreateValue(value: unknown, factory: ts.NodeFactory): ts.Expression;
|
|
70
|
+
export declare function generateColumnExpression<Type extends (...args: any) => any>(expression: Type, args: Parameters<Type>[0], argsSetIfDefined?: Undefined<Parameters<Type>[0]>): tsc.CallExpression;
|
|
71
|
+
export declare function createObjectExpression(firstArg: object): tsc.Expression;
|
|
672
72
|
type Undefined<T> = {
|
|
673
73
|
[P in keyof T]: T[P] | undefined;
|
|
674
74
|
};
|
|
675
|
-
export declare function getCallExpressionFromType(internal_type: string): typeof BooleanColumn | typeof IntegerColumn | typeof DecimalColumn | typeof DocumentIdColumn | typeof DomainIdColumn | typeof ListColumn | typeof ReferenceColumn | typeof ScriptColumn | typeof VersionColumn | typeof DateColumn | typeof DateTimeColumn | typeof GenericColumn;
|