@stndrds/schema 0.1.0-alpha.45 → 0.1.0-alpha.47
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/{chunk-3GHMPTWA.mjs → chunk-CVMMZRH6.mjs} +225 -76
- package/dist/{chunk-FAI5Y3YJ.js → chunk-I6VF7DOR.js} +225 -76
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -6
- package/dist/index.mjs +5 -1
- package/dist/{runtime-fh5-UJWV.d.mts → runtime-BOg0C4ev.d.mts} +114 -18
- package/dist/{runtime-fh5-UJWV.d.ts → runtime-BOg0C4ev.d.ts} +114 -18
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +6 -2
- package/dist/runtime.mjs +5 -1
- package/package.json +2 -2
|
@@ -323,6 +323,25 @@ function initializePinCodeService(salt) {
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
// src/runtime/cache.ts
|
|
326
|
+
var _crypto = require('crypto');
|
|
327
|
+
function hashOptions(options) {
|
|
328
|
+
if (options === null || options === void 0 || typeof options === "object" && Object.keys(options).length === 0) {
|
|
329
|
+
return "default";
|
|
330
|
+
}
|
|
331
|
+
const sortedJson = JSON.stringify(options, (_, value) => {
|
|
332
|
+
if (value && typeof value === "object" && !Array.isArray(value)) {
|
|
333
|
+
return Object.keys(value).sort().reduce(
|
|
334
|
+
(sorted, key) => {
|
|
335
|
+
sorted[key] = value[key];
|
|
336
|
+
return sorted;
|
|
337
|
+
},
|
|
338
|
+
{}
|
|
339
|
+
);
|
|
340
|
+
}
|
|
341
|
+
return value;
|
|
342
|
+
});
|
|
343
|
+
return _crypto.createHash.call(void 0, "md5").update(sortedJson).digest("hex").slice(0, 8);
|
|
344
|
+
}
|
|
326
345
|
var cacheKeys = {
|
|
327
346
|
// -------------------------------------------------------------------------
|
|
328
347
|
// Schemas - TTL: 1 hour (rarely change)
|
|
@@ -361,6 +380,24 @@ var cacheKeys = {
|
|
|
361
380
|
/** Individual record by ID */
|
|
362
381
|
record: (tenantId, recordId) => `record:${tenantId}:${recordId}`,
|
|
363
382
|
// -------------------------------------------------------------------------
|
|
383
|
+
// Record Lists - TTL: 1 minute (high volatility)
|
|
384
|
+
// -------------------------------------------------------------------------
|
|
385
|
+
/** Record list for an object with options hash */
|
|
386
|
+
recordList: (tenantId, objectId, hash) => `records:${tenantId}:${objectId}:list:${hash}`,
|
|
387
|
+
/** All record lists for an object (for invalidation) */
|
|
388
|
+
allRecordLists: (tenantId, objectId) => `records:${tenantId}:${objectId}:list:*`,
|
|
389
|
+
// -------------------------------------------------------------------------
|
|
390
|
+
// Search Results - TTL: 30 seconds (very high volatility)
|
|
391
|
+
// -------------------------------------------------------------------------
|
|
392
|
+
/** Search results for an object */
|
|
393
|
+
searchResults: (tenantId, objectId, hash) => `search:${tenantId}:${objectId}:${hash}`,
|
|
394
|
+
/** All search results for an object (for invalidation) */
|
|
395
|
+
allSearchResults: (tenantId, objectId) => `search:${tenantId}:${objectId}:*`,
|
|
396
|
+
/** Global search results */
|
|
397
|
+
globalSearch: (tenantId, hash) => `gsearch:${tenantId}:${hash}`,
|
|
398
|
+
/** All global search results for tenant (for invalidation) */
|
|
399
|
+
allGlobalSearch: (tenantId) => `gsearch:${tenantId}:*`,
|
|
400
|
+
// -------------------------------------------------------------------------
|
|
364
401
|
// Invalidation Patterns
|
|
365
402
|
// -------------------------------------------------------------------------
|
|
366
403
|
/** All schema cache for a tenant */
|
|
@@ -432,7 +469,34 @@ var cacheTtl = {
|
|
|
432
469
|
/** User profiles - medium volatility (5 minutes) */
|
|
433
470
|
userProfiles: 5 * 60 * 1e3,
|
|
434
471
|
/** Workflows - rarely change (5 minutes) */
|
|
435
|
-
workflows: 5 * 60 * 1e3
|
|
472
|
+
workflows: 5 * 60 * 1e3,
|
|
473
|
+
/** Record lists - high volatility (1 minute) */
|
|
474
|
+
recordList: 60 * 1e3,
|
|
475
|
+
/** Search results - very high volatility (30 seconds) */
|
|
476
|
+
searchResults: 30 * 1e3,
|
|
477
|
+
/** Global search - very high volatility (30 seconds) */
|
|
478
|
+
globalSearch: 30 * 1e3
|
|
479
|
+
};
|
|
480
|
+
var defaultTtl = {
|
|
481
|
+
record: cacheTtl.records,
|
|
482
|
+
objectSchema: cacheTtl.schema,
|
|
483
|
+
objectSchemaByName: cacheTtl.schema,
|
|
484
|
+
objectSchemaList: cacheTtl.schemaList,
|
|
485
|
+
objectAttributes: cacheTtl.attributes,
|
|
486
|
+
attributeById: cacheTtl.attributes,
|
|
487
|
+
userProfileById: cacheTtl.userProfiles,
|
|
488
|
+
userProfileByAuthId: cacheTtl.userProfiles,
|
|
489
|
+
userProfileByEmail: cacheTtl.userProfiles,
|
|
490
|
+
viewsByObject: cacheTtl.views,
|
|
491
|
+
workflowByName: cacheTtl.workflows,
|
|
492
|
+
workflowById: cacheTtl.workflows,
|
|
493
|
+
workflowList: cacheTtl.workflows,
|
|
494
|
+
relationOptions: cacheTtl.relations,
|
|
495
|
+
rollupValue: cacheTtl.rollup,
|
|
496
|
+
userPermissions: cacheTtl.permissions,
|
|
497
|
+
recordList: cacheTtl.recordList,
|
|
498
|
+
searchResults: cacheTtl.searchResults,
|
|
499
|
+
globalSearch: cacheTtl.globalSearch
|
|
436
500
|
};
|
|
437
501
|
var NoopCacheAdapter = class {
|
|
438
502
|
get() {
|
|
@@ -4258,20 +4322,55 @@ var BaseService = class {
|
|
|
4258
4322
|
return getUserId();
|
|
4259
4323
|
}
|
|
4260
4324
|
// ============================================================================
|
|
4261
|
-
// CACHE
|
|
4325
|
+
// CACHE HELPERS
|
|
4262
4326
|
// ============================================================================
|
|
4263
4327
|
/**
|
|
4264
|
-
*
|
|
4265
|
-
*
|
|
4328
|
+
* Cache a value by key type and ID.
|
|
4329
|
+
* Automatically builds the cache key with tenantId and applies default TTL.
|
|
4330
|
+
*
|
|
4331
|
+
* @param keyType - Type of cache key (e.g., "record", "objectSchema")
|
|
4332
|
+
* @param id - Resource identifier
|
|
4333
|
+
* @param fetcher - Function to fetch data if not cached
|
|
4334
|
+
* @param ttlMs - Optional TTL override (uses default for keyType if not provided)
|
|
4335
|
+
*
|
|
4336
|
+
* @example
|
|
4337
|
+
* ```typescript
|
|
4338
|
+
* return this.cachedBy("record", recordId, () =>
|
|
4339
|
+
* this.adapter.objectRecords.findById(recordId)
|
|
4340
|
+
* );
|
|
4341
|
+
* ```
|
|
4342
|
+
*/
|
|
4343
|
+
cachedBy(keyType, id, fetcher, ttlMs) {
|
|
4344
|
+
if (!this.cache) return fetcher();
|
|
4345
|
+
const keyFn = cacheKeys[keyType];
|
|
4346
|
+
const key = keyFn(this.tenantId, id);
|
|
4347
|
+
const ttl = _nullishCoalesce(_nullishCoalesce(ttlMs, () => ( defaultTtl[keyType])), () => ( 6e4));
|
|
4348
|
+
return this.cache.getOrSet(key, fetcher, ttl);
|
|
4349
|
+
}
|
|
4350
|
+
/**
|
|
4351
|
+
* Cache a list query with automatic options hashing.
|
|
4352
|
+
* Useful for list/search operations with filters, sorts, pagination.
|
|
4266
4353
|
*
|
|
4267
|
-
* @param
|
|
4354
|
+
* @param keyType - Type of cache key (e.g., "recordList", "searchResults")
|
|
4355
|
+
* @param id - Resource identifier (e.g., objectId)
|
|
4356
|
+
* @param options - Query options to hash (filters, sorts, etc.)
|
|
4268
4357
|
* @param fetcher - Function to fetch data if not cached
|
|
4269
|
-
* @param ttlMs -
|
|
4270
|
-
*
|
|
4358
|
+
* @param ttlMs - Optional TTL override
|
|
4359
|
+
*
|
|
4360
|
+
* @example
|
|
4361
|
+
* ```typescript
|
|
4362
|
+
* return this.cachedList("recordList", objectId, options, () =>
|
|
4363
|
+
* this.executeListQuery(objectId, options)
|
|
4364
|
+
* );
|
|
4365
|
+
* ```
|
|
4271
4366
|
*/
|
|
4272
|
-
|
|
4367
|
+
cachedList(keyType, id, options, fetcher, ttlMs) {
|
|
4273
4368
|
if (!this.cache) return fetcher();
|
|
4274
|
-
|
|
4369
|
+
const hash = hashOptions(options);
|
|
4370
|
+
const keyFn = cacheKeys[keyType];
|
|
4371
|
+
const key = keyFn(this.tenantId, id, hash);
|
|
4372
|
+
const ttl = _nullishCoalesce(_nullishCoalesce(ttlMs, () => ( defaultTtl[keyType])), () => ( 6e4));
|
|
4373
|
+
return this.cache.getOrSet(key, fetcher, ttl);
|
|
4275
4374
|
}
|
|
4276
4375
|
/**
|
|
4277
4376
|
* Invalidate a specific cache key.
|
|
@@ -4289,6 +4388,26 @@ var BaseService = class {
|
|
|
4289
4388
|
async invalidateCachePattern(pattern) {
|
|
4290
4389
|
await _optionalChain([this, 'access', _84 => _84.cache, 'optionalAccess', _85 => _85.deletePattern, 'call', _86 => _86(pattern)]);
|
|
4291
4390
|
}
|
|
4391
|
+
/**
|
|
4392
|
+
* Invalidate all cached lists for a resource.
|
|
4393
|
+
* Call this after create/update/delete operations.
|
|
4394
|
+
*
|
|
4395
|
+
* @param keyType - Invalidation pattern key (e.g., "allRecordLists", "allSearchResults")
|
|
4396
|
+
* @param id - Resource identifier
|
|
4397
|
+
*
|
|
4398
|
+
* @example
|
|
4399
|
+
* ```typescript
|
|
4400
|
+
* // After creating/updating/deleting a record
|
|
4401
|
+
* await this.invalidateLists("allRecordLists", objectId);
|
|
4402
|
+
* await this.invalidateLists("allSearchResults", objectId);
|
|
4403
|
+
* ```
|
|
4404
|
+
*/
|
|
4405
|
+
async invalidateLists(keyType, id) {
|
|
4406
|
+
if (!this.cache) return;
|
|
4407
|
+
const patternFn = cacheKeys[keyType];
|
|
4408
|
+
const pattern = patternFn(this.tenantId, id);
|
|
4409
|
+
await this.cache.deletePattern(pattern);
|
|
4410
|
+
}
|
|
4292
4411
|
};
|
|
4293
4412
|
var BaseRepository = class {
|
|
4294
4413
|
/**
|
|
@@ -4320,8 +4439,8 @@ var SchemaContextAwareRepository = class extends BaseRepository {
|
|
|
4320
4439
|
return getSchemaByNameFromContext(objectName);
|
|
4321
4440
|
}
|
|
4322
4441
|
};
|
|
4323
|
-
var TenantAwareService = BaseService;
|
|
4324
4442
|
var TenantAwareRepository = BaseRepository;
|
|
4443
|
+
var TenantAwareService = BaseService;
|
|
4325
4444
|
|
|
4326
4445
|
// src/types/attributes.ts
|
|
4327
4446
|
var RELATION_TARGET_ANY = "*";
|
|
@@ -7679,11 +7798,7 @@ Reserved names: ${RESERVED_ATTRIBUTE_NAMES.join(", ")}`
|
|
|
7679
7798
|
* @returns Complete ObjectDefinition with all attributes including system attributes
|
|
7680
7799
|
*/
|
|
7681
7800
|
async getObjectSchema(objectId) {
|
|
7682
|
-
return this.
|
|
7683
|
-
cacheKeys.objectSchema(this.tenantId, objectId),
|
|
7684
|
-
() => this.fetchObjectSchemaById(objectId),
|
|
7685
|
-
cacheTtl.schema
|
|
7686
|
-
);
|
|
7801
|
+
return this.cachedBy("objectSchema", objectId, () => this.fetchObjectSchemaById(objectId));
|
|
7687
7802
|
}
|
|
7688
7803
|
/**
|
|
7689
7804
|
* Internal method to fetch object schema by ID (no caching)
|
|
@@ -7702,11 +7817,7 @@ Reserved names: ${RESERVED_ATTRIBUTE_NAMES.join(", ")}`
|
|
|
7702
7817
|
* Results are cached if a CacheAdapter is configured.
|
|
7703
7818
|
*/
|
|
7704
7819
|
async getObjectSchemaByName(name) {
|
|
7705
|
-
return this.
|
|
7706
|
-
cacheKeys.objectSchemaByName(this.tenantId, name),
|
|
7707
|
-
() => this.fetchObjectSchemaByName(name),
|
|
7708
|
-
cacheTtl.schema
|
|
7709
|
-
);
|
|
7820
|
+
return this.cachedBy("objectSchemaByName", name, () => this.fetchObjectSchemaByName(name));
|
|
7710
7821
|
}
|
|
7711
7822
|
/**
|
|
7712
7823
|
* Internal method to fetch object schema by name (no caching)
|
|
@@ -7728,11 +7839,7 @@ Reserved names: ${RESERVED_ATTRIBUTE_NAMES.join(", ")}`
|
|
|
7728
7839
|
* Results are cached if a CacheAdapter is configured.
|
|
7729
7840
|
*/
|
|
7730
7841
|
async listObjectSchemas() {
|
|
7731
|
-
return this.
|
|
7732
|
-
cacheKeys.objectSchemaList(this.tenantId),
|
|
7733
|
-
() => this.fetchObjectSchemaList(),
|
|
7734
|
-
cacheTtl.schemaList
|
|
7735
|
-
);
|
|
7842
|
+
return this.cachedBy("objectSchemaList", "all", () => this.fetchObjectSchemaList());
|
|
7736
7843
|
}
|
|
7737
7844
|
/**
|
|
7738
7845
|
* Internal method to fetch all object schemas (no caching)
|
|
@@ -8974,7 +9081,12 @@ var RecordQueryService = class extends BaseService {
|
|
|
8974
9081
|
*/
|
|
8975
9082
|
async listRecords(objectId, options) {
|
|
8976
9083
|
const schema = await this.schemaService.getObjectSchema(objectId);
|
|
8977
|
-
return this.
|
|
9084
|
+
return this.cachedList(
|
|
9085
|
+
"recordList",
|
|
9086
|
+
objectId,
|
|
9087
|
+
{ ...options, _userId: this.userId },
|
|
9088
|
+
() => this.executeListQuery(schema, objectId, options)
|
|
9089
|
+
);
|
|
8978
9090
|
}
|
|
8979
9091
|
/**
|
|
8980
9092
|
* List records using a pre-fetched schema.
|
|
@@ -8984,7 +9096,13 @@ var RecordQueryService = class extends BaseService {
|
|
|
8984
9096
|
if (!schema.id) {
|
|
8985
9097
|
throw new Error("Schema must have an ID to list records");
|
|
8986
9098
|
}
|
|
8987
|
-
|
|
9099
|
+
const objectId = schema.id;
|
|
9100
|
+
return this.cachedList(
|
|
9101
|
+
"recordList",
|
|
9102
|
+
objectId,
|
|
9103
|
+
{ ...options, _userId: this.userId },
|
|
9104
|
+
() => this.executeListQuery(schema, objectId, options)
|
|
9105
|
+
);
|
|
8988
9106
|
}
|
|
8989
9107
|
/**
|
|
8990
9108
|
* Internal list query execution
|
|
@@ -9043,7 +9161,12 @@ var RecordQueryService = class extends BaseService {
|
|
|
9043
9161
|
*/
|
|
9044
9162
|
async searchRecords(objectId, query, options) {
|
|
9045
9163
|
const schema = await this.schemaService.getObjectSchema(objectId);
|
|
9046
|
-
return this.
|
|
9164
|
+
return this.cachedList(
|
|
9165
|
+
"searchResults",
|
|
9166
|
+
objectId,
|
|
9167
|
+
{ query, ...options, _userId: this.userId },
|
|
9168
|
+
() => this.executeSearchQuery(schema, objectId, query, options)
|
|
9169
|
+
);
|
|
9047
9170
|
}
|
|
9048
9171
|
/**
|
|
9049
9172
|
* Search records using a pre-fetched schema.
|
|
@@ -9053,7 +9176,13 @@ var RecordQueryService = class extends BaseService {
|
|
|
9053
9176
|
if (!schema.id) {
|
|
9054
9177
|
throw new Error("Schema must have an ID to search records");
|
|
9055
9178
|
}
|
|
9056
|
-
|
|
9179
|
+
const objectId = schema.id;
|
|
9180
|
+
return this.cachedList(
|
|
9181
|
+
"searchResults",
|
|
9182
|
+
objectId,
|
|
9183
|
+
{ query, ...options, _userId: this.userId },
|
|
9184
|
+
() => this.executeSearchQuery(schema, objectId, query, options)
|
|
9185
|
+
);
|
|
9057
9186
|
}
|
|
9058
9187
|
/**
|
|
9059
9188
|
* Internal search query execution
|
|
@@ -9247,6 +9376,18 @@ var RelationService = class extends BaseService {
|
|
|
9247
9376
|
* ```
|
|
9248
9377
|
*/
|
|
9249
9378
|
async getOptions(attribute, params = {}) {
|
|
9379
|
+
const attrKey = _nullishCoalesce(attribute.id, () => ( attribute.name));
|
|
9380
|
+
return this.cachedList(
|
|
9381
|
+
"relationOptions",
|
|
9382
|
+
attrKey,
|
|
9383
|
+
params,
|
|
9384
|
+
() => this.fetchOptions(attribute, params)
|
|
9385
|
+
);
|
|
9386
|
+
}
|
|
9387
|
+
/**
|
|
9388
|
+
* Internal method to fetch relation options (extracted for caching)
|
|
9389
|
+
*/
|
|
9390
|
+
async fetchOptions(attribute, params) {
|
|
9250
9391
|
const { query = "", page = 1, pageSize = 20, targetObject, filter } = params;
|
|
9251
9392
|
const targets = attribute.targets;
|
|
9252
9393
|
const filteredTargets = targetObject ? targets.filter((t) => t.object === targetObject) : targets;
|
|
@@ -9372,11 +9513,7 @@ var RelationService = class extends BaseService {
|
|
|
9372
9513
|
* Cache is invalidated by ObjectSchemaService.invalidateSchemaCache() via allAttributes pattern.
|
|
9373
9514
|
*/
|
|
9374
9515
|
async findAttributeById(attributeId) {
|
|
9375
|
-
return this.
|
|
9376
|
-
cacheKeys.attributeById(this.tenantId, attributeId),
|
|
9377
|
-
() => this.fetchAttributeById(attributeId),
|
|
9378
|
-
cacheTtl.attributes
|
|
9379
|
-
);
|
|
9516
|
+
return this.cachedBy("attributeById", attributeId, () => this.fetchAttributeById(attributeId));
|
|
9380
9517
|
}
|
|
9381
9518
|
/**
|
|
9382
9519
|
* Internal method to fetch attribute by ID (no caching)
|
|
@@ -9430,10 +9567,11 @@ var RollupService = class extends BaseService {
|
|
|
9430
9567
|
* ```
|
|
9431
9568
|
*/
|
|
9432
9569
|
async calculate(recordId, rollupAttr, schema) {
|
|
9433
|
-
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9570
|
+
const cacheId = `${recordId}:${rollupAttr.name}`;
|
|
9571
|
+
return this.cachedBy(
|
|
9572
|
+
"rollupValue",
|
|
9573
|
+
cacheId,
|
|
9574
|
+
() => this.computeRollup(recordId, rollupAttr, schema)
|
|
9437
9575
|
);
|
|
9438
9576
|
}
|
|
9439
9577
|
/**
|
|
@@ -9863,6 +10001,9 @@ var RecordService = class extends BaseService {
|
|
|
9863
10001
|
await this.hookRegistry.execute("afterCreate", schema.name, afterCtx);
|
|
9864
10002
|
}
|
|
9865
10003
|
await recalculateParentRollups(record, schema, this.rollupContext);
|
|
10004
|
+
await this.invalidateLists("allRecordLists", objectId);
|
|
10005
|
+
await this.invalidateLists("allSearchResults", objectId);
|
|
10006
|
+
await this.invalidateCachePattern(cacheKeys.allGlobalSearch(this.tenantId));
|
|
9866
10007
|
if (this.auditService && this.userId) {
|
|
9867
10008
|
await this.auditService.logRecordAction({
|
|
9868
10009
|
action: "record.created",
|
|
@@ -9883,10 +10024,10 @@ var RecordService = class extends BaseService {
|
|
|
9883
10024
|
* Get a record by ID
|
|
9884
10025
|
*/
|
|
9885
10026
|
async getRecord(recordId, options) {
|
|
9886
|
-
const record = await this.
|
|
9887
|
-
|
|
9888
|
-
|
|
9889
|
-
|
|
10027
|
+
const record = await this.cachedBy(
|
|
10028
|
+
"record",
|
|
10029
|
+
recordId,
|
|
10030
|
+
() => this.adapter.objectRecords.findById(recordId)
|
|
9890
10031
|
);
|
|
9891
10032
|
if (!record) {
|
|
9892
10033
|
return null;
|
|
@@ -9997,6 +10138,8 @@ var RecordService = class extends BaseService {
|
|
|
9997
10138
|
}
|
|
9998
10139
|
const updated = await this.adapter.objectRecords.update(recordId, updatePayload);
|
|
9999
10140
|
await this.invalidateCache(cacheKeys.record(this.tenantId, recordId));
|
|
10141
|
+
await this.invalidateLists("allRecordLists", existing.objectId);
|
|
10142
|
+
await this.invalidateLists("allSearchResults", existing.objectId);
|
|
10000
10143
|
if (!_optionalChain([options, 'optionalAccess', _243 => _243.skipHooks])) {
|
|
10001
10144
|
const afterCtx = {
|
|
10002
10145
|
...hookCtx,
|
|
@@ -10061,6 +10204,9 @@ var RecordService = class extends BaseService {
|
|
|
10061
10204
|
}
|
|
10062
10205
|
await this.adapter.objectRecords.delete(recordId);
|
|
10063
10206
|
await this.invalidateCache(cacheKeys.record(this.tenantId, recordId));
|
|
10207
|
+
await this.invalidateLists("allRecordLists", record.objectId);
|
|
10208
|
+
await this.invalidateLists("allSearchResults", record.objectId);
|
|
10209
|
+
await this.invalidateCachePattern(cacheKeys.allGlobalSearch(this.tenantId));
|
|
10064
10210
|
if (!_optionalChain([options, 'optionalAccess', _251 => _251.skipHooks])) {
|
|
10065
10211
|
await this.hookRegistry.execute("afterDelete", schema.name, hookCtx);
|
|
10066
10212
|
}
|
|
@@ -10086,6 +10232,9 @@ var RecordService = class extends BaseService {
|
|
|
10086
10232
|
await checkPermission(this.permissionService, this.userId, schema.name, "delete");
|
|
10087
10233
|
await this.adapter.objectRecords.hardDelete(recordId);
|
|
10088
10234
|
await this.invalidateCache(cacheKeys.record(this.tenantId, recordId));
|
|
10235
|
+
await this.invalidateLists("allRecordLists", record.objectId);
|
|
10236
|
+
await this.invalidateLists("allSearchResults", record.objectId);
|
|
10237
|
+
await this.invalidateCachePattern(cacheKeys.allGlobalSearch(this.tenantId));
|
|
10089
10238
|
}
|
|
10090
10239
|
// ============================================================================
|
|
10091
10240
|
// RESTORE
|
|
@@ -10110,6 +10259,9 @@ var RecordService = class extends BaseService {
|
|
|
10110
10259
|
}
|
|
10111
10260
|
const restored = await this.adapter.objectRecords.restore(recordId);
|
|
10112
10261
|
await this.invalidateCache(cacheKeys.record(this.tenantId, recordId));
|
|
10262
|
+
await this.invalidateLists("allRecordLists", record.objectId);
|
|
10263
|
+
await this.invalidateLists("allSearchResults", record.objectId);
|
|
10264
|
+
await this.invalidateCachePattern(cacheKeys.allGlobalSearch(this.tenantId));
|
|
10113
10265
|
if (!_optionalChain([options, 'optionalAccess', _255 => _255.skipHooks])) {
|
|
10114
10266
|
const afterCtx = {
|
|
10115
10267
|
...hookCtx,
|
|
@@ -10425,11 +10577,7 @@ var WorkflowService = class extends BaseService {
|
|
|
10425
10577
|
* Results are cached if a CacheAdapter is configured.
|
|
10426
10578
|
*/
|
|
10427
10579
|
async getAllWorkflows() {
|
|
10428
|
-
return this.
|
|
10429
|
-
cacheKeys.workflowList(this.tenantId),
|
|
10430
|
-
() => this.fetchAllWorkflows(),
|
|
10431
|
-
cacheTtl.workflows
|
|
10432
|
-
);
|
|
10580
|
+
return this.cachedBy("workflowList", "all", () => this.fetchAllWorkflows());
|
|
10433
10581
|
}
|
|
10434
10582
|
/**
|
|
10435
10583
|
* Internal method to fetch all workflows (no caching)
|
|
@@ -10459,11 +10607,7 @@ var WorkflowService = class extends BaseService {
|
|
|
10459
10607
|
if (systemWorkflow) {
|
|
10460
10608
|
return systemWorkflow;
|
|
10461
10609
|
}
|
|
10462
|
-
return this.
|
|
10463
|
-
cacheKeys.workflowByName(this.tenantId, name),
|
|
10464
|
-
() => this.fetchWorkflowByName(name),
|
|
10465
|
-
cacheTtl.workflows
|
|
10466
|
-
);
|
|
10610
|
+
return this.cachedBy("workflowByName", name, () => this.fetchWorkflowByName(name));
|
|
10467
10611
|
}
|
|
10468
10612
|
/**
|
|
10469
10613
|
* Internal method to fetch workflow by name (no caching)
|
|
@@ -10488,11 +10632,7 @@ var WorkflowService = class extends BaseService {
|
|
|
10488
10632
|
return workflow2;
|
|
10489
10633
|
}
|
|
10490
10634
|
}
|
|
10491
|
-
return this.
|
|
10492
|
-
cacheKeys.workflowById(this.tenantId, id),
|
|
10493
|
-
() => this.fetchWorkflowById(id),
|
|
10494
|
-
cacheTtl.workflows
|
|
10495
|
-
);
|
|
10635
|
+
return this.cachedBy("workflowById", id, () => this.fetchWorkflowById(id));
|
|
10496
10636
|
}
|
|
10497
10637
|
/**
|
|
10498
10638
|
* Internal method to fetch workflow by ID (no caching)
|
|
@@ -11699,10 +11839,10 @@ var UserProfileService = class extends BaseService {
|
|
|
11699
11839
|
* Results are cached if a CacheAdapter is configured.
|
|
11700
11840
|
*/
|
|
11701
11841
|
async getProfile(profileId) {
|
|
11702
|
-
return this.
|
|
11703
|
-
|
|
11704
|
-
|
|
11705
|
-
|
|
11842
|
+
return this.cachedBy(
|
|
11843
|
+
"userProfileById",
|
|
11844
|
+
profileId,
|
|
11845
|
+
() => this.adapter.userProfiles.findById(profileId)
|
|
11706
11846
|
);
|
|
11707
11847
|
}
|
|
11708
11848
|
/**
|
|
@@ -11725,10 +11865,10 @@ var UserProfileService = class extends BaseService {
|
|
|
11725
11865
|
* @returns User profile or null
|
|
11726
11866
|
*/
|
|
11727
11867
|
async getProfileByAuthId(authId) {
|
|
11728
|
-
return this.
|
|
11729
|
-
|
|
11730
|
-
|
|
11731
|
-
|
|
11868
|
+
return this.cachedBy(
|
|
11869
|
+
"userProfileByAuthId",
|
|
11870
|
+
authId,
|
|
11871
|
+
() => this.adapter.userProfiles.findByAuthId(authId)
|
|
11732
11872
|
);
|
|
11733
11873
|
}
|
|
11734
11874
|
/**
|
|
@@ -11860,10 +12000,10 @@ var UserProfileService = class extends BaseService {
|
|
|
11860
12000
|
* Automatically uses tenant context from AsyncLocalStorage.
|
|
11861
12001
|
*/
|
|
11862
12002
|
async getProfileByEmail(email) {
|
|
11863
|
-
return this.
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
|
|
12003
|
+
return this.cachedBy(
|
|
12004
|
+
"userProfileByEmail",
|
|
12005
|
+
email,
|
|
12006
|
+
() => this.adapter.userProfiles.findByEmail(email)
|
|
11867
12007
|
);
|
|
11868
12008
|
}
|
|
11869
12009
|
/**
|
|
@@ -12436,7 +12576,18 @@ var GlobalSearchService = class extends BaseService {
|
|
|
12436
12576
|
if (!query || query.trim().length === 0) {
|
|
12437
12577
|
return { results: [], total: 0 };
|
|
12438
12578
|
}
|
|
12439
|
-
return
|
|
12579
|
+
return this.cachedList(
|
|
12580
|
+
"globalSearch",
|
|
12581
|
+
"global",
|
|
12582
|
+
{ query: query.trim(), ...options },
|
|
12583
|
+
() => this.executeSearch(query.trim(), options)
|
|
12584
|
+
);
|
|
12585
|
+
}
|
|
12586
|
+
/**
|
|
12587
|
+
* Internal search execution (extracted for caching)
|
|
12588
|
+
*/
|
|
12589
|
+
async executeSearch(query, options) {
|
|
12590
|
+
return await this.adapter.objectRecords.globalSearch(query, {
|
|
12440
12591
|
limit: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _289 => _289.limit]), () => ( 20)),
|
|
12441
12592
|
offset: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _290 => _290.offset]), () => ( 0)),
|
|
12442
12593
|
objectNames: _optionalChain([options, 'optionalAccess', _291 => _291.objectNames]),
|
|
@@ -12885,11 +13036,7 @@ var ViewService = class extends BaseService {
|
|
|
12885
13036
|
* @returns All views for the object
|
|
12886
13037
|
*/
|
|
12887
13038
|
async getViewsForObject(objectName) {
|
|
12888
|
-
return this.
|
|
12889
|
-
cacheKeys.viewsByObject(this.tenantId, objectName),
|
|
12890
|
-
() => this.fetchViewsForObject(objectName),
|
|
12891
|
-
cacheTtl.views
|
|
12892
|
-
);
|
|
13039
|
+
return this.cachedBy("viewsByObject", objectName, () => this.fetchViewsForObject(objectName));
|
|
12893
13040
|
}
|
|
12894
13041
|
/**
|
|
12895
13042
|
* Internal method to fetch views for an object (no caching)
|
|
@@ -13789,4 +13936,6 @@ var NoopGeocodingAdapter = class {
|
|
|
13789
13936
|
|
|
13790
13937
|
|
|
13791
13938
|
|
|
13792
|
-
exports.RELATION_TARGET_ANY = RELATION_TARGET_ANY; exports.isUniversalRelation = isUniversalRelation; exports.RecordReferencedError = RecordReferencedError; exports.AttributeInUseError = AttributeInUseError; exports.ObjectReferencedError = ObjectReferencedError; exports.NoopGeocodingAdapter = NoopGeocodingAdapter; exports.SYSTEM_FIELD_NAMES = SYSTEM_FIELD_NAMES; exports.RESERVED_ATTRIBUTE_NAMES = RESERVED_ATTRIBUTE_NAMES; exports.PolicyViolationError = PolicyViolationError; exports.SYSTEM_ATTRIBUTES = SYSTEM_ATTRIBUTES; exports.getSystemAttributeList = getSystemAttributeList; exports.isSystemAttribute = isSystemAttribute; exports.isSystemAttributeObject = isSystemAttributeObject; exports.isSimpleFormNode = isSimpleFormNode; exports.isAdvancedFormNode = isAdvancedFormNode; exports.isStartNode = isStartNode; exports.isFormNode = isFormNode; exports.isConditionNode = isConditionNode; exports.isEndNode = isEndNode; exports.getNodeOutputs = getNodeOutputs; exports.isConditionRule = isConditionRule; exports.isConditionGroup = isConditionGroup; exports.eq = eq; exports.neq = neq; exports.and = and; exports.or = or; exports.inValues = inValues; exports.isEmpty = isEmpty; exports.isNotEmpty = isNotEmpty; exports.isWorkflowDefinition = isWorkflowDefinition; exports.isWorkflowPublished = isWorkflowPublished; exports.isSystemWorkflow = isSystemWorkflow; exports.isInstanceTerminal = isInstanceTerminal; exports.isInstanceWaiting = isInstanceWaiting; exports.canResumeInstance = canResumeInstance; exports.createStartTransition = createStartTransition; exports.isSignedLinkAuth = isSignedLinkAuth; exports.isPinCodeAuth = isPinCodeAuth; exports.canParticipate = canParticipate; exports.canAuthenticate = canAuthenticate; exports.canExecuteNode = canExecuteNode; exports.createEmptyContext = createEmptyContext; exports.getContextValue = getContextValue; exports.setContextValue = setContextValue; exports.mergeFormToSlot = mergeFormToSlot; exports.DEFAULT_THEME = DEFAULT_THEME; exports.mergeWithDefaults = mergeWithDefaults; exports.generateCssVariables = generateCssVariables; exports.isInstanceEvent = isInstanceEvent; exports.isNodeEvent = isNodeEvent; exports.isParticipationEvent = isParticipationEvent; exports.ConditionOperatorSchema = ConditionOperatorSchema; exports.ConditionRuleSchema = ConditionRuleSchema; exports.ConditionGroupSchema = ConditionGroupSchema; exports.StartNodeSchema = StartNodeSchema; exports.FormFieldRefSchema = FormFieldRefSchema; exports.FlowRowFieldSchema = FlowRowFieldSchema; exports.FlowRowSchema = FlowRowSchema; exports.FormNodeSchema = FormNodeSchema; exports.ConditionNodeSchema = ConditionNodeSchema; exports.EndNodeSchema = EndNodeSchema; exports.WorkflowNodeSchema = WorkflowNodeSchema; exports.SlotModeSchema = SlotModeSchema; exports.WorkflowSlotSchema = WorkflowSlotSchema; exports.ParticipantAuthConfigSchema = ParticipantAuthConfigSchema; exports.ParticipantTemplateSchema = ParticipantTemplateSchema; exports.NodePositionSchema = NodePositionSchema; exports.ViewportSchema = ViewportSchema; exports.WorkflowLayoutSchema = WorkflowLayoutSchema; exports.ThemeColorsSchema = ThemeColorsSchema; exports.ThemeLogoSchema = ThemeLogoSchema; exports.WorkflowThemeSchema = WorkflowThemeSchema; exports.WorkflowConfigSchema = WorkflowConfigSchema; exports.WorkflowStatusSchema = WorkflowStatusSchema; exports.WorkflowDefinitionSchema = WorkflowDefinitionSchema; exports.asTenantId = asTenantId; exports.asUserId = asUserId; exports.generateId = generateId; exports.generatePrefixedId = generatePrefixedId; exports.EMPTY_VALUE_PLACEHOLDER = EMPTY_VALUE_PLACEHOLDER; exports.formatAttributeValue = formatAttributeValue; exports.SchemaErrorCode = SchemaErrorCode; exports.SchemaError = SchemaError; exports.NotFoundError = NotFoundError; exports.ObjectNotFoundError = ObjectNotFoundError; exports.AttributeNotFoundError = AttributeNotFoundError; exports.RecordNotFoundError = RecordNotFoundError; exports.UserProfileNotFoundError = UserProfileNotFoundError; exports.FileNotFoundError = FileNotFoundError; exports.ValidationError = ValidationError; exports.ProtectedResourceError = ProtectedResourceError; exports.SyncError = SyncError; exports.NotSystemObjectError = NotSystemObjectError; exports.DuplicateError = DuplicateError; exports.isSchemaError = isSchemaError; exports.isNotFoundError = isNotFoundError; exports.isValidationError = isValidationError; exports.isProtectedResourceError = isProtectedResourceError; exports.ForbiddenError = ForbiddenError; exports.ProtectedRoleError = ProtectedRoleError; exports.RoleNotFoundError = RoleNotFoundError; exports.isForbiddenError = isForbiddenError; exports.text = text; exports.textarea = textarea; exports.richtext = richtext; exports.number = number; exports.checkbox = checkbox; exports.date = date; exports.phone = phone; exports.currency = currency; exports.status = status; exports.select = select; exports.multiselect = multiselect; exports.location = location; exports.file = file; exports.user = user; exports.relation = relation; exports.rating = rating; exports.formula = formula; exports.rollup = rollup; exports.ObjectBuilder = ObjectBuilder; exports.object = object; exports.GroupBuilder = GroupBuilder; exports.DirectTableTabConfig = DirectTableTabConfig; exports.InverseTableTabConfig = InverseTableTabConfig; exports.CustomTabConfig = CustomTabConfig; exports.NotesTabConfig = NotesTabConfig; exports.ActivityTabConfig = ActivityTabConfig; exports.FlowsTabConfig = FlowsTabConfig; exports.TabBuilder = TabBuilder; exports.ViewBuilder = ViewBuilder; exports.view = view; exports.group = group; exports.WorkflowFormRowBuilder = WorkflowFormRowBuilder; exports.WorkflowFormBuilder = WorkflowFormBuilder; exports.WorkflowSimpleFormBuilder = WorkflowSimpleFormBuilder; exports.WorkflowConditionBuilder = WorkflowConditionBuilder; exports.WorkflowEndBuilder = WorkflowEndBuilder; exports.WorkflowStartBuilder = WorkflowStartBuilder; exports.WorkflowParticipantBuilder = WorkflowParticipantBuilder; exports.WorkflowBuilder = WorkflowBuilder; exports.workflow = workflow; exports.registry = registry; exports.DEFAULT_VALIDATION_MESSAGES = DEFAULT_VALIDATION_MESSAGES; exports.textConfigSchema = textConfigSchema; exports.textareaConfigSchema = textareaConfigSchema; exports.richtextConfigSchema = richtextConfigSchema; exports.numberConfigSchema = numberConfigSchema; exports.checkboxConfigSchema = checkboxConfigSchema; exports.dateConfigSchema = dateConfigSchema; exports.phoneConfigSchema = phoneConfigSchema; exports.currencyConfigSchema = currencyConfigSchema; exports.statusConfigSchema = statusConfigSchema; exports.locationConfigSchema = locationConfigSchema; exports.selectConfigSchema = selectConfigSchema; exports.multiselectConfigSchema = multiselectConfigSchema; exports.fileConfigSchema = fileConfigSchema; exports.userConfigSchema = userConfigSchema; exports.relationConfigSchema = relationConfigSchema; exports.ratingConfigSchema = ratingConfigSchema; exports.formulaConfigSchema = formulaConfigSchema; exports.rollupConfigSchema = rollupConfigSchema; exports.attributeConfigSchemas = attributeConfigSchemas; exports.getAttributeConfigSchema = getAttributeConfigSchema; exports.validateAttributeConfig = validateAttributeConfig; exports.parseAttributeConfig = parseAttributeConfig; exports.safeParseAttributeConfig = safeParseAttributeConfig; exports.createTextValidator = createTextValidator; exports.createNumberValidator = createNumberValidator; exports.createCheckboxValidator = createCheckboxValidator; exports.createDateValidator = createDateValidator; exports.createPhoneValidator = createPhoneValidator; exports.createCurrencyValidator = createCurrencyValidator; exports.createStatusValidator = createStatusValidator; exports.createSelectValidator = createSelectValidator; exports.createMultiselectValidator = createMultiselectValidator; exports.createLocationValidator = createLocationValidator; exports.createFileValidator = createFileValidator; exports.createUserValidator = createUserValidator; exports.createSingleRelationValidator = createSingleRelationValidator; exports.createMultiRelationValidator = createMultiRelationValidator; exports.createRelationValidator = createRelationValidator; exports.createRatingValidator = createRatingValidator; exports.createFormulaValidator = createFormulaValidator; exports.createRollupValidator = createRollupValidator; exports.createTextAreaValidator = createTextAreaValidator; exports.createRichtextValidator = createRichtextValidator; exports.createAttributeValidator = createAttributeValidator; exports.createFormAttributeValidator = createFormAttributeValidator; exports.createObjectValidator = createObjectValidator; exports.validateAttribute = validateAttribute; exports.validateObject = validateObject; exports.validateObjectOrThrow = validateObjectOrThrow; exports.createDraftValidator = createDraftValidator; exports.validateDraft = validateDraft; exports.validateDraftOrThrow = validateDraftOrThrow; exports.getMissingRequiredAttributes = getMissingRequiredAttributes; exports.isRecordComplete = isRecordComplete; exports.computeRecordStatus = computeRecordStatus; exports.ParticipationTokenService = ParticipationTokenService; exports.getDefaultTokenService = getDefaultTokenService; exports.initializeTokenService = initializeTokenService; exports.PinCodeService = PinCodeService; exports.getDefaultPinCodeService = getDefaultPinCodeService; exports.initializePinCodeService = initializePinCodeService; exports.cacheKeys = cacheKeys; exports.cacheTtl = cacheTtl; exports.NoopCacheAdapter = NoopCacheAdapter; exports.formatRecord = formatRecord; exports.formatRecords = formatRecords; exports.createDefaultState = createDefaultState; exports.SHORTCUT_TO_FILTER_OPERATOR = SHORTCUT_TO_FILTER_OPERATOR; exports.QueryNoResultError = QueryNoResultError; exports.QueryMultipleResultsError = QueryMultipleResultsError; exports.TenantContextError = TenantContextError; exports.getSchemaFromContext = getSchemaFromContext; exports.getSchemaByNameFromContext = getSchemaByNameFromContext; exports.hasSchemaContext = hasSchemaContext; exports.getSchemaContext = getSchemaContext; exports.addSchemaToContext = addSchemaToContext; exports.runWithSchemaContext = runWithSchemaContext; exports.runWithMergedSchemaContext = runWithMergedSchemaContext; exports.getContext = getContext; exports.getTenantId = getTenantId; exports.getUserId = getUserId; exports.hasContext = hasContext; exports.runWithContext = runWithContext; exports.withTenantContext = withTenantContext; exports.QueryBuilder = QueryBuilder; exports.createQueryBuilder = createQueryBuilder; exports.evaluateCondition = evaluateCondition; exports.evaluate = evaluate; exports.evaluateWithTrace = evaluateWithTrace; exports.ExecutorRegistry = ExecutorRegistry; exports.success = success; exports.wait = wait; exports.complete = complete; exports.error = error; exports.ConditionExecutor = ConditionExecutor; exports.EndExecutor = EndExecutor; exports.FormExecutor = FormExecutor; exports.StartExecutor = StartExecutor; exports.createDefaultExecutorRegistry = createDefaultExecutorRegistry; exports.getDefaultExecutorRegistry = getDefaultExecutorRegistry; exports.evaluateFormula = evaluateFormula; exports.evaluateFormulaWithResult = evaluateFormulaWithResult; exports.formatFormulaResult = formatFormulaResult; exports.evaluateFormulaAttribute = evaluateFormulaAttribute; exports.validateFormulaExpression = validateFormulaExpression; exports.extractFormulaVariables = extractFormulaVariables; exports.extractRelationReferences = extractRelationReferences; exports.extractRelationNames = extractRelationNames; exports.hasRelationReferences = hasRelationReferences; exports.flattenRelationsForEval = flattenRelationsForEval; exports.evaluateFormulaWithRelations = evaluateFormulaWithRelations; exports.evaluateFormulaAttributeWithRelations = evaluateFormulaAttributeWithRelations; exports.InvalidPathError = InvalidPathError; exports.MaxDepthExceededError = MaxDepthExceededError; exports.parsePath = parsePath; exports.validatePath = validatePath; exports.pathHasManyCardinality = pathHasManyCardinality; exports.getPathDepth = getPathDepth; exports.getTargetAttributeName = getTargetAttributeName; exports.getRelationPath = getRelationPath; exports.traversePath = traversePath; exports.resolveSingleValue = resolveSingleValue; exports.resolveMultiplePaths = resolveMultiplePaths; exports.NoopHookRegistry = NoopHookRegistry; exports.DEFAULT_LABEL_FALLBACK = DEFAULT_LABEL_FALLBACK; exports.renderLabelExpression = renderLabelExpression; exports.isLabelExpression = isLabelExpression; exports.extractAttributeNames = extractAttributeNames; exports.enrichValuesForDisplay = enrichValuesForDisplay; exports.enrichValuesWithSelectLabels = enrichValuesWithSelectLabels; exports.extractRelationIds = extractRelationIds; exports.computeLabelWithRelations = computeLabelWithRelations; exports.createMockAdapter = createMockAdapter; exports.PolicyRegistry = PolicyRegistry; exports.defaultPolicyRegistry = defaultPolicyRegistry; exports.notesPolicy = notesPolicy; exports.BaseService = BaseService; exports.BaseRepository = BaseRepository; exports.SchemaContextAwareRepository = SchemaContextAwareRepository; exports.TenantAwareService = TenantAwareService; exports.TenantAwareRepository = TenantAwareRepository; exports.buildAuditChanges = buildAuditChanges; exports.ObjectSchemaService = ObjectSchemaService; exports.AuditService = AuditService; exports.UserService = UserService; exports.applyDefaultValues = applyDefaultValues; exports.checkPermission = checkPermission; exports.getPolicy = getPolicy; exports.buildPolicyContext = buildPolicyContext; exports.checkRecordAccess = checkRecordAccess; exports.checkRecordModifyOrThrow = checkRecordModifyOrThrow; exports.checkRecordDeleteOrThrow = checkRecordDeleteOrThrow; exports.computeLabel = computeLabel; exports.enrichWithFormulas = enrichWithFormulas; exports.enrichRecordsWithFormulas = enrichRecordsWithFormulas; exports.createContextForCreate = createContextForCreate; exports.createContextForUpdate = createContextForUpdate; exports.createContextForDelete = createContextForDelete; exports.createContextForRestore = createContextForRestore; exports.recalculateParentRollups = recalculateParentRollups; exports.RecordQueryService = RecordQueryService; exports.RelationService = RelationService; exports.RollupService = RollupService; exports.RecordService = RecordService; exports.RelationResolverService = RelationResolverService; exports.RollupScheduler = RollupScheduler; exports.WorkflowService = WorkflowService; exports.WorkflowInstanceService = WorkflowInstanceService; exports.WorkflowParticipationService = WorkflowParticipationService; exports.WorkflowRelationService = WorkflowRelationService; exports.UserProfileService = UserProfileService; exports.FileService = FileService; exports.GeocodingService = GeocodingService; exports.GlobalSearchService = GlobalSearchService; exports.PermissionService = PermissionService; exports.ViewService = ViewService; exports.syncNativeViews = syncNativeViews; exports.verifyNativeViewsSync = verifyNativeViewsSync; exports.getViewSyncPreview = getViewSyncPreview; exports.syncNativeObjects = syncNativeObjects; exports.verifyNativeObjectsSync = verifyNativeObjectsSync; exports.getSyncPreview = getSyncPreview; exports.syncAll = syncAll;
|
|
13939
|
+
|
|
13940
|
+
|
|
13941
|
+
exports.RELATION_TARGET_ANY = RELATION_TARGET_ANY; exports.isUniversalRelation = isUniversalRelation; exports.RecordReferencedError = RecordReferencedError; exports.AttributeInUseError = AttributeInUseError; exports.ObjectReferencedError = ObjectReferencedError; exports.NoopGeocodingAdapter = NoopGeocodingAdapter; exports.SYSTEM_FIELD_NAMES = SYSTEM_FIELD_NAMES; exports.RESERVED_ATTRIBUTE_NAMES = RESERVED_ATTRIBUTE_NAMES; exports.PolicyViolationError = PolicyViolationError; exports.SYSTEM_ATTRIBUTES = SYSTEM_ATTRIBUTES; exports.getSystemAttributeList = getSystemAttributeList; exports.isSystemAttribute = isSystemAttribute; exports.isSystemAttributeObject = isSystemAttributeObject; exports.isSimpleFormNode = isSimpleFormNode; exports.isAdvancedFormNode = isAdvancedFormNode; exports.isStartNode = isStartNode; exports.isFormNode = isFormNode; exports.isConditionNode = isConditionNode; exports.isEndNode = isEndNode; exports.getNodeOutputs = getNodeOutputs; exports.isConditionRule = isConditionRule; exports.isConditionGroup = isConditionGroup; exports.eq = eq; exports.neq = neq; exports.and = and; exports.or = or; exports.inValues = inValues; exports.isEmpty = isEmpty; exports.isNotEmpty = isNotEmpty; exports.isWorkflowDefinition = isWorkflowDefinition; exports.isWorkflowPublished = isWorkflowPublished; exports.isSystemWorkflow = isSystemWorkflow; exports.isInstanceTerminal = isInstanceTerminal; exports.isInstanceWaiting = isInstanceWaiting; exports.canResumeInstance = canResumeInstance; exports.createStartTransition = createStartTransition; exports.isSignedLinkAuth = isSignedLinkAuth; exports.isPinCodeAuth = isPinCodeAuth; exports.canParticipate = canParticipate; exports.canAuthenticate = canAuthenticate; exports.canExecuteNode = canExecuteNode; exports.createEmptyContext = createEmptyContext; exports.getContextValue = getContextValue; exports.setContextValue = setContextValue; exports.mergeFormToSlot = mergeFormToSlot; exports.DEFAULT_THEME = DEFAULT_THEME; exports.mergeWithDefaults = mergeWithDefaults; exports.generateCssVariables = generateCssVariables; exports.isInstanceEvent = isInstanceEvent; exports.isNodeEvent = isNodeEvent; exports.isParticipationEvent = isParticipationEvent; exports.ConditionOperatorSchema = ConditionOperatorSchema; exports.ConditionRuleSchema = ConditionRuleSchema; exports.ConditionGroupSchema = ConditionGroupSchema; exports.StartNodeSchema = StartNodeSchema; exports.FormFieldRefSchema = FormFieldRefSchema; exports.FlowRowFieldSchema = FlowRowFieldSchema; exports.FlowRowSchema = FlowRowSchema; exports.FormNodeSchema = FormNodeSchema; exports.ConditionNodeSchema = ConditionNodeSchema; exports.EndNodeSchema = EndNodeSchema; exports.WorkflowNodeSchema = WorkflowNodeSchema; exports.SlotModeSchema = SlotModeSchema; exports.WorkflowSlotSchema = WorkflowSlotSchema; exports.ParticipantAuthConfigSchema = ParticipantAuthConfigSchema; exports.ParticipantTemplateSchema = ParticipantTemplateSchema; exports.NodePositionSchema = NodePositionSchema; exports.ViewportSchema = ViewportSchema; exports.WorkflowLayoutSchema = WorkflowLayoutSchema; exports.ThemeColorsSchema = ThemeColorsSchema; exports.ThemeLogoSchema = ThemeLogoSchema; exports.WorkflowThemeSchema = WorkflowThemeSchema; exports.WorkflowConfigSchema = WorkflowConfigSchema; exports.WorkflowStatusSchema = WorkflowStatusSchema; exports.WorkflowDefinitionSchema = WorkflowDefinitionSchema; exports.asTenantId = asTenantId; exports.asUserId = asUserId; exports.generateId = generateId; exports.generatePrefixedId = generatePrefixedId; exports.EMPTY_VALUE_PLACEHOLDER = EMPTY_VALUE_PLACEHOLDER; exports.formatAttributeValue = formatAttributeValue; exports.SchemaErrorCode = SchemaErrorCode; exports.SchemaError = SchemaError; exports.NotFoundError = NotFoundError; exports.ObjectNotFoundError = ObjectNotFoundError; exports.AttributeNotFoundError = AttributeNotFoundError; exports.RecordNotFoundError = RecordNotFoundError; exports.UserProfileNotFoundError = UserProfileNotFoundError; exports.FileNotFoundError = FileNotFoundError; exports.ValidationError = ValidationError; exports.ProtectedResourceError = ProtectedResourceError; exports.SyncError = SyncError; exports.NotSystemObjectError = NotSystemObjectError; exports.DuplicateError = DuplicateError; exports.isSchemaError = isSchemaError; exports.isNotFoundError = isNotFoundError; exports.isValidationError = isValidationError; exports.isProtectedResourceError = isProtectedResourceError; exports.ForbiddenError = ForbiddenError; exports.ProtectedRoleError = ProtectedRoleError; exports.RoleNotFoundError = RoleNotFoundError; exports.isForbiddenError = isForbiddenError; exports.text = text; exports.textarea = textarea; exports.richtext = richtext; exports.number = number; exports.checkbox = checkbox; exports.date = date; exports.phone = phone; exports.currency = currency; exports.status = status; exports.select = select; exports.multiselect = multiselect; exports.location = location; exports.file = file; exports.user = user; exports.relation = relation; exports.rating = rating; exports.formula = formula; exports.rollup = rollup; exports.ObjectBuilder = ObjectBuilder; exports.object = object; exports.GroupBuilder = GroupBuilder; exports.DirectTableTabConfig = DirectTableTabConfig; exports.InverseTableTabConfig = InverseTableTabConfig; exports.CustomTabConfig = CustomTabConfig; exports.NotesTabConfig = NotesTabConfig; exports.ActivityTabConfig = ActivityTabConfig; exports.FlowsTabConfig = FlowsTabConfig; exports.TabBuilder = TabBuilder; exports.ViewBuilder = ViewBuilder; exports.view = view; exports.group = group; exports.WorkflowFormRowBuilder = WorkflowFormRowBuilder; exports.WorkflowFormBuilder = WorkflowFormBuilder; exports.WorkflowSimpleFormBuilder = WorkflowSimpleFormBuilder; exports.WorkflowConditionBuilder = WorkflowConditionBuilder; exports.WorkflowEndBuilder = WorkflowEndBuilder; exports.WorkflowStartBuilder = WorkflowStartBuilder; exports.WorkflowParticipantBuilder = WorkflowParticipantBuilder; exports.WorkflowBuilder = WorkflowBuilder; exports.workflow = workflow; exports.registry = registry; exports.DEFAULT_VALIDATION_MESSAGES = DEFAULT_VALIDATION_MESSAGES; exports.textConfigSchema = textConfigSchema; exports.textareaConfigSchema = textareaConfigSchema; exports.richtextConfigSchema = richtextConfigSchema; exports.numberConfigSchema = numberConfigSchema; exports.checkboxConfigSchema = checkboxConfigSchema; exports.dateConfigSchema = dateConfigSchema; exports.phoneConfigSchema = phoneConfigSchema; exports.currencyConfigSchema = currencyConfigSchema; exports.statusConfigSchema = statusConfigSchema; exports.locationConfigSchema = locationConfigSchema; exports.selectConfigSchema = selectConfigSchema; exports.multiselectConfigSchema = multiselectConfigSchema; exports.fileConfigSchema = fileConfigSchema; exports.userConfigSchema = userConfigSchema; exports.relationConfigSchema = relationConfigSchema; exports.ratingConfigSchema = ratingConfigSchema; exports.formulaConfigSchema = formulaConfigSchema; exports.rollupConfigSchema = rollupConfigSchema; exports.attributeConfigSchemas = attributeConfigSchemas; exports.getAttributeConfigSchema = getAttributeConfigSchema; exports.validateAttributeConfig = validateAttributeConfig; exports.parseAttributeConfig = parseAttributeConfig; exports.safeParseAttributeConfig = safeParseAttributeConfig; exports.createTextValidator = createTextValidator; exports.createNumberValidator = createNumberValidator; exports.createCheckboxValidator = createCheckboxValidator; exports.createDateValidator = createDateValidator; exports.createPhoneValidator = createPhoneValidator; exports.createCurrencyValidator = createCurrencyValidator; exports.createStatusValidator = createStatusValidator; exports.createSelectValidator = createSelectValidator; exports.createMultiselectValidator = createMultiselectValidator; exports.createLocationValidator = createLocationValidator; exports.createFileValidator = createFileValidator; exports.createUserValidator = createUserValidator; exports.createSingleRelationValidator = createSingleRelationValidator; exports.createMultiRelationValidator = createMultiRelationValidator; exports.createRelationValidator = createRelationValidator; exports.createRatingValidator = createRatingValidator; exports.createFormulaValidator = createFormulaValidator; exports.createRollupValidator = createRollupValidator; exports.createTextAreaValidator = createTextAreaValidator; exports.createRichtextValidator = createRichtextValidator; exports.createAttributeValidator = createAttributeValidator; exports.createFormAttributeValidator = createFormAttributeValidator; exports.createObjectValidator = createObjectValidator; exports.validateAttribute = validateAttribute; exports.validateObject = validateObject; exports.validateObjectOrThrow = validateObjectOrThrow; exports.createDraftValidator = createDraftValidator; exports.validateDraft = validateDraft; exports.validateDraftOrThrow = validateDraftOrThrow; exports.getMissingRequiredAttributes = getMissingRequiredAttributes; exports.isRecordComplete = isRecordComplete; exports.computeRecordStatus = computeRecordStatus; exports.ParticipationTokenService = ParticipationTokenService; exports.getDefaultTokenService = getDefaultTokenService; exports.initializeTokenService = initializeTokenService; exports.PinCodeService = PinCodeService; exports.getDefaultPinCodeService = getDefaultPinCodeService; exports.initializePinCodeService = initializePinCodeService; exports.hashOptions = hashOptions; exports.cacheKeys = cacheKeys; exports.cacheTtl = cacheTtl; exports.defaultTtl = defaultTtl; exports.NoopCacheAdapter = NoopCacheAdapter; exports.formatRecord = formatRecord; exports.formatRecords = formatRecords; exports.createDefaultState = createDefaultState; exports.SHORTCUT_TO_FILTER_OPERATOR = SHORTCUT_TO_FILTER_OPERATOR; exports.QueryNoResultError = QueryNoResultError; exports.QueryMultipleResultsError = QueryMultipleResultsError; exports.TenantContextError = TenantContextError; exports.getSchemaFromContext = getSchemaFromContext; exports.getSchemaByNameFromContext = getSchemaByNameFromContext; exports.hasSchemaContext = hasSchemaContext; exports.getSchemaContext = getSchemaContext; exports.addSchemaToContext = addSchemaToContext; exports.runWithSchemaContext = runWithSchemaContext; exports.runWithMergedSchemaContext = runWithMergedSchemaContext; exports.getContext = getContext; exports.getTenantId = getTenantId; exports.getUserId = getUserId; exports.hasContext = hasContext; exports.runWithContext = runWithContext; exports.withTenantContext = withTenantContext; exports.QueryBuilder = QueryBuilder; exports.createQueryBuilder = createQueryBuilder; exports.evaluateCondition = evaluateCondition; exports.evaluate = evaluate; exports.evaluateWithTrace = evaluateWithTrace; exports.ExecutorRegistry = ExecutorRegistry; exports.success = success; exports.wait = wait; exports.complete = complete; exports.error = error; exports.ConditionExecutor = ConditionExecutor; exports.EndExecutor = EndExecutor; exports.FormExecutor = FormExecutor; exports.StartExecutor = StartExecutor; exports.createDefaultExecutorRegistry = createDefaultExecutorRegistry; exports.getDefaultExecutorRegistry = getDefaultExecutorRegistry; exports.evaluateFormula = evaluateFormula; exports.evaluateFormulaWithResult = evaluateFormulaWithResult; exports.formatFormulaResult = formatFormulaResult; exports.evaluateFormulaAttribute = evaluateFormulaAttribute; exports.validateFormulaExpression = validateFormulaExpression; exports.extractFormulaVariables = extractFormulaVariables; exports.extractRelationReferences = extractRelationReferences; exports.extractRelationNames = extractRelationNames; exports.hasRelationReferences = hasRelationReferences; exports.flattenRelationsForEval = flattenRelationsForEval; exports.evaluateFormulaWithRelations = evaluateFormulaWithRelations; exports.evaluateFormulaAttributeWithRelations = evaluateFormulaAttributeWithRelations; exports.InvalidPathError = InvalidPathError; exports.MaxDepthExceededError = MaxDepthExceededError; exports.parsePath = parsePath; exports.validatePath = validatePath; exports.pathHasManyCardinality = pathHasManyCardinality; exports.getPathDepth = getPathDepth; exports.getTargetAttributeName = getTargetAttributeName; exports.getRelationPath = getRelationPath; exports.traversePath = traversePath; exports.resolveSingleValue = resolveSingleValue; exports.resolveMultiplePaths = resolveMultiplePaths; exports.NoopHookRegistry = NoopHookRegistry; exports.DEFAULT_LABEL_FALLBACK = DEFAULT_LABEL_FALLBACK; exports.renderLabelExpression = renderLabelExpression; exports.isLabelExpression = isLabelExpression; exports.extractAttributeNames = extractAttributeNames; exports.enrichValuesForDisplay = enrichValuesForDisplay; exports.enrichValuesWithSelectLabels = enrichValuesWithSelectLabels; exports.extractRelationIds = extractRelationIds; exports.computeLabelWithRelations = computeLabelWithRelations; exports.createMockAdapter = createMockAdapter; exports.PolicyRegistry = PolicyRegistry; exports.defaultPolicyRegistry = defaultPolicyRegistry; exports.notesPolicy = notesPolicy; exports.BaseService = BaseService; exports.BaseRepository = BaseRepository; exports.SchemaContextAwareRepository = SchemaContextAwareRepository; exports.TenantAwareRepository = TenantAwareRepository; exports.TenantAwareService = TenantAwareService; exports.buildAuditChanges = buildAuditChanges; exports.ObjectSchemaService = ObjectSchemaService; exports.AuditService = AuditService; exports.UserService = UserService; exports.applyDefaultValues = applyDefaultValues; exports.checkPermission = checkPermission; exports.getPolicy = getPolicy; exports.buildPolicyContext = buildPolicyContext; exports.checkRecordAccess = checkRecordAccess; exports.checkRecordModifyOrThrow = checkRecordModifyOrThrow; exports.checkRecordDeleteOrThrow = checkRecordDeleteOrThrow; exports.computeLabel = computeLabel; exports.enrichWithFormulas = enrichWithFormulas; exports.enrichRecordsWithFormulas = enrichRecordsWithFormulas; exports.createContextForCreate = createContextForCreate; exports.createContextForUpdate = createContextForUpdate; exports.createContextForDelete = createContextForDelete; exports.createContextForRestore = createContextForRestore; exports.recalculateParentRollups = recalculateParentRollups; exports.RecordQueryService = RecordQueryService; exports.RelationService = RelationService; exports.RollupService = RollupService; exports.RecordService = RecordService; exports.RelationResolverService = RelationResolverService; exports.RollupScheduler = RollupScheduler; exports.WorkflowService = WorkflowService; exports.WorkflowInstanceService = WorkflowInstanceService; exports.WorkflowParticipationService = WorkflowParticipationService; exports.WorkflowRelationService = WorkflowRelationService; exports.UserProfileService = UserProfileService; exports.FileService = FileService; exports.GeocodingService = GeocodingService; exports.GlobalSearchService = GlobalSearchService; exports.PermissionService = PermissionService; exports.ViewService = ViewService; exports.syncNativeViews = syncNativeViews; exports.verifyNativeViewsSync = verifyNativeViewsSync; exports.getViewSyncPreview = getViewSyncPreview; exports.syncNativeObjects = syncNativeObjects; exports.verifyNativeObjectsSync = verifyNativeObjectsSync; exports.getSyncPreview = getSyncPreview; exports.syncAll = syncAll;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DateAttribute, U as UserAttribute, A as Attribute, S as SystemResource, a as SystemAction, O as ObjectAction, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, e as Option, f as StatusAttribute, g as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, F as FileAttribute, h as SingleRelationAttribute, i as MultiRelationAttribute, j as RelationTarget, k as RatingAttribute, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as AttributeType, I as InferAttributeValue, q as ObjectDefinition, r as Field, s as AttributeGroupField, G as Group, t as TableTab, V as ViewLayout, u as InverseTableTab, v as ViewDefinition, w as InstanceStatus, x as Tab, y as FilterState, z as SortRule, B as DirectTableTab, W as WorkflowTheme, E as WorkflowConfig, H as SlotMode, J as AuthMethod, K as AuthChannel, Q as ParticipantTemplate, X as ConditionGroup, Y as ConditionRule, Z as WorkflowNode, _ as WorkflowDefinition, $ as FlowRow, a0 as BlockNoteContent } from './runtime-
|
|
2
|
-
export { cb as ActivityTab, bq as AddAttribute, gy as AddAttributeInput, aY as AdvancedFilterState, b_ as AssignRoleInput, g5 as AttributeChange, a2 as AttributeGroup, bp as AttributeMap, bl as AttributeSchema, gh as AttributesRepository, aw as AuditAction, ax as AuditActorType, ay as AuditChange, aB as AuditListOptions, az as AuditLogEntry, gp as AuditRepository, av as AuditResourceType, hu as AuditService, aC as AuditServiceOptions, hl as AuthenticationResult, a3 as BaseAttribute, gs as BaseRepository, gr as BaseService, ae as BlockNoteBlock, af as BlockNoteCustomInlineContent, ag as BlockNoteDefaultProps, ah as BlockNoteInlineContent, ai as BlockNoteLink, aj as BlockNoteStyledText, ak as BlockNoteStyles, al as BlockNoteTableCell, am as BlockNoteTableCellProps, an as BlockNoteTableContent, eG as CacheAdapter, eH as CacheOptions, cL as CanvasViewport, aK as CheckboxFilterOperator, bO as CompletionStatus, fz as ConditionExecutor, cp as ConditionNode, cz as ConditionOperator, aA as CreateAuditLogInput, gx as CreateCustomObjectInput, i5 as CreateDBAttribute, i1 as CreateDBObject, ig as CreateDBView, ik as CreateDBWorkflow, io as CreateDBWorkflowInstance, ir as CreateDBWorkflowParticipation, aG as CreateFile, i8 as CreateObjectRecord, hj as CreateParticipationInput, hk as CreateParticipationResult, bZ as CreatePermissionInput, bX as CreateRoleInput, c5 as CreateUserProfile, hC as CreateViewInput, hb as CreateWorkflowInput, a8 as Currency, aR as CurrencyFilterValue, bu as CustomAttributeValue, ca as CustomTab, i4 as DBAttribute, i0 as DBObject, ie as DBView, ij as DBWorkflow, im as DBWorkflowInstance, iq as DBWorkflowParticipation, hT as DEFAULT_LABEL_FALLBACK, dn as DEFAULT_THEME, dB as DEFAULT_VALIDATION_MESSAGES, eu as DatabaseAdapter, aL as DateFilterOperator, a5 as DateFormat, a6 as DateValue, bU as EffectivePermissions, fA as EndExecutor, cq as EndNode, f0 as EvaluationResult, f1 as EvaluationTrace, fn as ExecutorCompleteResult, fo as ExecutorContext, fp as ExecutorErrorResult, fw as ExecutorRegistry, fq as ExecutorResult, fr as ExecutorSuccessResult, fs as ExecutorWaitResult, aV as ExtendedFilterRule, bE as ExtractAttributes, bG as ExtractObjectRecord, bH as ExtractObjectRecordWithCustom, by as ExtractRecord, bA as ExtractRecordInput, bB as ExtractRecordInputStrict, bz as ExtractRecordStrict, bC as ExtractRecordUpdate, bD as ExtractRecordUpdateStrict, eL as FetchResult, hn as FieldReadOnlyResult, aF as File, hF as FileContent, id as FileListOptions, hx as FileService, hw as FileServiceOptions, aE as FileVisibility, gj as FilesRepository, aW as FilterCombinator, aX as FilterGroup, aP as FilterOperator, aU as FilterRule, aT as FilterValue, bb as FlowDefinition, b8 as FlowPage, b9 as FlowRelation, b7 as FlowRowField, b6 as FlowSlot, ba as FlowStatus, cd as FlowsTab, dj as FormContextResponse, fB as FormExecutor, dg as FormFieldContext, co as FormFieldRef, dh as FormFieldRow, cn as FormNode, di as FormNodeInfo, c9 as FormTab, eM as FormattedRecord, fP as FormulaResult, hR as FullSyncOptions, hQ as FullSyncResult, d8 as GeneratedDocument, bj as GeocodingAdapter, bg as GeocodingAutocompleteParams, bi as GeocodingParams, hy as GeocodingService, bf as GeocodingSuggestion, gN as GetRelationOptionsParams, ib as GlobalSearchOptions, ic as GlobalSearchResultItem, hz as GlobalSearchService, eN as GroupedFetchResult, g6 as HookContext, g7 as HookDefinition, g8 as HookHandler, gb as HookRegistry, g9 as HookType, br as InferRecord, bm as InferRecordFromSchema, bs as InferRecordInput, bt as InferRecordUpdate, bn as InferRecordWithRequirements, eO as InsertOptions, fT as InvalidPathError, c7 as InviteUserInput, h2 as LabelResolver, i9 as ListOptions, a9 as Location, aa as LocationGranularity, fU as MaxDepthExceededError, aN as MultiselectFilterOperator, b4 as NO_VALUE_OPERATORS, b3 as NoValueOperator, ft as NodeExecutor, cK as NodePosition, eK as NoopCacheAdapter, bk as NoopGeocodingAdapter, ga as NoopHookRegistry, cc as NotesTab, aJ as NumberFilterOperator, a4 as NumberUnit, b2 as OPERATORS_BY_TYPE, bN as ObjectAttribute, bV as ObjectPermissions, bP as ObjectRecord, gk as ObjectRecordsRepository, gB as ObjectSchemaService, gA as ObjectSchemaServiceOptions, gg as ObjectsRepository, it as OperationResult, ao as PartialBlockNoteBlock, ap as PartialBlockNoteContent, aq as PartialBlockNoteInlineContent, ar as PartialBlockNoteLink, as as PartialBlockNoteStyledText, at as PartialBlockNoteTableCell, au as PartialBlockNoteTableContent, cN as ParticipantAuthConfig, d1 as ParticipationAuth, c_ as ParticipationStatus, ey as ParticipationTokenPayload, ev as ParticipationTokenService, fY as PathCardinality, fZ as PathSegment, f_ as PathSegmentType, cU as PendingAction, bS as Permission, bQ as PermissionScope, hB as PermissionService, hA as PermissionServiceOptions, gq as PermissionsRepository, a7 as Phone, aS as PhoneFilterValue, d0 as PinCodeAuth, eE as PinCodeGenerationOptions, eB as PinCodeService, eF as PinCodeVerificationResult, b$ as PolicyContext, ge as PolicyRegistry, c1 as PolicyViolationError, e_ as QueryBuilder, e$ as QueryBuilderOptions, eP as QueryBuilderState, eW as QueryMultipleResultsError, eX as QueryNoResultError, gF as QueryOptions, gH as QueryResult, b1 as QueryState, ab as RELATION_TARGET_ANY, bI as RESERVED_ATTRIBUTE_NAMES, df as ReadOnlyReason, bw as RecordMetadata, c0 as RecordPolicy, gI as RecordQueryService, gE as RecordQueryServiceOptions, gD as RecordService, gC as RecordServiceOptions, eQ as RegistryMap, eR as RegistryObjectNames, ac as RelationAttribute, aO as RelationFilterOperator, h_ as RelationLabelResolver, gL as RelationOption, gM as RelationOptionsResponse, gR as RelationResolverService, gP as RelationService, gO as RelationServiceOptions, gK as RelationValidationError, gJ as RelationValidationResult, aQ as RelativeDateValue, bK as ReservedAttributeName, gQ as ResolvedRelations, hg as ResumeWorkflowInput, bh as ReverseGeocodingParams, bR as Role, ha as RollupCascadeContext, gS as RollupResult, gV as RollupScheduler, gU as RollupSchedulerOptions, gT as RollupService, eY as SHORTCUT_TO_FILTER_OPERATOR, bJ as SYSTEM_FIELD_NAMES, fd as SchemaContext, gt as SchemaContextAware, gu as SchemaContextAwareRepository, f$ as SchemaResolver, ia as SearchOptions, gG as SearchQueryOptions, aM as SelectFilterOperator, eS as ShortcutOperator, c$ as SignedLinkAuth, hI as SignedUrlOptions, b0 as SortDirection, fC as StartExecutor, cm as StartNode, hf as StartWorkflowInput, a1 as StatusGroup, hJ as StorageAdapter, aD as StorageProvider, hG as StorageUploadInput, hH as StorageUploadResult, hM as SyncOptions, hL as SyncResult, bL as SystemFieldName, bx as SystemFields, bW as SystemPermissions, c8 as TabType, gw as TenantAwareRepository, gv as TenantAwareService, fk as TenantContext, f5 as TenantContextError, ds as TenantId, aI as TextFilterOperator, dl as ThemeColors, dk as ThemeLogo, dm as ThemeTypography, bM as Timestamps, ez as TokenGenerationOptions, eA as TokenVerificationResult, g3 as TraversalOptions, g4 as TraversalResult, bo as TypedAttribute, bF as TypedObjectRecord, i6 as UpdateDBAttribute, i2 as UpdateDBObject, ih as UpdateDBView, il as UpdateDBWorkflow, ip as UpdateDBWorkflowInstance, is as UpdateDBWorkflowParticipation, aH as UpdateFile, gz as UpdateObjectInput, bY as UpdateRoleInput, c6 as UpdateUserProfile, hD as UpdateViewInput, hc as UpdateWorkflowInput, hK as UploadFileInput, i7 as UpsertDBAttribute, i3 as UpsertDBObject, ii as UpsertDBView, dt as UserId, c4 as UserProfile, ht as UserProfileService, hs as UserProfileServiceOptions, gi as UserProfilesRepository, c2 as UserRole, bT as UserRoleAssignment, hr as UserService, c3 as UserStatus, hq as UserValidationError, hp as UserValidationResult, dr as Uuid, dA as ValidationMessages, ek as ValidationResult, hE as ViewService, iv as ViewSyncOptions, iu as ViewSyncResult, gl as ViewsRepository, bv as WithCustomAttributes, de as WorkflowAccessMode, cT as WorkflowError, d9 as WorkflowExecutionContext, cV as WorkflowInstance, hi as WorkflowInstanceService, hh as WorkflowInstanceServiceOptions, gn as WorkflowInstancesRepository, cM as WorkflowLayout, cr as WorkflowNodeType, d2 as WorkflowParticipation, hm as WorkflowParticipationService, go as WorkflowParticipationsRepository, ho as WorkflowRelationService, he as WorkflowService, hd as WorkflowServiceOptions, cJ as WorkflowSlot, cO as WorkflowStatus, cS as WorkflowTransition, gm as WorkflowsRepository, f6 as addSchemaToContext, cE as and, gW as applyDefaultValues, du as asTenantId, dv as asUserId, dU as attributeConfigSchemas, hv as buildAuditChanges, gZ as buildPolicyContext, eI as cacheKeys, eJ as cacheTtl, d6 as canAuthenticate, d7 as canExecuteNode, d5 as canParticipate, cY as canResumeInstance, gX as checkPermission, g_ as checkRecordAccess, h0 as checkRecordDeleteOrThrow, g$ as checkRecordModifyOrThrow, dG as checkboxConfigSchema, fu as complete, h1 as computeLabel, h$ as computeLabelWithRelations, et as computeRecordStatus, eh as createAttributeValidator, d$ as createCheckboxValidator, h5 as createContextForCreate, h7 as createContextForDelete, h8 as createContextForRestore, h6 as createContextForUpdate, e2 as createCurrencyValidator, e0 as createDateValidator, fl as createDefaultExecutorRegistry, eT as createDefaultState, eo as createDraftValidator, da as createEmptyContext, e7 as createFileValidator, ei as createFormAttributeValidator, ed as createFormulaValidator, e6 as createLocationValidator, gc as createMockAdapter, ea as createMultiRelationValidator, e5 as createMultiselectValidator, d_ as createNumberValidator, ej as createObjectValidator, e1 as createPhoneValidator, eZ as createQueryBuilder, ec as createRatingValidator, eb as createRelationValidator, eg as createRichtextValidator, ee as createRollupValidator, e4 as createSelectValidator, e9 as createSingleRelationValidator, cZ as createStartTransition, e3 as createStatusValidator, ef as createTextAreaValidator, dZ as createTextValidator, e8 as createUserValidator, dJ as currencyConfigSchema, dH as dateConfigSchema, gd as defaultPolicyRegistry, h4 as enrichRecordsWithFormulas, hX as enrichValuesForDisplay, hY as enrichValuesWithSelectLabels, h3 as enrichWithFormulas, cC as eq, fv as error, f3 as evaluate, f2 as evaluateCondition, fD as evaluateFormula, fE as evaluateFormulaAttribute, fF as evaluateFormulaAttributeWithRelations, fG as evaluateFormulaWithRelations, fH as evaluateFormulaWithResult, f4 as evaluateWithTrace, hW as extractAttributeNames, fI as extractFormulaVariables, hZ as extractRelationIds, fJ as extractRelationNames, fK as extractRelationReferences, dO as fileConfigSchema, fL as flattenRelationsForEval, fM as formatFormulaResult, eU as formatRecord, eV as formatRecords, dS as formulaConfigSchema, dq as generateCssVariables, dw as generateId, dx as generatePrefixedId, dV as getAttributeConfigSchema, fe as getContext, db as getContextValue, fm as getDefaultExecutorRegistry, eC as getDefaultPinCodeService, ew as getDefaultTokenService, er as getMissingRequiredAttributes, cy as getNodeOutputs, fQ as getPathDepth, gY as getPolicy, fR as getRelationPath, f7 as getSchemaByNameFromContext, f8 as getSchemaContext, f9 as getSchemaFromContext, hP as getSyncPreview, fS as getTargetAttributeName, ff as getTenantId, fg as getUserId, iy as getViewSyncPreview, fh as hasContext, fN as hasRelationReferences, fa as hasSchemaContext, cG as inValues, eD as initializePinCodeService, ex as initializeTokenService, cj as isActivityTab, aZ as isAdvancedFilterState, cx as isAdvancedFormNode, cB as isConditionGroup, cu as isConditionNode, cA as isConditionRule, ci as isCustomTab, cg as isDirectTableTab, cH as isEmpty, cv as isEndNode, bc as isFlowDefinition, bd as isFlowPublished, cl as isFlowsTab, ct as isFormNode, ce as isFormTab, cW as isInstanceTerminal, cX as isInstanceWaiting, ch as isInverseTableTab, hV as isLabelExpression, b5 as isNoValueOperator, cI as isNotEmpty, ck as isNotesTab, d4 as isPinCodeAuth, es as isRecordComplete, d3 as isSignedLinkAuth, cw as isSimpleFormNode, cs as isStartNode, be as isSystemFlow, cR as isSystemWorkflow, cf as isTableTab, ad as isUniversalRelation, cP as isWorkflowDefinition, cQ as isWorkflowPublished, dL as locationConfigSchema, dd as mergeFormToSlot, dp as mergeWithDefaults, dN as multiselectConfigSchema, cD as neq, gf as notesPolicy, dF as numberConfigSchema, cF as or, dX as parseAttributeConfig, fV as parsePath, fW as pathHasManyCardinality, dI as phoneConfigSchema, dR as ratingConfigSchema, h9 as recalculateParentRollups, dy as registry, dQ as relationConfigSchema, hU as renderLabelExpression, g0 as resolveMultiplePaths, g1 as resolveSingleValue, dE as richtextConfigSchema, dT as rollupConfigSchema, fi as runWithContext, fb as runWithMergedSchemaContext, fc as runWithSchemaContext, dY as safeParseAttributeConfig, dM as selectConfigSchema, dc as setContextValue, dK as statusConfigSchema, fx as success, hS as syncAll, hN as syncNativeObjects, iw as syncNativeViews, dC as textConfigSchema, dD as textareaConfigSchema, a_ as toAdvancedFilterState, a$ as toSimpleFilterState, g2 as traversePath, dP as userConfigSchema, el as validateAttribute, dW as validateAttributeConfig, ep as validateDraft, eq as validateDraftOrThrow, fO as validateFormulaExpression, em as validateObject, en as validateObjectOrThrow, fX as validatePath, hO as verifyNativeObjectsSync, ix as verifyNativeViewsSync, dz as viewRegistry, fy as wait, fj as withTenantContext } from './runtime-fh5-UJWV.mjs';
|
|
1
|
+
import { D as DateAttribute, U as UserAttribute, A as Attribute, S as SystemResource, a as SystemAction, O as ObjectAction, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, e as Option, f as StatusAttribute, g as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, F as FileAttribute, h as SingleRelationAttribute, i as MultiRelationAttribute, j as RelationTarget, k as RatingAttribute, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as AttributeType, I as InferAttributeValue, q as ObjectDefinition, r as Field, s as AttributeGroupField, G as Group, t as TableTab, V as ViewLayout, u as InverseTableTab, v as ViewDefinition, w as InstanceStatus, x as Tab, y as FilterState, z as SortRule, B as DirectTableTab, W as WorkflowTheme, E as WorkflowConfig, H as SlotMode, J as AuthMethod, K as AuthChannel, Q as ParticipantTemplate, X as ConditionGroup, Y as ConditionRule, Z as WorkflowNode, _ as WorkflowDefinition, $ as FlowRow, a0 as BlockNoteContent } from './runtime-BOg0C4ev.mjs';
|
|
2
|
+
export { cb as ActivityTab, bq as AddAttribute, gB as AddAttributeInput, aY as AdvancedFilterState, b_ as AssignRoleInput, g8 as AttributeChange, a2 as AttributeGroup, bp as AttributeMap, bl as AttributeSchema, gk as AttributesRepository, aw as AuditAction, ax as AuditActorType, ay as AuditChange, aB as AuditListOptions, az as AuditLogEntry, gs as AuditRepository, av as AuditResourceType, hx as AuditService, aC as AuditServiceOptions, ho as AuthenticationResult, a3 as BaseAttribute, gv as BaseRepository, gu as BaseService, ae as BlockNoteBlock, af as BlockNoteCustomInlineContent, ag as BlockNoteDefaultProps, ah as BlockNoteInlineContent, ai as BlockNoteLink, aj as BlockNoteStyledText, ak as BlockNoteStyles, al as BlockNoteTableCell, am as BlockNoteTableCellProps, an as BlockNoteTableContent, eI as CacheAdapter, eG as CacheKeyType, eJ as CacheOptions, cL as CanvasViewport, aK as CheckboxFilterOperator, bO as CompletionStatus, fC as ConditionExecutor, cp as ConditionNode, cz as ConditionOperator, aA as CreateAuditLogInput, gA as CreateCustomObjectInput, i8 as CreateDBAttribute, i4 as CreateDBObject, ij as CreateDBView, io as CreateDBWorkflow, ir as CreateDBWorkflowInstance, iu as CreateDBWorkflowParticipation, aG as CreateFile, ib as CreateObjectRecord, hm as CreateParticipationInput, hn as CreateParticipationResult, bZ as CreatePermissionInput, bX as CreateRoleInput, c5 as CreateUserProfile, hF as CreateViewInput, he as CreateWorkflowInput, a8 as Currency, aR as CurrencyFilterValue, bu as CustomAttributeValue, ca as CustomTab, i7 as DBAttribute, i3 as DBObject, ii as DBView, im as DBWorkflow, iq as DBWorkflowInstance, it as DBWorkflowParticipation, hW as DEFAULT_LABEL_FALLBACK, dn as DEFAULT_THEME, dB as DEFAULT_VALIDATION_MESSAGES, eu as DatabaseAdapter, aL as DateFilterOperator, a5 as DateFormat, a6 as DateValue, bU as EffectivePermissions, fD as EndExecutor, cq as EndNode, f3 as EvaluationResult, f4 as EvaluationTrace, fq as ExecutorCompleteResult, fr as ExecutorContext, fs as ExecutorErrorResult, fz as ExecutorRegistry, ft as ExecutorResult, fu as ExecutorSuccessResult, fv as ExecutorWaitResult, aV as ExtendedFilterRule, bE as ExtractAttributes, bG as ExtractObjectRecord, bH as ExtractObjectRecordWithCustom, by as ExtractRecord, bA as ExtractRecordInput, bB as ExtractRecordInputStrict, bz as ExtractRecordStrict, bC as ExtractRecordUpdate, bD as ExtractRecordUpdateStrict, eO as FetchResult, hq as FieldReadOnlyResult, aF as File, hI as FileContent, ih as FileListOptions, hA as FileService, hz as FileServiceOptions, aE as FileVisibility, gm as FilesRepository, aW as FilterCombinator, aX as FilterGroup, aP as FilterOperator, aU as FilterRule, aT as FilterValue, bb as FlowDefinition, b8 as FlowPage, b9 as FlowRelation, b7 as FlowRowField, b6 as FlowSlot, ba as FlowStatus, cd as FlowsTab, dj as FormContextResponse, fE as FormExecutor, dg as FormFieldContext, co as FormFieldRef, dh as FormFieldRow, cn as FormNode, di as FormNodeInfo, c9 as FormTab, eP as FormattedRecord, fS as FormulaResult, hU as FullSyncOptions, hT as FullSyncResult, d8 as GeneratedDocument, bj as GeocodingAdapter, bg as GeocodingAutocompleteParams, bi as GeocodingParams, hB as GeocodingService, bf as GeocodingSuggestion, gQ as GetRelationOptionsParams, ie as GlobalSearchOptions, ig as GlobalSearchResultItem, hC as GlobalSearchService, eQ as GroupedFetchResult, g9 as HookContext, ga as HookDefinition, gb as HookHandler, ge as HookRegistry, gc as HookType, br as InferRecord, bm as InferRecordFromSchema, bs as InferRecordInput, bt as InferRecordUpdate, bn as InferRecordWithRequirements, eR as InsertOptions, fW as InvalidPathError, c7 as InviteUserInput, h5 as LabelResolver, ic as ListOptions, a9 as Location, aa as LocationGranularity, fX as MaxDepthExceededError, aN as MultiselectFilterOperator, b4 as NO_VALUE_OPERATORS, b3 as NoValueOperator, fw as NodeExecutor, cK as NodePosition, eN as NoopCacheAdapter, bk as NoopGeocodingAdapter, gd as NoopHookRegistry, cc as NotesTab, aJ as NumberFilterOperator, a4 as NumberUnit, b2 as OPERATORS_BY_TYPE, bN as ObjectAttribute, bV as ObjectPermissions, bP as ObjectRecord, gn as ObjectRecordsRepository, gE as ObjectSchemaService, gD as ObjectSchemaServiceOptions, gj as ObjectsRepository, iw as OperationResult, ao as PartialBlockNoteBlock, ap as PartialBlockNoteContent, aq as PartialBlockNoteInlineContent, ar as PartialBlockNoteLink, as as PartialBlockNoteStyledText, at as PartialBlockNoteTableCell, au as PartialBlockNoteTableContent, cN as ParticipantAuthConfig, d1 as ParticipationAuth, c_ as ParticipationStatus, ey as ParticipationTokenPayload, ev as ParticipationTokenService, f$ as PathCardinality, g0 as PathSegment, g1 as PathSegmentType, cU as PendingAction, bS as Permission, bQ as PermissionScope, hE as PermissionService, hD as PermissionServiceOptions, gt as PermissionsRepository, a7 as Phone, aS as PhoneFilterValue, d0 as PinCodeAuth, eE as PinCodeGenerationOptions, eB as PinCodeService, eF as PinCodeVerificationResult, b$ as PolicyContext, gh as PolicyRegistry, c1 as PolicyViolationError, f1 as QueryBuilder, f2 as QueryBuilderOptions, eS as QueryBuilderState, eZ as QueryMultipleResultsError, e_ as QueryNoResultError, gI as QueryOptions, gK as QueryResult, b1 as QueryState, ab as RELATION_TARGET_ANY, bI as RESERVED_ATTRIBUTE_NAMES, df as ReadOnlyReason, bw as RecordMetadata, c0 as RecordPolicy, gL as RecordQueryService, gH as RecordQueryServiceOptions, gG as RecordService, gF as RecordServiceOptions, eT as RegistryMap, eU as RegistryObjectNames, ac as RelationAttribute, aO as RelationFilterOperator, i1 as RelationLabelResolver, gO as RelationOption, gP as RelationOptionsResponse, gU as RelationResolverService, gS as RelationService, gR as RelationServiceOptions, gN as RelationValidationError, gM as RelationValidationResult, aQ as RelativeDateValue, bK as ReservedAttributeName, gT as ResolvedRelations, hj as ResumeWorkflowInput, bh as ReverseGeocodingParams, bR as Role, hd as RollupCascadeContext, gV as RollupResult, gY as RollupScheduler, gX as RollupSchedulerOptions, gW as RollupService, e$ as SHORTCUT_TO_FILTER_OPERATOR, bJ as SYSTEM_FIELD_NAMES, fg as SchemaContext, gw as SchemaContextAware, gx as SchemaContextAwareRepository, g2 as SchemaResolver, id as SearchOptions, gJ as SearchQueryOptions, aM as SelectFilterOperator, eV as ShortcutOperator, c$ as SignedLinkAuth, hL as SignedUrlOptions, b0 as SortDirection, fF as StartExecutor, cm as StartNode, hi as StartWorkflowInput, a1 as StatusGroup, hM as StorageAdapter, aD as StorageProvider, hJ as StorageUploadInput, hK as StorageUploadResult, hP as SyncOptions, hO as SyncResult, bL as SystemFieldName, bx as SystemFields, bW as SystemPermissions, c8 as TabType, gy as TenantAwareRepository, gz as TenantAwareService, fn as TenantContext, f8 as TenantContextError, ds as TenantId, aI as TextFilterOperator, dl as ThemeColors, dk as ThemeLogo, dm as ThemeTypography, bM as Timestamps, ez as TokenGenerationOptions, eA as TokenVerificationResult, g6 as TraversalOptions, g7 as TraversalResult, bo as TypedAttribute, bF as TypedObjectRecord, i9 as UpdateDBAttribute, i5 as UpdateDBObject, ik as UpdateDBView, ip as UpdateDBWorkflow, is as UpdateDBWorkflowInstance, iv as UpdateDBWorkflowParticipation, aH as UpdateFile, gC as UpdateObjectInput, bY as UpdateRoleInput, c6 as UpdateUserProfile, hG as UpdateViewInput, hf as UpdateWorkflowInput, hN as UploadFileInput, ia as UpsertDBAttribute, i6 as UpsertDBObject, il as UpsertDBView, dt as UserId, c4 as UserProfile, hw as UserProfileService, hv as UserProfileServiceOptions, gl as UserProfilesRepository, c2 as UserRole, bT as UserRoleAssignment, hu as UserService, c3 as UserStatus, ht as UserValidationError, hs as UserValidationResult, dr as Uuid, dA as ValidationMessages, ek as ValidationResult, hH as ViewService, iy as ViewSyncOptions, ix as ViewSyncResult, go as ViewsRepository, bv as WithCustomAttributes, de as WorkflowAccessMode, cT as WorkflowError, d9 as WorkflowExecutionContext, cV as WorkflowInstance, hl as WorkflowInstanceService, hk as WorkflowInstanceServiceOptions, gq as WorkflowInstancesRepository, cM as WorkflowLayout, cr as WorkflowNodeType, d2 as WorkflowParticipation, hp as WorkflowParticipationService, gr as WorkflowParticipationsRepository, hr as WorkflowRelationService, hh as WorkflowService, hg as WorkflowServiceOptions, cJ as WorkflowSlot, cO as WorkflowStatus, cS as WorkflowTransition, gp as WorkflowsRepository, f9 as addSchemaToContext, cE as and, gZ as applyDefaultValues, du as asTenantId, dv as asUserId, dU as attributeConfigSchemas, hy as buildAuditChanges, h0 as buildPolicyContext, eK as cacheKeys, eL as cacheTtl, d6 as canAuthenticate, d7 as canExecuteNode, d5 as canParticipate, cY as canResumeInstance, g_ as checkPermission, h1 as checkRecordAccess, h3 as checkRecordDeleteOrThrow, h2 as checkRecordModifyOrThrow, dG as checkboxConfigSchema, fx as complete, h4 as computeLabel, i2 as computeLabelWithRelations, et as computeRecordStatus, eh as createAttributeValidator, d$ as createCheckboxValidator, h8 as createContextForCreate, ha as createContextForDelete, hb as createContextForRestore, h9 as createContextForUpdate, e2 as createCurrencyValidator, e0 as createDateValidator, fo as createDefaultExecutorRegistry, eW as createDefaultState, eo as createDraftValidator, da as createEmptyContext, e7 as createFileValidator, ei as createFormAttributeValidator, ed as createFormulaValidator, e6 as createLocationValidator, gf as createMockAdapter, ea as createMultiRelationValidator, e5 as createMultiselectValidator, d_ as createNumberValidator, ej as createObjectValidator, e1 as createPhoneValidator, f0 as createQueryBuilder, ec as createRatingValidator, eb as createRelationValidator, eg as createRichtextValidator, ee as createRollupValidator, e4 as createSelectValidator, e9 as createSingleRelationValidator, cZ as createStartTransition, e3 as createStatusValidator, ef as createTextAreaValidator, dZ as createTextValidator, e8 as createUserValidator, dJ as currencyConfigSchema, dH as dateConfigSchema, gg as defaultPolicyRegistry, eM as defaultTtl, h7 as enrichRecordsWithFormulas, h_ as enrichValuesForDisplay, h$ as enrichValuesWithSelectLabels, h6 as enrichWithFormulas, cC as eq, fy as error, f6 as evaluate, f5 as evaluateCondition, fG as evaluateFormula, fH as evaluateFormulaAttribute, fI as evaluateFormulaAttributeWithRelations, fJ as evaluateFormulaWithRelations, fK as evaluateFormulaWithResult, f7 as evaluateWithTrace, hZ as extractAttributeNames, fL as extractFormulaVariables, i0 as extractRelationIds, fM as extractRelationNames, fN as extractRelationReferences, dO as fileConfigSchema, fO as flattenRelationsForEval, fP as formatFormulaResult, eX as formatRecord, eY as formatRecords, dS as formulaConfigSchema, dq as generateCssVariables, dw as generateId, dx as generatePrefixedId, dV as getAttributeConfigSchema, fh as getContext, db as getContextValue, fp as getDefaultExecutorRegistry, eC as getDefaultPinCodeService, ew as getDefaultTokenService, er as getMissingRequiredAttributes, cy as getNodeOutputs, fT as getPathDepth, g$ as getPolicy, fU as getRelationPath, fa as getSchemaByNameFromContext, fb as getSchemaContext, fc as getSchemaFromContext, hS as getSyncPreview, fV as getTargetAttributeName, fi as getTenantId, fj as getUserId, iB as getViewSyncPreview, fk as hasContext, fQ as hasRelationReferences, fd as hasSchemaContext, eH as hashOptions, cG as inValues, eD as initializePinCodeService, ex as initializeTokenService, cj as isActivityTab, aZ as isAdvancedFilterState, cx as isAdvancedFormNode, cB as isConditionGroup, cu as isConditionNode, cA as isConditionRule, ci as isCustomTab, cg as isDirectTableTab, cH as isEmpty, cv as isEndNode, bc as isFlowDefinition, bd as isFlowPublished, cl as isFlowsTab, ct as isFormNode, ce as isFormTab, cW as isInstanceTerminal, cX as isInstanceWaiting, ch as isInverseTableTab, hY as isLabelExpression, b5 as isNoValueOperator, cI as isNotEmpty, ck as isNotesTab, d4 as isPinCodeAuth, es as isRecordComplete, d3 as isSignedLinkAuth, cw as isSimpleFormNode, cs as isStartNode, be as isSystemFlow, cR as isSystemWorkflow, cf as isTableTab, ad as isUniversalRelation, cP as isWorkflowDefinition, cQ as isWorkflowPublished, dL as locationConfigSchema, dd as mergeFormToSlot, dp as mergeWithDefaults, dN as multiselectConfigSchema, cD as neq, gi as notesPolicy, dF as numberConfigSchema, cF as or, dX as parseAttributeConfig, fY as parsePath, fZ as pathHasManyCardinality, dI as phoneConfigSchema, dR as ratingConfigSchema, hc as recalculateParentRollups, dy as registry, dQ as relationConfigSchema, hX as renderLabelExpression, g3 as resolveMultiplePaths, g4 as resolveSingleValue, dE as richtextConfigSchema, dT as rollupConfigSchema, fl as runWithContext, fe as runWithMergedSchemaContext, ff as runWithSchemaContext, dY as safeParseAttributeConfig, dM as selectConfigSchema, dc as setContextValue, dK as statusConfigSchema, fA as success, hV as syncAll, hQ as syncNativeObjects, iz as syncNativeViews, dC as textConfigSchema, dD as textareaConfigSchema, a_ as toAdvancedFilterState, a$ as toSimpleFilterState, g5 as traversePath, dP as userConfigSchema, el as validateAttribute, dW as validateAttributeConfig, ep as validateDraft, eq as validateDraftOrThrow, fR as validateFormulaExpression, em as validateObject, en as validateObjectOrThrow, f_ as validatePath, hR as verifyNativeObjectsSync, iA as verifyNativeViewsSync, dz as viewRegistry, fB as wait, fm as withTenantContext } from './runtime-BOg0C4ev.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
|
|
5
5
|
|