@servicenow/sdk-build-plugins 2.0.1 → 2.1.1
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 +8 -6
- package/dist/AttachmentPlugin.js +4 -2
- package/dist/AttachmentPlugin.js.map +1 -1
- package/dist/BusinessRulePlugin.d.ts +5 -31
- package/dist/BusinessRulePlugin.js +45 -72
- package/dist/BusinessRulePlugin.js.map +1 -1
- package/dist/CrossScopePrivilegePlugin.d.ts +14 -1
- package/dist/CrossScopePrivilegePlugin.js +36 -1
- package/dist/CrossScopePrivilegePlugin.js.map +1 -1
- package/dist/DefaultPlugin.d.ts +60 -57
- package/dist/DefaultPlugin.js +151 -146
- package/dist/DefaultPlugin.js.map +1 -1
- package/dist/HtmlTemplatePlugin.d.ts +21 -0
- package/dist/HtmlTemplatePlugin.js +52 -0
- package/dist/HtmlTemplatePlugin.js.map +1 -0
- package/dist/IdPlugin.d.ts +18 -8
- package/dist/IdPlugin.js +55 -28
- package/dist/IdPlugin.js.map +1 -1
- package/dist/JsonPlugin.d.ts +23 -0
- package/dist/JsonPlugin.js +74 -0
- package/dist/JsonPlugin.js.map +1 -0
- package/dist/ListPlugin.d.ts +7 -13
- package/dist/ListPlugin.js +32 -15
- package/dist/ListPlugin.js.map +1 -1
- package/dist/NowConfigPlugin.d.ts +45 -0
- package/dist/NowConfigPlugin.js +90 -0
- package/dist/NowConfigPlugin.js.map +1 -0
- package/dist/PackageJsonPlugin.d.ts +20 -0
- package/dist/PackageJsonPlugin.js +48 -0
- package/dist/PackageJsonPlugin.js.map +1 -0
- package/dist/PropertyPlugin.d.ts +9 -35
- package/dist/PropertyPlugin.js +53 -32
- package/dist/PropertyPlugin.js.map +1 -1
- package/dist/ScriptTemplatePlugin.d.ts +3 -20
- package/dist/ScriptTemplatePlugin.js +20 -138
- package/dist/ScriptTemplatePlugin.js.map +1 -1
- package/dist/ServerModulePlugin.d.ts +62 -0
- package/dist/ServerModulePlugin.js +231 -0
- package/dist/ServerModulePlugin.js.map +1 -0
- package/dist/UserPreferencePlugin.d.ts +4 -1
- package/dist/UserPreferencePlugin.js +12 -10
- package/dist/UserPreferencePlugin.js.map +1 -1
- package/dist/aclAndRole/AclPlugin.d.ts +41 -79
- package/dist/aclAndRole/AclPlugin.js +50 -72
- package/dist/aclAndRole/AclPlugin.js.map +1 -1
- package/dist/aclAndRole/RolePlugin.d.ts +27 -18
- package/dist/aclAndRole/RolePlugin.js +66 -41
- package/dist/aclAndRole/RolePlugin.js.map +1 -1
- package/dist/app/ApplicationMenuPlugin.d.ts +4 -2
- package/dist/app/ApplicationMenuPlugin.js +12 -7
- package/dist/app/ApplicationMenuPlugin.js.map +1 -1
- package/dist/atf/ATFComposer.js +324 -324
- package/dist/atf/TestPlugin.d.ts +12 -10
- package/dist/atf/TestPlugin.js +14 -12
- package/dist/atf/TestPlugin.js.map +1 -1
- package/dist/db/ColumnPlugins.d.ts +559 -97
- package/dist/db/ColumnPlugins.js +28 -24
- package/dist/db/ColumnPlugins.js.map +1 -1
- package/dist/db/DBUtils.d.ts +2 -0
- package/dist/db/DBUtils.js +27 -0
- package/dist/db/DBUtils.js.map +1 -0
- package/dist/db/DocumentationPlugin.d.ts +58 -0
- package/dist/db/DocumentationPlugin.js +248 -0
- package/dist/db/DocumentationPlugin.js.map +1 -0
- package/dist/db/RecordPlugin.d.ts +15 -13
- package/dist/db/RecordPlugin.js +74 -79
- package/dist/db/RecordPlugin.js.map +1 -1
- package/dist/db/TablePlugin.d.ts +38 -105
- package/dist/db/TablePlugin.js +205 -111
- package/dist/db/TablePlugin.js.map +1 -1
- package/dist/db/index.d.ts +2 -0
- package/dist/db/index.js +4 -1
- package/dist/db/index.js.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/scriptedRESTAPI/RESTDeserializationUtils.js +8 -6
- package/dist/scriptedRESTAPI/RESTDeserializationUtils.js.map +1 -1
- package/dist/scriptedRESTAPI/RESTSerializationUtils.js +7 -6
- package/dist/scriptedRESTAPI/RESTSerializationUtils.js.map +1 -1
- package/dist/scriptedRESTAPI/RestApiPlugin.d.ts +74 -85
- package/dist/scriptedRESTAPI/RestApiPlugin.js +71 -54
- package/dist/scriptedRESTAPI/RestApiPlugin.js.map +1 -1
- package/dist/scriptedRESTAPI/RestUtils.d.ts +2 -0
- package/dist/scriptedRESTAPI/RestUtils.js +37 -9
- package/dist/scriptedRESTAPI/RestUtils.js.map +1 -1
- package/dist/scripts/ClientScriptPlugin.d.ts +18 -16
- package/dist/scripts/ClientScriptPlugin.js +48 -45
- package/dist/scripts/ClientScriptPlugin.js.map +1 -1
- package/dist/scripts/scriptUtils.d.ts +0 -14
- package/dist/scripts/scriptUtils.js +0 -74
- package/dist/scripts/scriptUtils.js.map +1 -1
- package/dist/uxf/ExperiencePlugin.d.ts +31 -3
- package/dist/uxf/ExperiencePlugin.js +10 -4
- package/dist/uxf/ExperiencePlugin.js.map +1 -1
- package/dist/uxf/RoutesPlugin.d.ts +10 -3
- package/dist/uxf/RoutesPlugin.js +20 -14
- package/dist/uxf/RoutesPlugin.js.map +1 -1
- package/package.json +6 -6
- package/src/AttachmentPlugin.ts +10 -2
- package/src/BusinessRulePlugin.ts +79 -104
- package/src/CrossScopePrivilegePlugin.ts +65 -5
- package/src/DefaultPlugin.ts +181 -173
- package/src/HtmlTemplatePlugin.ts +31 -0
- package/src/IdPlugin.ts +59 -28
- package/src/JsonPlugin.ts +81 -0
- package/src/ListPlugin.ts +38 -19
- package/src/NowConfigPlugin.ts +72 -0
- package/src/PackageJsonPlugin.ts +24 -0
- package/src/PropertyPlugin.ts +60 -38
- package/src/ScriptTemplatePlugin.ts +22 -179
- package/src/ServerModulePlugin.ts +267 -0
- package/src/UserPreferencePlugin.ts +28 -19
- package/src/aclAndRole/AclPlugin.ts +78 -109
- package/src/aclAndRole/RolePlugin.ts +85 -58
- package/src/app/ApplicationMenuPlugin.ts +15 -11
- package/src/atf/ATFComposer.ts +1 -1
- package/src/atf/TestPlugin.ts +14 -12
- package/src/db/ColumnPlugins.ts +36 -37
- package/src/db/DBUtils.ts +36 -0
- package/src/db/DocumentationPlugin.ts +282 -0
- package/src/db/RecordPlugin.ts +96 -98
- package/src/db/TablePlugin.ts +278 -152
- package/src/db/index.ts +2 -0
- package/src/index.ts +7 -2
- package/src/scriptedRESTAPI/RESTDeserializationUtils.ts +15 -7
- package/src/scriptedRESTAPI/RESTSerializationUtils.ts +7 -6
- package/src/scriptedRESTAPI/RestApiPlugin.ts +85 -75
- package/src/scriptedRESTAPI/RestUtils.ts +44 -11
- package/src/scripts/ClientScriptPlugin.ts +64 -68
- package/src/scripts/scriptUtils.ts +0 -76
- package/src/uxf/ExperiencePlugin.ts +14 -13
- package/src/uxf/RoutesPlugin.ts +22 -27
|
@@ -1,278 +1,740 @@
|
|
|
1
1
|
import * as db from '@servicenow/sdk-core/runtime/db';
|
|
2
|
-
import {
|
|
2
|
+
import { FluentDiagnostic, ObjectData } from '@servicenow/sdk-build-core';
|
|
3
3
|
export declare const StringColumnPlugin: {
|
|
4
4
|
readonly name: "stringColumn";
|
|
5
5
|
readonly extractors: {
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
6
|
+
readonly raw: {
|
|
7
|
+
readonly fluent: {
|
|
8
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
9
|
+
handled: false;
|
|
10
|
+
} | {
|
|
11
|
+
handled: true;
|
|
12
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>>>[];
|
|
13
|
+
diagnostics: FluentDiagnostic[];
|
|
14
|
+
} | {
|
|
15
|
+
handled: true;
|
|
16
|
+
diagnostics: FluentDiagnostic[];
|
|
17
|
+
data: ObjectData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>> & {
|
|
18
|
+
readonly entityKind: "string";
|
|
19
|
+
}>[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
8
22
|
};
|
|
9
23
|
};
|
|
10
24
|
};
|
|
11
25
|
export declare const BooleanColumnPlugin: {
|
|
12
26
|
readonly name: "booleanColumn";
|
|
13
27
|
readonly extractors: {
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
28
|
+
readonly raw: {
|
|
29
|
+
readonly fluent: {
|
|
30
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
31
|
+
handled: false;
|
|
32
|
+
} | {
|
|
33
|
+
handled: true;
|
|
34
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<boolean, db.Column<boolean, boolean>>>[];
|
|
35
|
+
diagnostics: FluentDiagnostic[];
|
|
36
|
+
} | {
|
|
37
|
+
handled: true;
|
|
38
|
+
diagnostics: FluentDiagnostic[];
|
|
39
|
+
data: ObjectData<db.Typed<boolean, db.Column<boolean, boolean>> & {
|
|
40
|
+
readonly entityKind: "boolean";
|
|
41
|
+
}>[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
16
44
|
};
|
|
17
45
|
};
|
|
18
46
|
};
|
|
19
47
|
export declare const IntegerColumnPlugin: {
|
|
20
48
|
readonly name: "integerColumn";
|
|
21
49
|
readonly extractors: {
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
50
|
+
readonly raw: {
|
|
51
|
+
readonly fluent: {
|
|
52
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
53
|
+
handled: false;
|
|
54
|
+
} | {
|
|
55
|
+
handled: true;
|
|
56
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<number, db.IntegerColumnType<db.Choices<number>, number, number, "none">>>[];
|
|
57
|
+
diagnostics: FluentDiagnostic[];
|
|
58
|
+
} | {
|
|
59
|
+
handled: true;
|
|
60
|
+
diagnostics: FluentDiagnostic[];
|
|
61
|
+
data: ObjectData<db.Typed<number, db.IntegerColumnType<db.Choices<number>, number, number, "none">> & {
|
|
62
|
+
readonly entityKind: "integer";
|
|
63
|
+
}>[];
|
|
64
|
+
};
|
|
65
|
+
};
|
|
24
66
|
};
|
|
25
67
|
};
|
|
26
68
|
};
|
|
27
69
|
export declare const BasicImageColumnPlugin: {
|
|
28
70
|
readonly name: "basicImageColumn";
|
|
29
71
|
readonly extractors: {
|
|
30
|
-
readonly
|
|
31
|
-
readonly
|
|
72
|
+
readonly raw: {
|
|
73
|
+
readonly fluent: {
|
|
74
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
75
|
+
handled: false;
|
|
76
|
+
} | {
|
|
77
|
+
handled: true;
|
|
78
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string>>>[];
|
|
79
|
+
diagnostics: FluentDiagnostic[];
|
|
80
|
+
} | {
|
|
81
|
+
handled: true;
|
|
82
|
+
diagnostics: FluentDiagnostic[];
|
|
83
|
+
data: ObjectData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string>> & {
|
|
84
|
+
readonly entityKind: "basicImage";
|
|
85
|
+
}>[];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
32
88
|
};
|
|
33
89
|
};
|
|
34
90
|
};
|
|
35
91
|
export declare const ConditionsColumnPlugin: {
|
|
36
92
|
readonly name: "conditionsColumn";
|
|
37
93
|
readonly extractors: {
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
94
|
+
readonly raw: {
|
|
95
|
+
readonly fluent: {
|
|
96
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
97
|
+
handled: false;
|
|
98
|
+
} | {
|
|
99
|
+
handled: true;
|
|
100
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string, db.Column<string, string>>>[];
|
|
101
|
+
diagnostics: FluentDiagnostic[];
|
|
102
|
+
} | {
|
|
103
|
+
handled: true;
|
|
104
|
+
diagnostics: FluentDiagnostic[];
|
|
105
|
+
data: ObjectData<db.Typed<string, db.Column<string, string>> & {
|
|
106
|
+
readonly entityKind: "conditions";
|
|
107
|
+
}>[];
|
|
108
|
+
};
|
|
109
|
+
};
|
|
40
110
|
};
|
|
41
111
|
};
|
|
42
112
|
};
|
|
43
113
|
export declare const ChoiceColumnPlugin: {
|
|
44
114
|
readonly name: "choiceColumn";
|
|
45
115
|
readonly extractors: {
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
116
|
+
readonly raw: {
|
|
117
|
+
readonly fluent: {
|
|
118
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
119
|
+
handled: false;
|
|
120
|
+
} | {
|
|
121
|
+
handled: true;
|
|
122
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string | number, db.ChoiceColumnType<db.Choices<string | number>, string | number, string | number, keyof Now.Internal.Tables, "none" | "dropdown_with_none" | "suggestion" | "dropdown_without_none">>>[];
|
|
123
|
+
diagnostics: FluentDiagnostic[];
|
|
124
|
+
} | {
|
|
125
|
+
handled: true;
|
|
126
|
+
diagnostics: FluentDiagnostic[];
|
|
127
|
+
data: ObjectData<db.Typed<string | number, db.ChoiceColumnType<db.Choices<string | number>, string | number, string | number, keyof Now.Internal.Tables, "none" | "dropdown_with_none" | "suggestion" | "dropdown_without_none">> & {
|
|
128
|
+
readonly entityKind: "choice";
|
|
129
|
+
}>[];
|
|
130
|
+
};
|
|
131
|
+
};
|
|
48
132
|
};
|
|
49
133
|
};
|
|
50
134
|
};
|
|
51
135
|
export declare const DecimalColumnPlugin: {
|
|
52
136
|
readonly name: "decimalColumn";
|
|
53
137
|
readonly extractors: {
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
138
|
+
readonly raw: {
|
|
139
|
+
readonly fluent: {
|
|
140
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
141
|
+
handled: false;
|
|
142
|
+
} | {
|
|
143
|
+
handled: true;
|
|
144
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<number, db.Column<number, number>>>[];
|
|
145
|
+
diagnostics: FluentDiagnostic[];
|
|
146
|
+
} | {
|
|
147
|
+
handled: true;
|
|
148
|
+
diagnostics: FluentDiagnostic[];
|
|
149
|
+
data: ObjectData<db.Typed<number, db.Column<number, number>> & {
|
|
150
|
+
readonly entityKind: "decimal";
|
|
151
|
+
}>[];
|
|
152
|
+
};
|
|
153
|
+
};
|
|
56
154
|
};
|
|
57
155
|
};
|
|
58
156
|
};
|
|
59
157
|
export declare const DocumentIdColumnPlugin: {
|
|
60
158
|
readonly name: "documentIdColumn";
|
|
61
159
|
readonly extractors: {
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
64
|
-
|
|
65
|
-
|
|
160
|
+
readonly raw: {
|
|
161
|
+
readonly fluent: {
|
|
162
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
163
|
+
handled: false;
|
|
164
|
+
} | {
|
|
165
|
+
handled: true;
|
|
166
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string | db.Record, db.Column<string | db.Record, string | db.Record> & {
|
|
167
|
+
dependent?: db.TableNameColumnType;
|
|
168
|
+
}>>[];
|
|
169
|
+
diagnostics: FluentDiagnostic[];
|
|
170
|
+
} | {
|
|
171
|
+
handled: true;
|
|
172
|
+
diagnostics: FluentDiagnostic[];
|
|
173
|
+
data: ObjectData<db.Typed<string | db.Record, db.Column<string | db.Record, string | db.Record> & {
|
|
174
|
+
dependent?: db.TableNameColumnType;
|
|
175
|
+
}> & {
|
|
176
|
+
readonly entityKind: "documentId";
|
|
177
|
+
}>[];
|
|
178
|
+
};
|
|
179
|
+
};
|
|
66
180
|
};
|
|
67
181
|
};
|
|
68
182
|
};
|
|
69
183
|
export declare const DomainIdColumnPlugin: {
|
|
70
184
|
readonly name: "domainIdColumn";
|
|
71
185
|
readonly extractors: {
|
|
72
|
-
readonly
|
|
73
|
-
readonly
|
|
186
|
+
readonly raw: {
|
|
187
|
+
readonly fluent: {
|
|
188
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
189
|
+
handled: false;
|
|
190
|
+
} | {
|
|
191
|
+
handled: true;
|
|
192
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<db.Record<"domain"> | "global", db.Column<db.Record<"domain"> | "global", db.Record<"domain"> | "global">>>[];
|
|
193
|
+
diagnostics: FluentDiagnostic[];
|
|
194
|
+
} | {
|
|
195
|
+
handled: true;
|
|
196
|
+
diagnostics: FluentDiagnostic[];
|
|
197
|
+
data: ObjectData<db.Typed<db.Record<"domain"> | "global", db.Column<db.Record<"domain"> | "global", db.Record<"domain"> | "global">> & {
|
|
198
|
+
readonly entityKind: "domainId";
|
|
199
|
+
}>[];
|
|
200
|
+
};
|
|
201
|
+
};
|
|
74
202
|
};
|
|
75
203
|
};
|
|
76
204
|
};
|
|
77
205
|
export declare const DomainPathColumnPlugin: {
|
|
78
206
|
readonly name: "domainPathColumn";
|
|
79
207
|
readonly extractors: {
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
208
|
+
readonly raw: {
|
|
209
|
+
readonly fluent: {
|
|
210
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
211
|
+
handled: false;
|
|
212
|
+
} | {
|
|
213
|
+
handled: true;
|
|
214
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>>>[];
|
|
215
|
+
diagnostics: FluentDiagnostic[];
|
|
216
|
+
} | {
|
|
217
|
+
handled: true;
|
|
218
|
+
diagnostics: FluentDiagnostic[];
|
|
219
|
+
data: ObjectData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>> & {
|
|
220
|
+
readonly entityKind: "domainPath";
|
|
221
|
+
}>[];
|
|
222
|
+
};
|
|
223
|
+
};
|
|
82
224
|
};
|
|
83
225
|
};
|
|
84
226
|
};
|
|
85
227
|
export declare const ListColumnPlugin: {
|
|
86
228
|
readonly name: "listColumn";
|
|
87
229
|
readonly extractors: {
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
|
|
91
|
-
|
|
230
|
+
readonly raw: {
|
|
231
|
+
readonly fluent: {
|
|
232
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
233
|
+
handled: false;
|
|
234
|
+
} | {
|
|
235
|
+
handled: true;
|
|
236
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<db.Record<keyof Now.Internal.Tables>[], db.Column<db.Record<keyof Now.Internal.Tables>[], db.Record<keyof Now.Internal.Tables>[]> & {
|
|
237
|
+
referenceTable?: keyof Now.Internal.Tables;
|
|
238
|
+
}>>[];
|
|
239
|
+
diagnostics: FluentDiagnostic[];
|
|
240
|
+
} | {
|
|
241
|
+
handled: true;
|
|
242
|
+
diagnostics: FluentDiagnostic[];
|
|
243
|
+
data: ObjectData<db.Typed<db.Record<keyof Now.Internal.Tables>[], db.Column<db.Record<keyof Now.Internal.Tables>[], db.Record<keyof Now.Internal.Tables>[]> & {
|
|
244
|
+
referenceTable?: keyof Now.Internal.Tables;
|
|
245
|
+
}> & {
|
|
246
|
+
readonly entityKind: "list";
|
|
247
|
+
}>[];
|
|
248
|
+
};
|
|
249
|
+
};
|
|
92
250
|
};
|
|
93
251
|
};
|
|
94
252
|
};
|
|
95
253
|
export declare const ReferenceColumnPlugin: {
|
|
96
254
|
readonly name: "referenceColumn";
|
|
97
255
|
readonly extractors: {
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
256
|
+
readonly raw: {
|
|
257
|
+
readonly fluent: {
|
|
258
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
259
|
+
handled: false;
|
|
260
|
+
} | {
|
|
261
|
+
handled: true;
|
|
262
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string | db.Record<keyof Now.Internal.Tables> | Now.Internal.ExplicitKey<keyof Now.Internal.Tables>, db.Column<string | db.Record<keyof Now.Internal.Tables> | Now.Internal.ExplicitKey<keyof Now.Internal.Tables>, string | db.Record<keyof Now.Internal.Tables> | Now.Internal.ExplicitKey<keyof Now.Internal.Tables>> & {
|
|
263
|
+
referenceTable?: keyof Now.Internal.Tables;
|
|
264
|
+
cascadeRule?: "none" | "delete_no_workflow" | "cascade" | "delete" | "restrict" | "clear";
|
|
265
|
+
}>>[];
|
|
266
|
+
diagnostics: FluentDiagnostic[];
|
|
267
|
+
} | {
|
|
268
|
+
handled: true;
|
|
269
|
+
diagnostics: FluentDiagnostic[];
|
|
270
|
+
data: ObjectData<db.Typed<string | db.Record<keyof Now.Internal.Tables> | Now.Internal.ExplicitKey<keyof Now.Internal.Tables>, db.Column<string | db.Record<keyof Now.Internal.Tables> | Now.Internal.ExplicitKey<keyof Now.Internal.Tables>, string | db.Record<keyof Now.Internal.Tables> | Now.Internal.ExplicitKey<keyof Now.Internal.Tables>> & {
|
|
271
|
+
referenceTable?: keyof Now.Internal.Tables;
|
|
272
|
+
cascadeRule?: "none" | "delete_no_workflow" | "cascade" | "delete" | "restrict" | "clear";
|
|
273
|
+
}> & {
|
|
274
|
+
readonly entityKind: "reference";
|
|
275
|
+
}>[];
|
|
276
|
+
};
|
|
277
|
+
};
|
|
100
278
|
};
|
|
101
279
|
};
|
|
102
280
|
};
|
|
103
281
|
export declare const RadioColumnPlugin: {
|
|
104
282
|
readonly name: "radioColumn";
|
|
105
283
|
readonly extractors: {
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
284
|
+
readonly raw: {
|
|
285
|
+
readonly fluent: {
|
|
286
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
287
|
+
handled: false;
|
|
288
|
+
} | {
|
|
289
|
+
handled: true;
|
|
290
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string | number, db.RadioColumnType<db.Choices, string | number, string | number>>>[];
|
|
291
|
+
diagnostics: FluentDiagnostic[];
|
|
292
|
+
} | {
|
|
293
|
+
handled: true;
|
|
294
|
+
diagnostics: FluentDiagnostic[];
|
|
295
|
+
data: ObjectData<db.Typed<string | number, db.RadioColumnType<db.Choices, string | number, string | number>> & {
|
|
296
|
+
readonly entityKind: "radio";
|
|
297
|
+
}>[];
|
|
298
|
+
};
|
|
299
|
+
};
|
|
108
300
|
};
|
|
109
301
|
};
|
|
110
302
|
};
|
|
111
303
|
export declare const ScriptColumnPlugin: {
|
|
112
304
|
readonly name: "scriptColumn";
|
|
113
305
|
readonly extractors: {
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
|
|
117
|
-
|
|
306
|
+
readonly raw: {
|
|
307
|
+
readonly fluent: {
|
|
308
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
309
|
+
handled: false;
|
|
310
|
+
} | {
|
|
311
|
+
handled: true;
|
|
312
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string | db.ScriptModule<Function>, db.Column<string | db.ScriptModule<Function>, string | db.ScriptModule<Function>> & {
|
|
313
|
+
signature?: Function;
|
|
314
|
+
}>>[];
|
|
315
|
+
diagnostics: FluentDiagnostic[];
|
|
316
|
+
} | {
|
|
317
|
+
handled: true;
|
|
318
|
+
diagnostics: FluentDiagnostic[];
|
|
319
|
+
data: ObjectData<db.Typed<string | db.ScriptModule<Function>, db.Column<string | db.ScriptModule<Function>, string | db.ScriptModule<Function>> & {
|
|
320
|
+
signature?: Function;
|
|
321
|
+
}> & {
|
|
322
|
+
readonly entityKind: "script";
|
|
323
|
+
}>[];
|
|
324
|
+
};
|
|
325
|
+
};
|
|
118
326
|
};
|
|
119
327
|
};
|
|
120
328
|
};
|
|
121
329
|
export declare const SystemClassNameColumnPlugin: {
|
|
122
330
|
readonly name: "systemClassNameColumn";
|
|
123
331
|
readonly extractors: {
|
|
124
|
-
readonly
|
|
125
|
-
readonly
|
|
332
|
+
readonly raw: {
|
|
333
|
+
readonly fluent: {
|
|
334
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
335
|
+
handled: false;
|
|
336
|
+
} | {
|
|
337
|
+
handled: true;
|
|
338
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>>>[];
|
|
339
|
+
diagnostics: FluentDiagnostic[];
|
|
340
|
+
} | {
|
|
341
|
+
handled: true;
|
|
342
|
+
diagnostics: FluentDiagnostic[];
|
|
343
|
+
data: ObjectData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>> & {
|
|
344
|
+
readonly entityKind: "systemClassName";
|
|
345
|
+
}>[];
|
|
346
|
+
};
|
|
347
|
+
};
|
|
126
348
|
};
|
|
127
349
|
};
|
|
128
350
|
};
|
|
129
351
|
export declare const TableNameColumnPlugin: {
|
|
130
352
|
readonly name: "tableNameColumn";
|
|
131
353
|
readonly extractors: {
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
354
|
+
readonly raw: {
|
|
355
|
+
readonly fluent: {
|
|
356
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
357
|
+
handled: false;
|
|
358
|
+
} | {
|
|
359
|
+
handled: true;
|
|
360
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<keyof Now.Internal.Tables, db.TableNameColumnType<keyof Now.Internal.Tables, keyof Now.Internal.Tables>>>[];
|
|
361
|
+
diagnostics: FluentDiagnostic[];
|
|
362
|
+
} | {
|
|
363
|
+
handled: true;
|
|
364
|
+
diagnostics: FluentDiagnostic[];
|
|
365
|
+
data: ObjectData<db.Typed<keyof Now.Internal.Tables, db.TableNameColumnType<keyof Now.Internal.Tables, keyof Now.Internal.Tables>> & {
|
|
366
|
+
readonly entityKind: "tableName";
|
|
367
|
+
}>[];
|
|
368
|
+
};
|
|
369
|
+
};
|
|
134
370
|
};
|
|
135
371
|
};
|
|
136
372
|
};
|
|
137
373
|
export declare const TranslatedFieldColumnPlugin: {
|
|
138
374
|
readonly name: "translatedFieldColumn";
|
|
139
375
|
readonly extractors: {
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
376
|
+
readonly raw: {
|
|
377
|
+
readonly fluent: {
|
|
378
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
379
|
+
handled: false;
|
|
380
|
+
} | {
|
|
381
|
+
handled: true;
|
|
382
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>>>[];
|
|
383
|
+
diagnostics: FluentDiagnostic[];
|
|
384
|
+
} | {
|
|
385
|
+
handled: true;
|
|
386
|
+
diagnostics: FluentDiagnostic[];
|
|
387
|
+
data: ObjectData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>> & {
|
|
388
|
+
readonly entityKind: "translatedField";
|
|
389
|
+
}>[];
|
|
390
|
+
};
|
|
391
|
+
};
|
|
142
392
|
};
|
|
143
393
|
};
|
|
144
394
|
};
|
|
145
395
|
export declare const TranslatedTextColumnPlugin: {
|
|
146
396
|
readonly name: "translatedTextColumn";
|
|
147
397
|
readonly extractors: {
|
|
148
|
-
readonly
|
|
149
|
-
readonly
|
|
398
|
+
readonly raw: {
|
|
399
|
+
readonly fluent: {
|
|
400
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
401
|
+
handled: false;
|
|
402
|
+
} | {
|
|
403
|
+
handled: true;
|
|
404
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>>>[];
|
|
405
|
+
diagnostics: FluentDiagnostic[];
|
|
406
|
+
} | {
|
|
407
|
+
handled: true;
|
|
408
|
+
diagnostics: FluentDiagnostic[];
|
|
409
|
+
data: ObjectData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>> & {
|
|
410
|
+
readonly entityKind: "translatedText";
|
|
411
|
+
}>[];
|
|
412
|
+
};
|
|
413
|
+
};
|
|
150
414
|
};
|
|
151
415
|
};
|
|
152
416
|
};
|
|
153
417
|
export declare const UserRolesColumnPlugin: {
|
|
154
418
|
readonly name: "userRolesColumn";
|
|
155
419
|
readonly extractors: {
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
420
|
+
readonly raw: {
|
|
421
|
+
readonly fluent: {
|
|
422
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
423
|
+
handled: false;
|
|
424
|
+
} | {
|
|
425
|
+
handled: true;
|
|
426
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string | {
|
|
427
|
+
$id: string | number;
|
|
428
|
+
name: string;
|
|
429
|
+
assignable_by?: string | undefined;
|
|
430
|
+
can_delegate?: boolean | undefined;
|
|
431
|
+
description?: string | undefined;
|
|
432
|
+
elevated_privilege?: boolean | undefined;
|
|
433
|
+
grantable?: boolean | undefined;
|
|
434
|
+
contains_roles?: any[] | undefined;
|
|
435
|
+
scoped_admin?: boolean | undefined;
|
|
436
|
+
}, db.Column<string | {
|
|
437
|
+
$id: string | number;
|
|
438
|
+
name: string;
|
|
439
|
+
assignable_by?: string | undefined;
|
|
440
|
+
can_delegate?: boolean | undefined;
|
|
441
|
+
description?: string | undefined;
|
|
442
|
+
elevated_privilege?: boolean | undefined;
|
|
443
|
+
grantable?: boolean | undefined;
|
|
444
|
+
contains_roles?: any[] | undefined;
|
|
445
|
+
scoped_admin?: boolean | undefined;
|
|
446
|
+
}, string | {
|
|
447
|
+
$id: string | number;
|
|
448
|
+
name: string;
|
|
449
|
+
assignable_by?: string | undefined;
|
|
450
|
+
can_delegate?: boolean | undefined;
|
|
451
|
+
description?: string | undefined;
|
|
452
|
+
elevated_privilege?: boolean | undefined;
|
|
453
|
+
grantable?: boolean | undefined;
|
|
454
|
+
contains_roles?: any[] | undefined;
|
|
455
|
+
scoped_admin?: boolean | undefined;
|
|
456
|
+
}>>>[];
|
|
457
|
+
diagnostics: FluentDiagnostic[];
|
|
458
|
+
} | {
|
|
459
|
+
handled: true;
|
|
460
|
+
diagnostics: FluentDiagnostic[];
|
|
461
|
+
data: ObjectData<db.Typed<string | {
|
|
462
|
+
$id: string | number;
|
|
463
|
+
name: string;
|
|
464
|
+
assignable_by?: string | undefined;
|
|
465
|
+
can_delegate?: boolean | undefined;
|
|
466
|
+
description?: string | undefined;
|
|
467
|
+
elevated_privilege?: boolean | undefined;
|
|
468
|
+
grantable?: boolean | undefined;
|
|
469
|
+
contains_roles?: any[] | undefined;
|
|
470
|
+
scoped_admin?: boolean | undefined;
|
|
471
|
+
}, db.Column<string | {
|
|
472
|
+
$id: string | number;
|
|
473
|
+
name: string;
|
|
474
|
+
assignable_by?: string | undefined;
|
|
475
|
+
can_delegate?: boolean | undefined;
|
|
476
|
+
description?: string | undefined;
|
|
477
|
+
elevated_privilege?: boolean | undefined;
|
|
478
|
+
grantable?: boolean | undefined;
|
|
479
|
+
contains_roles?: any[] | undefined;
|
|
480
|
+
scoped_admin?: boolean | undefined;
|
|
481
|
+
}, string | {
|
|
482
|
+
$id: string | number;
|
|
483
|
+
name: string;
|
|
484
|
+
assignable_by?: string | undefined;
|
|
485
|
+
can_delegate?: boolean | undefined;
|
|
486
|
+
description?: string | undefined;
|
|
487
|
+
elevated_privilege?: boolean | undefined;
|
|
488
|
+
grantable?: boolean | undefined;
|
|
489
|
+
contains_roles?: any[] | undefined;
|
|
490
|
+
scoped_admin?: boolean | undefined;
|
|
491
|
+
}>> & {
|
|
492
|
+
readonly entityKind: "userRoles";
|
|
493
|
+
}>[];
|
|
494
|
+
};
|
|
495
|
+
};
|
|
188
496
|
};
|
|
189
497
|
};
|
|
190
498
|
};
|
|
191
499
|
export declare const VersionColumnPlugin: {
|
|
192
500
|
readonly name: "versionColumn";
|
|
193
501
|
readonly extractors: {
|
|
194
|
-
readonly
|
|
195
|
-
readonly
|
|
502
|
+
readonly raw: {
|
|
503
|
+
readonly fluent: {
|
|
504
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
505
|
+
handled: false;
|
|
506
|
+
} | {
|
|
507
|
+
handled: true;
|
|
508
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<`${bigint}.${bigint}.${bigint}`, db.Column<`${bigint}.${bigint}.${bigint}`, `${bigint}.${bigint}.${bigint}`>>>[];
|
|
509
|
+
diagnostics: FluentDiagnostic[];
|
|
510
|
+
} | {
|
|
511
|
+
handled: true;
|
|
512
|
+
diagnostics: FluentDiagnostic[];
|
|
513
|
+
data: ObjectData<db.Typed<`${bigint}.${bigint}.${bigint}`, db.Column<`${bigint}.${bigint}.${bigint}`, `${bigint}.${bigint}.${bigint}`>> & {
|
|
514
|
+
readonly entityKind: "version";
|
|
515
|
+
}>[];
|
|
516
|
+
};
|
|
517
|
+
};
|
|
196
518
|
};
|
|
197
519
|
};
|
|
198
520
|
};
|
|
199
521
|
export declare const FieldNameColumnPlugin: {
|
|
200
522
|
readonly name: "fieldNameColumn";
|
|
201
523
|
readonly extractors: {
|
|
202
|
-
readonly
|
|
203
|
-
readonly
|
|
524
|
+
readonly raw: {
|
|
525
|
+
readonly fluent: {
|
|
526
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
527
|
+
handled: false;
|
|
528
|
+
} | {
|
|
529
|
+
handled: true;
|
|
530
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>>>[];
|
|
531
|
+
diagnostics: FluentDiagnostic[];
|
|
532
|
+
} | {
|
|
533
|
+
handled: true;
|
|
534
|
+
diagnostics: FluentDiagnostic[];
|
|
535
|
+
data: ObjectData<db.Typed<string, db.StringColumnType<db.Choices<string>, "none", string, string, keyof Now.Internal.Tables>> & {
|
|
536
|
+
readonly entityKind: "fieldName";
|
|
537
|
+
}>[];
|
|
538
|
+
};
|
|
539
|
+
};
|
|
204
540
|
};
|
|
205
541
|
};
|
|
206
542
|
};
|
|
207
543
|
export declare const DateColumnPlugin: {
|
|
208
544
|
readonly name: "glide_dateColumn";
|
|
209
545
|
readonly extractors: {
|
|
210
|
-
readonly
|
|
211
|
-
readonly
|
|
546
|
+
readonly raw: {
|
|
547
|
+
readonly fluent: {
|
|
548
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
549
|
+
handled: false;
|
|
550
|
+
} | {
|
|
551
|
+
handled: true;
|
|
552
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<`${number}-${number}-${number}`, db.Column<`${number}-${number}-${number}`, `${number}-${number}-${number}`>>>[];
|
|
553
|
+
diagnostics: FluentDiagnostic[];
|
|
554
|
+
} | {
|
|
555
|
+
handled: true;
|
|
556
|
+
diagnostics: FluentDiagnostic[];
|
|
557
|
+
data: ObjectData<db.Typed<`${number}-${number}-${number}`, db.Column<`${number}-${number}-${number}`, `${number}-${number}-${number}`>> & {
|
|
558
|
+
readonly entityKind: "glide_date";
|
|
559
|
+
}>[];
|
|
560
|
+
};
|
|
561
|
+
};
|
|
212
562
|
};
|
|
213
563
|
};
|
|
214
564
|
};
|
|
215
565
|
export declare const DateTimeColumnPlugin: {
|
|
216
566
|
readonly name: "glide_date_timeColumn";
|
|
217
567
|
readonly extractors: {
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
568
|
+
readonly raw: {
|
|
569
|
+
readonly fluent: {
|
|
570
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
571
|
+
handled: false;
|
|
572
|
+
} | {
|
|
573
|
+
handled: true;
|
|
574
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<`${number}-${number}-${number} ${number}:${number}:${number}`, db.Column<`${number}-${number}-${number} ${number}:${number}:${number}`, `${number}-${number}-${number} ${number}:${number}:${number}`>>>[];
|
|
575
|
+
diagnostics: FluentDiagnostic[];
|
|
576
|
+
} | {
|
|
577
|
+
handled: true;
|
|
578
|
+
diagnostics: FluentDiagnostic[];
|
|
579
|
+
data: ObjectData<db.Typed<`${number}-${number}-${number} ${number}:${number}:${number}`, db.Column<`${number}-${number}-${number} ${number}:${number}:${number}`, `${number}-${number}-${number} ${number}:${number}:${number}`>> & {
|
|
580
|
+
readonly entityKind: "glide_date_time";
|
|
581
|
+
}>[];
|
|
582
|
+
};
|
|
583
|
+
};
|
|
220
584
|
};
|
|
221
585
|
};
|
|
222
586
|
};
|
|
223
587
|
export declare const CalendarDateTimeColumnPlugin: {
|
|
224
588
|
readonly name: "calendar_date_timeColumn";
|
|
225
589
|
readonly extractors: {
|
|
226
|
-
readonly
|
|
227
|
-
readonly
|
|
590
|
+
readonly raw: {
|
|
591
|
+
readonly fluent: {
|
|
592
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
593
|
+
handled: false;
|
|
594
|
+
} | {
|
|
595
|
+
handled: true;
|
|
596
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<`${number}-${number}-${number} ${number}:${number}:${number}`, db.Column<`${number}-${number}-${number} ${number}:${number}:${number}`, `${number}-${number}-${number} ${number}:${number}:${number}`>>>[];
|
|
597
|
+
diagnostics: FluentDiagnostic[];
|
|
598
|
+
} | {
|
|
599
|
+
handled: true;
|
|
600
|
+
diagnostics: FluentDiagnostic[];
|
|
601
|
+
data: ObjectData<db.Typed<`${number}-${number}-${number} ${number}:${number}:${number}`, db.Column<`${number}-${number}-${number} ${number}:${number}:${number}`, `${number}-${number}-${number} ${number}:${number}:${number}`>> & {
|
|
602
|
+
readonly entityKind: "calendar_date_time";
|
|
603
|
+
}>[];
|
|
604
|
+
};
|
|
605
|
+
};
|
|
228
606
|
};
|
|
229
607
|
};
|
|
230
608
|
};
|
|
231
609
|
export declare const BasicDateTimeColumnPlugin: {
|
|
232
610
|
readonly name: "datetimeColumn";
|
|
233
611
|
readonly extractors: {
|
|
234
|
-
readonly
|
|
235
|
-
readonly
|
|
612
|
+
readonly raw: {
|
|
613
|
+
readonly fluent: {
|
|
614
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
615
|
+
handled: false;
|
|
616
|
+
} | {
|
|
617
|
+
handled: true;
|
|
618
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<`${number}-${number}-${number} ${number}:${number}:${number}`, db.Column<`${number}-${number}-${number} ${number}:${number}:${number}`, `${number}-${number}-${number} ${number}:${number}:${number}`>>>[];
|
|
619
|
+
diagnostics: FluentDiagnostic[];
|
|
620
|
+
} | {
|
|
621
|
+
handled: true;
|
|
622
|
+
diagnostics: FluentDiagnostic[];
|
|
623
|
+
data: ObjectData<db.Typed<`${number}-${number}-${number} ${number}:${number}:${number}`, db.Column<`${number}-${number}-${number} ${number}:${number}:${number}`, `${number}-${number}-${number} ${number}:${number}:${number}`>> & {
|
|
624
|
+
readonly entityKind: "datetime";
|
|
625
|
+
}>[];
|
|
626
|
+
};
|
|
627
|
+
};
|
|
236
628
|
};
|
|
237
629
|
};
|
|
238
630
|
};
|
|
239
631
|
export declare const DueDateColumnPlugin: {
|
|
240
632
|
readonly name: "due_dateColumn";
|
|
241
633
|
readonly extractors: {
|
|
242
|
-
readonly
|
|
243
|
-
readonly
|
|
634
|
+
readonly raw: {
|
|
635
|
+
readonly fluent: {
|
|
636
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
637
|
+
handled: false;
|
|
638
|
+
} | {
|
|
639
|
+
handled: true;
|
|
640
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<`${number}-${number}-${number} ${number}:${number}:${number}`, db.Column<`${number}-${number}-${number} ${number}:${number}:${number}`, `${number}-${number}-${number} ${number}:${number}:${number}`>>>[];
|
|
641
|
+
diagnostics: FluentDiagnostic[];
|
|
642
|
+
} | {
|
|
643
|
+
handled: true;
|
|
644
|
+
diagnostics: FluentDiagnostic[];
|
|
645
|
+
data: ObjectData<db.Typed<`${number}-${number}-${number} ${number}:${number}:${number}`, db.Column<`${number}-${number}-${number} ${number}:${number}:${number}`, `${number}-${number}-${number} ${number}:${number}:${number}`>> & {
|
|
646
|
+
readonly entityKind: "due_date";
|
|
647
|
+
}>[];
|
|
648
|
+
};
|
|
649
|
+
};
|
|
244
650
|
};
|
|
245
651
|
};
|
|
246
652
|
};
|
|
247
653
|
export declare const IntegerDateColumnPlugin: {
|
|
248
654
|
readonly name: "integer_dateColumn";
|
|
249
655
|
readonly extractors: {
|
|
250
|
-
readonly
|
|
251
|
-
readonly
|
|
656
|
+
readonly raw: {
|
|
657
|
+
readonly fluent: {
|
|
658
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
659
|
+
handled: false;
|
|
660
|
+
} | {
|
|
661
|
+
handled: true;
|
|
662
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<number, db.Column<number, number>>>[];
|
|
663
|
+
diagnostics: FluentDiagnostic[];
|
|
664
|
+
} | {
|
|
665
|
+
handled: true;
|
|
666
|
+
diagnostics: FluentDiagnostic[];
|
|
667
|
+
data: ObjectData<db.Typed<number, db.Column<number, number>> & {
|
|
668
|
+
readonly entityKind: "integer_date";
|
|
669
|
+
}>[];
|
|
670
|
+
};
|
|
671
|
+
};
|
|
252
672
|
};
|
|
253
673
|
};
|
|
254
674
|
};
|
|
255
675
|
export declare const ScheduleDateTimeColumnPlugin: {
|
|
256
676
|
readonly name: "schedule_date_timeColumn";
|
|
257
677
|
readonly extractors: {
|
|
258
|
-
readonly
|
|
259
|
-
readonly
|
|
678
|
+
readonly raw: {
|
|
679
|
+
readonly fluent: {
|
|
680
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
681
|
+
handled: false;
|
|
682
|
+
} | {
|
|
683
|
+
handled: true;
|
|
684
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string, db.Column<string, string>>>[];
|
|
685
|
+
diagnostics: FluentDiagnostic[];
|
|
686
|
+
} | {
|
|
687
|
+
handled: true;
|
|
688
|
+
diagnostics: FluentDiagnostic[];
|
|
689
|
+
data: ObjectData<db.Typed<string, db.Column<string, string>> & {
|
|
690
|
+
readonly entityKind: "schedule_date_time";
|
|
691
|
+
}>[];
|
|
692
|
+
};
|
|
693
|
+
};
|
|
260
694
|
};
|
|
261
695
|
};
|
|
262
696
|
};
|
|
263
697
|
export declare const OtherDateColumnPlugin: {
|
|
264
698
|
readonly name: "dateColumn";
|
|
265
699
|
readonly extractors: {
|
|
266
|
-
readonly
|
|
267
|
-
readonly
|
|
700
|
+
readonly raw: {
|
|
701
|
+
readonly fluent: {
|
|
702
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
703
|
+
handled: false;
|
|
704
|
+
} | {
|
|
705
|
+
handled: true;
|
|
706
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<`${number}-${number}-${number}`, db.Column<`${number}-${number}-${number}`, `${number}-${number}-${number}`>>>[];
|
|
707
|
+
diagnostics: FluentDiagnostic[];
|
|
708
|
+
} | {
|
|
709
|
+
handled: true;
|
|
710
|
+
diagnostics: FluentDiagnostic[];
|
|
711
|
+
data: ObjectData<db.Typed<`${number}-${number}-${number}`, db.Column<`${number}-${number}-${number}`, `${number}-${number}-${number}`>> & {
|
|
712
|
+
readonly entityKind: "date";
|
|
713
|
+
}>[];
|
|
714
|
+
};
|
|
715
|
+
};
|
|
268
716
|
};
|
|
269
717
|
};
|
|
270
718
|
};
|
|
271
719
|
export declare const GenericColumnPlugin: {
|
|
272
720
|
readonly name: "genericColumn";
|
|
273
721
|
readonly extractors: {
|
|
274
|
-
readonly
|
|
275
|
-
readonly
|
|
722
|
+
readonly raw: {
|
|
723
|
+
readonly fluent: {
|
|
724
|
+
readonly CallExpression: (node: import("ts-morph").CallExpression<import("ts-morph").ts.CallExpression>, context: import("@servicenow/sdk-build-core").Context) => {
|
|
725
|
+
handled: false;
|
|
726
|
+
} | {
|
|
727
|
+
handled: true;
|
|
728
|
+
data: import("@servicenow/sdk-build-core").EntityData<db.Typed<string | number, db.GenericColumnType<db.Choices<string | number>, string | number, string | number, "none">>>[];
|
|
729
|
+
diagnostics: FluentDiagnostic[];
|
|
730
|
+
} | {
|
|
731
|
+
handled: true;
|
|
732
|
+
diagnostics: FluentDiagnostic[];
|
|
733
|
+
data: ObjectData<db.Typed<string | number, db.GenericColumnType<db.Choices<string | number>, string | number, string | number, "none">> & {
|
|
734
|
+
readonly entityKind: "generic";
|
|
735
|
+
}>[];
|
|
736
|
+
};
|
|
737
|
+
};
|
|
276
738
|
};
|
|
277
739
|
};
|
|
278
740
|
};
|