@objectstack/spec 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -1
- package/dist/api/contract.zod.d.ts +1733 -0
- package/dist/api/contract.zod.d.ts.map +1 -0
- package/dist/api/contract.zod.js +138 -0
- package/dist/data/dataset.zod.d.ts +2 -2
- package/dist/data/field.zod.d.ts +1648 -10
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +149 -8
- package/dist/data/filter.zod.d.ts +295 -0
- package/dist/data/filter.zod.d.ts.map +1 -0
- package/dist/data/filter.zod.js +226 -0
- package/dist/data/mapping.zod.d.ts +215 -2
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/object.zod.d.ts +505 -25
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +32 -5
- package/dist/data/query.zod.d.ts +349 -0
- package/dist/data/query.zod.d.ts.map +1 -1
- package/dist/data/query.zod.js +77 -1
- package/dist/data/trigger.zod.d.ts +354 -0
- package/dist/data/trigger.zod.d.ts.map +1 -0
- package/dist/data/trigger.zod.js +195 -0
- package/dist/data/validation.zod.d.ts +83 -43
- package/dist/data/validation.zod.d.ts.map +1 -1
- package/dist/data/validation.zod.js +51 -5
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -0
- package/dist/system/api.zod.d.ts +130 -4
- package/dist/system/api.zod.d.ts.map +1 -1
- package/dist/system/api.zod.js +4 -1
- package/dist/system/auth.zod.d.ts +2287 -0
- package/dist/system/auth.zod.d.ts.map +1 -0
- package/dist/system/auth.zod.js +365 -0
- package/dist/system/datasource.zod.d.ts +193 -30
- package/dist/system/datasource.zod.d.ts.map +1 -1
- package/dist/system/datasource.zod.js +58 -11
- package/dist/system/discovery.zod.d.ts +174 -0
- package/dist/system/discovery.zod.d.ts.map +1 -0
- package/dist/system/discovery.zod.js +53 -0
- package/dist/system/driver.zod.d.ts +1631 -0
- package/dist/system/driver.zod.d.ts.map +1 -0
- package/dist/system/driver.zod.js +337 -0
- package/dist/system/license.zod.d.ts +2 -2
- package/dist/system/manifest.zod.d.ts +323 -52
- package/dist/system/manifest.zod.d.ts.map +1 -1
- package/dist/system/manifest.zod.js +91 -17
- package/dist/system/plugin.zod.d.ts +3516 -0
- package/dist/system/plugin.zod.d.ts.map +1 -0
- package/dist/system/plugin.zod.js +226 -0
- package/dist/system/policy.zod.d.ts +10 -10
- package/dist/system/territory.zod.d.ts +1 -1
- package/dist/system/webhook.zod.d.ts +3 -3
- package/dist/ui/action.zod.d.ts +19 -12
- package/dist/ui/action.zod.d.ts.map +1 -1
- package/dist/ui/action.zod.js +7 -1
- package/dist/ui/app.zod.d.ts +109 -3
- package/dist/ui/app.zod.d.ts.map +1 -1
- package/dist/ui/app.zod.js +13 -2
- package/dist/ui/dashboard.zod.d.ts +19 -13
- package/dist/ui/dashboard.zod.d.ts.map +1 -1
- package/dist/ui/dashboard.zod.js +10 -3
- package/dist/ui/page.zod.d.ts +6 -6
- package/dist/ui/report.zod.d.ts +13 -32
- package/dist/ui/report.zod.d.ts.map +1 -1
- package/dist/ui/report.zod.js +10 -9
- package/dist/ui/theme.zod.d.ts +1221 -0
- package/dist/ui/theme.zod.d.ts.map +1 -0
- package/dist/ui/theme.zod.js +202 -0
- package/dist/ui/widget.zod.d.ts +350 -0
- package/dist/ui/widget.zod.d.ts.map +1 -0
- package/dist/ui/widget.zod.js +66 -0
- package/json-schema/AccountLinkingConfig.json +27 -0
- package/json-schema/Action.json +8 -2
- package/json-schema/ActionParam.json +8 -2
- package/json-schema/Address.json +40 -0
- package/json-schema/AggregationFunction.json +19 -0
- package/json-schema/AggregationNode.json +42 -0
- package/json-schema/Animation.json +56 -0
- package/json-schema/ApiCapabilities.json +28 -0
- package/json-schema/ApiError.json +27 -0
- package/json-schema/ApiRoutes.json +41 -0
- package/json-schema/App.json +13 -2
- package/json-schema/AsyncValidation.json +70 -0
- package/json-schema/AuthConfig.json +606 -0
- package/json-schema/AuthPluginConfig.json +28 -0
- package/json-schema/AuthStrategy.json +17 -0
- package/json-schema/AuthenticationConfig.json +601 -0
- package/json-schema/AuthenticationProvider.json +617 -0
- package/json-schema/BaseResponse.json +63 -0
- package/json-schema/BorderRadius.json +44 -0
- package/json-schema/Breakpoints.json +36 -0
- package/json-schema/BulkRequest.json +29 -0
- package/json-schema/BulkResponse.json +108 -0
- package/json-schema/CSRFConfig.json +31 -0
- package/json-schema/ColorPalette.json +83 -0
- package/json-schema/ComparisonOperator.json +56 -0
- package/json-schema/ConditionalValidation.json +793 -0
- package/json-schema/CreateRequest.json +20 -0
- package/json-schema/CrossFieldValidation.json +56 -0
- package/json-schema/CustomValidator.json +57 -0
- package/json-schema/Dashboard.json +20 -0
- package/json-schema/DashboardWidget.json +20 -0
- package/json-schema/DatabaseAdapter.json +38 -0
- package/json-schema/Datasource.json +25 -23
- package/json-schema/DatasourceCapabilities.json +25 -5
- package/json-schema/DeleteResponse.json +68 -0
- package/json-schema/Discovery.json +114 -0
- package/json-schema/DriverCapabilities.json +69 -0
- package/json-schema/DriverDefinition.json +86 -0
- package/json-schema/DriverInterface.json +88 -0
- package/json-schema/DriverOptions.json +23 -0
- package/json-schema/DriverType.json +1 -18
- package/json-schema/EmailPasswordConfig.json +43 -0
- package/json-schema/EqualityOperator.json +14 -0
- package/json-schema/ExportRequest.json +786 -0
- package/json-schema/Field.json +75 -4
- package/json-schema/FieldOperators.json +108 -0
- package/json-schema/FieldType.json +8 -2
- package/json-schema/FieldWidgetProps.json +327 -0
- package/json-schema/FilterCondition.json +28 -0
- package/json-schema/I18nContext.json +12 -0
- package/json-schema/JoinNode.json +455 -0
- package/json-schema/JoinType.json +15 -0
- package/json-schema/ListRecordResponse.json +103 -0
- package/json-schema/LocationCoordinates.json +36 -0
- package/json-schema/Logger.json +25 -0
- package/json-schema/MagicLinkConfig.json +21 -0
- package/json-schema/Manifest.json +243 -18
- package/json-schema/Mapping.json +328 -0
- package/json-schema/ModificationResult.json +46 -0
- package/json-schema/NormalizedFilter.json +348 -0
- package/json-schema/OAuthProvider.json +66 -0
- package/json-schema/Object.json +103 -6
- package/json-schema/ObjectCapabilities.json +26 -0
- package/json-schema/ObjectQLClient.json +12 -0
- package/json-schema/PasskeyConfig.json +54 -0
- package/json-schema/Plugin.json +20 -0
- package/json-schema/PluginContext.json +91 -0
- package/json-schema/PluginLifecycle.json +11 -0
- package/json-schema/Query.json +328 -0
- package/json-schema/QueryFilter.json +34 -0
- package/json-schema/RangeOperator.json +41 -0
- package/json-schema/RateLimitConfig.json +36 -0
- package/json-schema/RecordData.json +11 -0
- package/json-schema/Report.json +20 -26
- package/json-schema/Router.json +12 -0
- package/json-schema/Scheduler.json +12 -0
- package/json-schema/ScopedStorage.json +12 -0
- package/json-schema/SessionConfig.json +56 -0
- package/json-schema/SetOperator.json +18 -0
- package/json-schema/Shadow.json +44 -0
- package/json-schema/SingleRecordResponse.json +69 -0
- package/json-schema/Spacing.json +64 -0
- package/json-schema/SpecialOperator.json +18 -0
- package/json-schema/StandardAuthProvider.json +622 -0
- package/json-schema/StringOperator.json +21 -0
- package/json-schema/SystemAPI.json +12 -0
- package/json-schema/Theme.json +543 -0
- package/json-schema/ThemeMode.json +14 -0
- package/json-schema/Trigger.json +73 -0
- package/json-schema/TriggerAction.json +14 -0
- package/json-schema/TriggerContext.json +61 -0
- package/json-schema/TriggerTiming.json +13 -0
- package/json-schema/TwoFactorConfig.json +40 -0
- package/json-schema/Typography.json +142 -0
- package/json-schema/UpdateRequest.json +20 -0
- package/json-schema/UserFieldMapping.json +47 -0
- package/json-schema/ValidationRule.json +583 -0
- package/json-schema/WindowFunction.json +24 -0
- package/json-schema/WindowFunctionNode.json +104 -0
- package/json-schema/WindowSpec.json +65 -0
- package/json-schema/ZIndex.json +44 -0
- package/package.json +8 -3
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/NormalizedFilter",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"NormalizedFilter": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"$and": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"anyOf": [
|
|
11
|
+
{
|
|
12
|
+
"type": "object",
|
|
13
|
+
"additionalProperties": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"$eq": {},
|
|
17
|
+
"$ne": {},
|
|
18
|
+
"$gt": {
|
|
19
|
+
"anyOf": [
|
|
20
|
+
{
|
|
21
|
+
"type": "number"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "string",
|
|
25
|
+
"format": "date-time"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"$gte": {
|
|
30
|
+
"anyOf": [
|
|
31
|
+
{
|
|
32
|
+
"type": "number"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": "date-time"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"$lt": {
|
|
41
|
+
"anyOf": [
|
|
42
|
+
{
|
|
43
|
+
"type": "number"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "string",
|
|
47
|
+
"format": "date-time"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"$lte": {
|
|
52
|
+
"anyOf": [
|
|
53
|
+
{
|
|
54
|
+
"type": "number"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "string",
|
|
58
|
+
"format": "date-time"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"$in": {
|
|
63
|
+
"type": "array"
|
|
64
|
+
},
|
|
65
|
+
"$nin": {
|
|
66
|
+
"type": "array"
|
|
67
|
+
},
|
|
68
|
+
"$between": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"minItems": 2,
|
|
71
|
+
"maxItems": 2,
|
|
72
|
+
"items": [
|
|
73
|
+
{
|
|
74
|
+
"anyOf": [
|
|
75
|
+
{
|
|
76
|
+
"type": "number"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "string",
|
|
80
|
+
"format": "date-time"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"anyOf": [
|
|
86
|
+
{
|
|
87
|
+
"type": "number"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "string",
|
|
91
|
+
"format": "date-time"
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"$contains": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"$startsWith": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"$endsWith": {
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
"$null": {
|
|
107
|
+
"type": "boolean"
|
|
108
|
+
},
|
|
109
|
+
"$exist": {
|
|
110
|
+
"type": "boolean"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"additionalProperties": false
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"$or": {
|
|
121
|
+
"type": "array",
|
|
122
|
+
"items": {
|
|
123
|
+
"anyOf": [
|
|
124
|
+
{
|
|
125
|
+
"type": "object",
|
|
126
|
+
"additionalProperties": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"properties": {
|
|
129
|
+
"$eq": {},
|
|
130
|
+
"$ne": {},
|
|
131
|
+
"$gt": {
|
|
132
|
+
"anyOf": [
|
|
133
|
+
{
|
|
134
|
+
"type": "number"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "string",
|
|
138
|
+
"format": "date-time"
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
"$gte": {
|
|
143
|
+
"anyOf": [
|
|
144
|
+
{
|
|
145
|
+
"type": "number"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"type": "string",
|
|
149
|
+
"format": "date-time"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"$lt": {
|
|
154
|
+
"anyOf": [
|
|
155
|
+
{
|
|
156
|
+
"type": "number"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "string",
|
|
160
|
+
"format": "date-time"
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
"$lte": {
|
|
165
|
+
"anyOf": [
|
|
166
|
+
{
|
|
167
|
+
"type": "number"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "string",
|
|
171
|
+
"format": "date-time"
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
"$in": {
|
|
176
|
+
"type": "array"
|
|
177
|
+
},
|
|
178
|
+
"$nin": {
|
|
179
|
+
"type": "array"
|
|
180
|
+
},
|
|
181
|
+
"$between": {
|
|
182
|
+
"type": "array",
|
|
183
|
+
"minItems": 2,
|
|
184
|
+
"maxItems": 2,
|
|
185
|
+
"items": [
|
|
186
|
+
{
|
|
187
|
+
"anyOf": [
|
|
188
|
+
{
|
|
189
|
+
"type": "number"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"type": "string",
|
|
193
|
+
"format": "date-time"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"anyOf": [
|
|
199
|
+
{
|
|
200
|
+
"type": "number"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"type": "string",
|
|
204
|
+
"format": "date-time"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
"$contains": {
|
|
211
|
+
"type": "string"
|
|
212
|
+
},
|
|
213
|
+
"$startsWith": {
|
|
214
|
+
"type": "string"
|
|
215
|
+
},
|
|
216
|
+
"$endsWith": {
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
"$null": {
|
|
220
|
+
"type": "boolean"
|
|
221
|
+
},
|
|
222
|
+
"$exist": {
|
|
223
|
+
"type": "boolean"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"additionalProperties": false
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"$not": {
|
|
234
|
+
"anyOf": [
|
|
235
|
+
{
|
|
236
|
+
"type": "object",
|
|
237
|
+
"additionalProperties": {
|
|
238
|
+
"type": "object",
|
|
239
|
+
"properties": {
|
|
240
|
+
"$eq": {},
|
|
241
|
+
"$ne": {},
|
|
242
|
+
"$gt": {
|
|
243
|
+
"anyOf": [
|
|
244
|
+
{
|
|
245
|
+
"type": "number"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"type": "string",
|
|
249
|
+
"format": "date-time"
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
"$gte": {
|
|
254
|
+
"anyOf": [
|
|
255
|
+
{
|
|
256
|
+
"type": "number"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"type": "string",
|
|
260
|
+
"format": "date-time"
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
"$lt": {
|
|
265
|
+
"anyOf": [
|
|
266
|
+
{
|
|
267
|
+
"type": "number"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"type": "string",
|
|
271
|
+
"format": "date-time"
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
"$lte": {
|
|
276
|
+
"anyOf": [
|
|
277
|
+
{
|
|
278
|
+
"type": "number"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"type": "string",
|
|
282
|
+
"format": "date-time"
|
|
283
|
+
}
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
"$in": {
|
|
287
|
+
"type": "array"
|
|
288
|
+
},
|
|
289
|
+
"$nin": {
|
|
290
|
+
"type": "array"
|
|
291
|
+
},
|
|
292
|
+
"$between": {
|
|
293
|
+
"type": "array",
|
|
294
|
+
"minItems": 2,
|
|
295
|
+
"maxItems": 2,
|
|
296
|
+
"items": [
|
|
297
|
+
{
|
|
298
|
+
"anyOf": [
|
|
299
|
+
{
|
|
300
|
+
"type": "number"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"type": "string",
|
|
304
|
+
"format": "date-time"
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"anyOf": [
|
|
310
|
+
{
|
|
311
|
+
"type": "number"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "string",
|
|
315
|
+
"format": "date-time"
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
"$contains": {
|
|
322
|
+
"type": "string"
|
|
323
|
+
},
|
|
324
|
+
"$startsWith": {
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"$endsWith": {
|
|
328
|
+
"type": "string"
|
|
329
|
+
},
|
|
330
|
+
"$null": {
|
|
331
|
+
"type": "boolean"
|
|
332
|
+
},
|
|
333
|
+
"$exist": {
|
|
334
|
+
"type": "boolean"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"additionalProperties": false
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{}
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"additionalProperties": false
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
348
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/OAuthProvider",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"OAuthProvider": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"provider": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"google",
|
|
11
|
+
"github",
|
|
12
|
+
"facebook",
|
|
13
|
+
"twitter",
|
|
14
|
+
"linkedin",
|
|
15
|
+
"microsoft",
|
|
16
|
+
"apple",
|
|
17
|
+
"discord",
|
|
18
|
+
"gitlab",
|
|
19
|
+
"custom"
|
|
20
|
+
],
|
|
21
|
+
"description": "OAuth provider type"
|
|
22
|
+
},
|
|
23
|
+
"clientId": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "OAuth client ID"
|
|
26
|
+
},
|
|
27
|
+
"clientSecret": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "OAuth client secret (typically from ENV)"
|
|
30
|
+
},
|
|
31
|
+
"scopes": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"description": "Requested OAuth scopes"
|
|
37
|
+
},
|
|
38
|
+
"redirectUri": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": "uri",
|
|
41
|
+
"description": "OAuth callback URL"
|
|
42
|
+
},
|
|
43
|
+
"enabled": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"default": true,
|
|
46
|
+
"description": "Whether this provider is enabled"
|
|
47
|
+
},
|
|
48
|
+
"displayName": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "Display name for the provider button"
|
|
51
|
+
},
|
|
52
|
+
"icon": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Icon URL or identifier"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"provider",
|
|
59
|
+
"clientId",
|
|
60
|
+
"clientSecret"
|
|
61
|
+
],
|
|
62
|
+
"additionalProperties": false
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
66
|
+
}
|
package/json-schema/Object.json
CHANGED
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"datasource": {
|
|
29
29
|
"type": "string",
|
|
30
30
|
"default": "default",
|
|
31
|
-
"description": "Datasource
|
|
31
|
+
"description": "Target Datasource ID (e.g. \"postgres\", \"salesforce\"). references sys_datasource."
|
|
32
32
|
},
|
|
33
33
|
"tableName": {
|
|
34
34
|
"type": "string",
|
|
35
|
-
"description": "Physical
|
|
35
|
+
"description": "Physical table/collection name in the target datasource"
|
|
36
36
|
},
|
|
37
37
|
"isSystem": {
|
|
38
38
|
"type": "boolean",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"password",
|
|
65
65
|
"markdown",
|
|
66
66
|
"html",
|
|
67
|
+
"richtext",
|
|
67
68
|
"number",
|
|
68
69
|
"currency",
|
|
69
70
|
"percent",
|
|
@@ -72,7 +73,6 @@
|
|
|
72
73
|
"time",
|
|
73
74
|
"boolean",
|
|
74
75
|
"select",
|
|
75
|
-
"multiselect",
|
|
76
76
|
"lookup",
|
|
77
77
|
"master_detail",
|
|
78
78
|
"image",
|
|
@@ -80,7 +80,13 @@
|
|
|
80
80
|
"avatar",
|
|
81
81
|
"formula",
|
|
82
82
|
"summary",
|
|
83
|
-
"autonumber"
|
|
83
|
+
"autonumber",
|
|
84
|
+
"location",
|
|
85
|
+
"address",
|
|
86
|
+
"code",
|
|
87
|
+
"color",
|
|
88
|
+
"rating",
|
|
89
|
+
"signature"
|
|
84
90
|
],
|
|
85
91
|
"description": "Field Data Type"
|
|
86
92
|
},
|
|
@@ -88,11 +94,20 @@
|
|
|
88
94
|
"type": "string",
|
|
89
95
|
"description": "Tooltip/Help text"
|
|
90
96
|
},
|
|
97
|
+
"format": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"description": "Format string (e.g. email, phone)"
|
|
100
|
+
},
|
|
91
101
|
"required": {
|
|
92
102
|
"type": "boolean",
|
|
93
103
|
"default": false,
|
|
94
104
|
"description": "Is required"
|
|
95
105
|
},
|
|
106
|
+
"searchable": {
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"default": false,
|
|
109
|
+
"description": "Is searchable"
|
|
110
|
+
},
|
|
96
111
|
"multiple": {
|
|
97
112
|
"type": "boolean",
|
|
98
113
|
"default": false,
|
|
@@ -221,6 +236,64 @@
|
|
|
221
236
|
"additionalProperties": false,
|
|
222
237
|
"description": "Roll-up summary definition"
|
|
223
238
|
},
|
|
239
|
+
"language": {
|
|
240
|
+
"type": "string",
|
|
241
|
+
"description": "Programming language for syntax highlighting (e.g., javascript, python, sql)"
|
|
242
|
+
},
|
|
243
|
+
"theme": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"description": "Code editor theme (e.g., dark, light, monokai)"
|
|
246
|
+
},
|
|
247
|
+
"lineNumbers": {
|
|
248
|
+
"type": "boolean",
|
|
249
|
+
"description": "Show line numbers in code editor"
|
|
250
|
+
},
|
|
251
|
+
"maxRating": {
|
|
252
|
+
"type": "number",
|
|
253
|
+
"description": "Maximum rating value (default: 5)"
|
|
254
|
+
},
|
|
255
|
+
"allowHalf": {
|
|
256
|
+
"type": "boolean",
|
|
257
|
+
"description": "Allow half-star ratings"
|
|
258
|
+
},
|
|
259
|
+
"displayMap": {
|
|
260
|
+
"type": "boolean",
|
|
261
|
+
"description": "Display map widget for location field"
|
|
262
|
+
},
|
|
263
|
+
"allowGeocoding": {
|
|
264
|
+
"type": "boolean",
|
|
265
|
+
"description": "Allow address-to-coordinate conversion"
|
|
266
|
+
},
|
|
267
|
+
"addressFormat": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"enum": [
|
|
270
|
+
"us",
|
|
271
|
+
"uk",
|
|
272
|
+
"international"
|
|
273
|
+
],
|
|
274
|
+
"description": "Address format template"
|
|
275
|
+
},
|
|
276
|
+
"colorFormat": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"enum": [
|
|
279
|
+
"hex",
|
|
280
|
+
"rgb",
|
|
281
|
+
"rgba",
|
|
282
|
+
"hsl"
|
|
283
|
+
],
|
|
284
|
+
"description": "Color value format"
|
|
285
|
+
},
|
|
286
|
+
"allowAlpha": {
|
|
287
|
+
"type": "boolean",
|
|
288
|
+
"description": "Allow transparency/alpha channel"
|
|
289
|
+
},
|
|
290
|
+
"presetColors": {
|
|
291
|
+
"type": "array",
|
|
292
|
+
"items": {
|
|
293
|
+
"type": "string"
|
|
294
|
+
},
|
|
295
|
+
"description": "Preset color options"
|
|
296
|
+
},
|
|
224
297
|
"hidden": {
|
|
225
298
|
"type": "boolean",
|
|
226
299
|
"default": false,
|
|
@@ -248,8 +321,6 @@
|
|
|
248
321
|
}
|
|
249
322
|
},
|
|
250
323
|
"required": [
|
|
251
|
-
"name",
|
|
252
|
-
"label",
|
|
253
324
|
"type"
|
|
254
325
|
],
|
|
255
326
|
"additionalProperties": false
|
|
@@ -303,6 +374,32 @@
|
|
|
303
374
|
"type": "boolean",
|
|
304
375
|
"default": true
|
|
305
376
|
},
|
|
377
|
+
"apiMethods": {
|
|
378
|
+
"type": "array",
|
|
379
|
+
"items": {
|
|
380
|
+
"type": "string",
|
|
381
|
+
"enum": [
|
|
382
|
+
"get",
|
|
383
|
+
"list",
|
|
384
|
+
"create",
|
|
385
|
+
"update",
|
|
386
|
+
"delete",
|
|
387
|
+
"upsert",
|
|
388
|
+
"bulkCreate",
|
|
389
|
+
"bulkUpdate",
|
|
390
|
+
"bulkDelete",
|
|
391
|
+
"bulkUpsert",
|
|
392
|
+
"aggregate",
|
|
393
|
+
"history",
|
|
394
|
+
"search",
|
|
395
|
+
"restore",
|
|
396
|
+
"purge",
|
|
397
|
+
"import",
|
|
398
|
+
"export"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"description": "Allowed API operations"
|
|
402
|
+
},
|
|
306
403
|
"files": {
|
|
307
404
|
"type": "boolean",
|
|
308
405
|
"default": false
|
|
@@ -16,6 +16,32 @@
|
|
|
16
16
|
"type": "boolean",
|
|
17
17
|
"default": true
|
|
18
18
|
},
|
|
19
|
+
"apiMethods": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": [
|
|
24
|
+
"get",
|
|
25
|
+
"list",
|
|
26
|
+
"create",
|
|
27
|
+
"update",
|
|
28
|
+
"delete",
|
|
29
|
+
"upsert",
|
|
30
|
+
"bulkCreate",
|
|
31
|
+
"bulkUpdate",
|
|
32
|
+
"bulkDelete",
|
|
33
|
+
"bulkUpsert",
|
|
34
|
+
"aggregate",
|
|
35
|
+
"history",
|
|
36
|
+
"search",
|
|
37
|
+
"restore",
|
|
38
|
+
"purge",
|
|
39
|
+
"import",
|
|
40
|
+
"export"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"description": "Allowed API operations"
|
|
44
|
+
},
|
|
19
45
|
"files": {
|
|
20
46
|
"type": "boolean",
|
|
21
47
|
"default": false
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ObjectQLClient",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ObjectQLClient": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {},
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"description": "ObjectQL Data Access Client"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
12
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/PasskeyConfig",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"PasskeyConfig": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"enabled": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"default": false
|
|
10
|
+
},
|
|
11
|
+
"rpName": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Relying Party name"
|
|
14
|
+
},
|
|
15
|
+
"rpId": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Relying Party ID (defaults to domain)"
|
|
18
|
+
},
|
|
19
|
+
"allowedOrigins": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "uri"
|
|
24
|
+
},
|
|
25
|
+
"description": "Allowed origins for WebAuthn"
|
|
26
|
+
},
|
|
27
|
+
"userVerification": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"required",
|
|
31
|
+
"preferred",
|
|
32
|
+
"discouraged"
|
|
33
|
+
],
|
|
34
|
+
"default": "preferred"
|
|
35
|
+
},
|
|
36
|
+
"attestation": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"enum": [
|
|
39
|
+
"none",
|
|
40
|
+
"indirect",
|
|
41
|
+
"direct",
|
|
42
|
+
"enterprise"
|
|
43
|
+
],
|
|
44
|
+
"default": "none"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"required": [
|
|
48
|
+
"rpName"
|
|
49
|
+
],
|
|
50
|
+
"additionalProperties": false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
54
|
+
}
|