@stndrds/schema 0.1.0-alpha.52 → 0.1.0-alpha.53
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-D4AFKFAX.mjs → chunk-2EIZ6QXN.mjs} +119 -12
- package/dist/{chunk-LPOSOME6.js → chunk-67XEOXQL.js} +120 -13
- package/dist/index.d.mts +29 -8
- package/dist/index.d.ts +29 -8
- package/dist/index.js +8 -6
- package/dist/index.mjs +3 -1
- package/dist/{runtime-C8IgSFtA.d.mts → runtime-B5JYQdZx.d.mts} +98 -256
- package/dist/{runtime-C8IgSFtA.d.ts → runtime-B5JYQdZx.d.ts} +98 -256
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +4 -2
- package/dist/runtime.mjs +3 -1
- package/package.json +2 -2
|
@@ -382,244 +382,6 @@ declare function generateId(): Uuid;
|
|
|
382
382
|
*/
|
|
383
383
|
declare function generatePrefixedId(prefix: string): Uuid;
|
|
384
384
|
|
|
385
|
-
/**
|
|
386
|
-
* BlockNote text styles (inline formatting)
|
|
387
|
-
* Applied to StyledText nodes within inline content.
|
|
388
|
-
*/
|
|
389
|
-
interface BlockNoteStyles {
|
|
390
|
-
/** Bold text */
|
|
391
|
-
bold?: boolean;
|
|
392
|
-
/** Italic text */
|
|
393
|
-
italic?: boolean;
|
|
394
|
-
/** Underlined text */
|
|
395
|
-
underline?: boolean;
|
|
396
|
-
/** Strikethrough text */
|
|
397
|
-
strikethrough?: boolean;
|
|
398
|
-
/** Monospace/code text */
|
|
399
|
-
code?: boolean;
|
|
400
|
-
/** Text color (color name or CSS value) */
|
|
401
|
-
textColor?: string;
|
|
402
|
-
/** Background/highlight color (color name or CSS value) */
|
|
403
|
-
backgroundColor?: string;
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* Styled text node - the basic text unit with formatting
|
|
407
|
-
*/
|
|
408
|
-
interface BlockNoteStyledText {
|
|
409
|
-
type: "text";
|
|
410
|
-
/** The text content */
|
|
411
|
-
text: string;
|
|
412
|
-
/** Applied styles */
|
|
413
|
-
styles: BlockNoteStyles;
|
|
414
|
-
}
|
|
415
|
-
/**
|
|
416
|
-
* Link inline content - contains styled text with a URL
|
|
417
|
-
*/
|
|
418
|
-
interface BlockNoteLink {
|
|
419
|
-
type: "link";
|
|
420
|
-
/** Link URL */
|
|
421
|
-
href: string;
|
|
422
|
-
/** Link text content (styled text nodes) */
|
|
423
|
-
content: BlockNoteStyledText[];
|
|
424
|
-
}
|
|
425
|
-
/**
|
|
426
|
-
* Custom inline content (for extensions)
|
|
427
|
-
*/
|
|
428
|
-
interface BlockNoteCustomInlineContent {
|
|
429
|
-
type: string;
|
|
430
|
-
/** Props specific to this inline content type */
|
|
431
|
-
props?: Record<string, unknown>;
|
|
432
|
-
/** Styled content (for inline content with "styled" content type) */
|
|
433
|
-
content?: BlockNoteStyledText[];
|
|
434
|
-
}
|
|
435
|
-
/**
|
|
436
|
-
* Union of all inline content types
|
|
437
|
-
*/
|
|
438
|
-
type BlockNoteInlineContent = BlockNoteStyledText | BlockNoteLink | BlockNoteCustomInlineContent;
|
|
439
|
-
/**
|
|
440
|
-
* Table cell properties
|
|
441
|
-
*/
|
|
442
|
-
interface BlockNoteTableCellProps {
|
|
443
|
-
/** Cell background color */
|
|
444
|
-
backgroundColor?: string;
|
|
445
|
-
/** Cell text color */
|
|
446
|
-
textColor?: string;
|
|
447
|
-
/** Text alignment within cell */
|
|
448
|
-
textAlignment?: "left" | "center" | "right" | "justify";
|
|
449
|
-
/** Column span (merge cells horizontally) */
|
|
450
|
-
colspan?: number;
|
|
451
|
-
/** Row span (merge cells vertically) */
|
|
452
|
-
rowspan?: number;
|
|
453
|
-
}
|
|
454
|
-
/**
|
|
455
|
-
* Table cell with explicit props
|
|
456
|
-
*/
|
|
457
|
-
interface BlockNoteTableCell {
|
|
458
|
-
type: "tableCell";
|
|
459
|
-
props: BlockNoteTableCellProps;
|
|
460
|
-
content: BlockNoteInlineContent[];
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* Table content structure
|
|
464
|
-
* Used as the content of table blocks.
|
|
465
|
-
*/
|
|
466
|
-
interface BlockNoteTableContent {
|
|
467
|
-
type: "tableContent";
|
|
468
|
-
/** Column widths (undefined = auto) */
|
|
469
|
-
columnWidths: (number | undefined)[];
|
|
470
|
-
/** Number of header rows (frozen at top) */
|
|
471
|
-
headerRows?: number;
|
|
472
|
-
/** Number of header columns (frozen at left) */
|
|
473
|
-
headerCols?: number;
|
|
474
|
-
/** Table rows */
|
|
475
|
-
rows: Array<{
|
|
476
|
-
/** Row cells - either simple inline content arrays or explicit TableCell objects */
|
|
477
|
-
cells: BlockNoteInlineContent[][] | BlockNoteTableCell[];
|
|
478
|
-
}>;
|
|
479
|
-
}
|
|
480
|
-
/**
|
|
481
|
-
* Default block properties available on all blocks
|
|
482
|
-
*/
|
|
483
|
-
interface BlockNoteDefaultProps {
|
|
484
|
-
/** Background color (color name or CSS value, "default" for none) */
|
|
485
|
-
backgroundColor?: string;
|
|
486
|
-
/** Text color (color name or CSS value, "default" for none) */
|
|
487
|
-
textColor?: string;
|
|
488
|
-
/** Text alignment */
|
|
489
|
-
textAlignment?: "left" | "center" | "right" | "justify";
|
|
490
|
-
}
|
|
491
|
-
/**
|
|
492
|
-
* BlockNote block structure
|
|
493
|
-
* Represents a single block in the editor document.
|
|
494
|
-
*
|
|
495
|
-
* @example Paragraph block
|
|
496
|
-
* ```typescript
|
|
497
|
-
* {
|
|
498
|
-
* id: "abc123",
|
|
499
|
-
* type: "paragraph",
|
|
500
|
-
* props: { textAlignment: "left" },
|
|
501
|
-
* content: [{ type: "text", text: "Hello world", styles: {} }],
|
|
502
|
-
* children: []
|
|
503
|
-
* }
|
|
504
|
-
* ```
|
|
505
|
-
*
|
|
506
|
-
* @example Heading block
|
|
507
|
-
* ```typescript
|
|
508
|
-
* {
|
|
509
|
-
* id: "def456",
|
|
510
|
-
* type: "heading",
|
|
511
|
-
* props: { level: 2, textAlignment: "left" },
|
|
512
|
-
* content: [{ type: "text", text: "My Heading", styles: { bold: true } }],
|
|
513
|
-
* children: []
|
|
514
|
-
* }
|
|
515
|
-
* ```
|
|
516
|
-
*
|
|
517
|
-
* @example Nested list
|
|
518
|
-
* ```typescript
|
|
519
|
-
* {
|
|
520
|
-
* id: "ghi789",
|
|
521
|
-
* type: "bulletListItem",
|
|
522
|
-
* props: { textAlignment: "left" },
|
|
523
|
-
* content: [{ type: "text", text: "Parent item", styles: {} }],
|
|
524
|
-
* children: [
|
|
525
|
-
* {
|
|
526
|
-
* id: "jkl012",
|
|
527
|
-
* type: "bulletListItem",
|
|
528
|
-
* props: { textAlignment: "left" },
|
|
529
|
-
* content: [{ type: "text", text: "Child item", styles: {} }],
|
|
530
|
-
* children: []
|
|
531
|
-
* }
|
|
532
|
-
* ]
|
|
533
|
-
* }
|
|
534
|
-
* ```
|
|
535
|
-
*/
|
|
536
|
-
interface BlockNoteBlock {
|
|
537
|
-
/** Unique block identifier (auto-generated if not provided) */
|
|
538
|
-
id: string;
|
|
539
|
-
/**
|
|
540
|
-
* Block type identifier
|
|
541
|
-
* Built-in types: paragraph, heading, bulletListItem, numberedListItem,
|
|
542
|
-
* checkListItem, table, image, video, audio, file, codeBlock, quote
|
|
543
|
-
*/
|
|
544
|
-
type: string;
|
|
545
|
-
/**
|
|
546
|
-
* Block-specific properties
|
|
547
|
-
* All blocks have defaultProps (backgroundColor, textColor, textAlignment)
|
|
548
|
-
* Additional props depend on block type (e.g., level for headings, checked for checkListItem)
|
|
549
|
-
*/
|
|
550
|
-
props: Record<string, boolean | number | string>;
|
|
551
|
-
/**
|
|
552
|
-
* Block content
|
|
553
|
-
* - InlineContent[] for text blocks (paragraph, heading, list items, etc.)
|
|
554
|
-
* - TableContent for table blocks
|
|
555
|
-
* - undefined for void blocks (image, video, file, divider, etc.)
|
|
556
|
-
*/
|
|
557
|
-
content?: BlockNoteInlineContent[] | BlockNoteTableContent;
|
|
558
|
-
/** Nested child blocks (for indentation/nesting) */
|
|
559
|
-
children: BlockNoteBlock[];
|
|
560
|
-
}
|
|
561
|
-
/**
|
|
562
|
-
* BlockNote document content
|
|
563
|
-
* An array of blocks representing the full editor document.
|
|
564
|
-
* This is the format returned by `editor.document` and accepted by `initialContent`.
|
|
565
|
-
*/
|
|
566
|
-
type BlockNoteContent = BlockNoteBlock[];
|
|
567
|
-
/**
|
|
568
|
-
* Partial styled text (text can be a plain string shorthand)
|
|
569
|
-
*/
|
|
570
|
-
type PartialBlockNoteStyledText = string | {
|
|
571
|
-
type: "text";
|
|
572
|
-
text: string;
|
|
573
|
-
styles?: Partial<BlockNoteStyles>;
|
|
574
|
-
};
|
|
575
|
-
/**
|
|
576
|
-
* Partial link (content can be a string shorthand)
|
|
577
|
-
*/
|
|
578
|
-
interface PartialBlockNoteLink {
|
|
579
|
-
type: "link";
|
|
580
|
-
href: string;
|
|
581
|
-
content: string | BlockNoteStyledText[];
|
|
582
|
-
}
|
|
583
|
-
/**
|
|
584
|
-
* Partial inline content union
|
|
585
|
-
*/
|
|
586
|
-
type PartialBlockNoteInlineContent = PartialBlockNoteStyledText | PartialBlockNoteLink | BlockNoteCustomInlineContent;
|
|
587
|
-
/**
|
|
588
|
-
* Partial table cell
|
|
589
|
-
*/
|
|
590
|
-
interface PartialBlockNoteTableCell {
|
|
591
|
-
type: "tableCell";
|
|
592
|
-
props?: Partial<BlockNoteTableCellProps>;
|
|
593
|
-
content?: PartialBlockNoteInlineContent[];
|
|
594
|
-
}
|
|
595
|
-
/**
|
|
596
|
-
* Partial table content
|
|
597
|
-
*/
|
|
598
|
-
interface PartialBlockNoteTableContent {
|
|
599
|
-
type: "tableContent";
|
|
600
|
-
columnWidths?: (number | undefined)[];
|
|
601
|
-
headerRows?: number;
|
|
602
|
-
headerCols?: number;
|
|
603
|
-
rows: Array<{
|
|
604
|
-
cells: PartialBlockNoteInlineContent[][] | PartialBlockNoteTableCell[];
|
|
605
|
-
}>;
|
|
606
|
-
}
|
|
607
|
-
/**
|
|
608
|
-
* Partial block for creation/updates
|
|
609
|
-
* All properties are optional except that at least `type` should be provided for new blocks.
|
|
610
|
-
*/
|
|
611
|
-
interface PartialBlockNoteBlock {
|
|
612
|
-
id?: string;
|
|
613
|
-
type?: string;
|
|
614
|
-
props?: Partial<Record<string, boolean | number | string>>;
|
|
615
|
-
content?: PartialBlockNoteInlineContent[] | PartialBlockNoteTableContent | string;
|
|
616
|
-
children?: PartialBlockNoteBlock[];
|
|
617
|
-
}
|
|
618
|
-
/**
|
|
619
|
-
* Partial document content for initialization
|
|
620
|
-
*/
|
|
621
|
-
type PartialBlockNoteContent = PartialBlockNoteBlock[];
|
|
622
|
-
|
|
623
385
|
type AttributeType = "text" | "textarea" | "richtext" | "number" | "checkbox" | "date" | "phone" | "currency" | "status" | "location" | "select" | "multiselect" | "file" | "user" | "relation" | "rating" | "formula" | "rollup";
|
|
624
386
|
/**
|
|
625
387
|
* Status group categorization
|
|
@@ -858,15 +620,15 @@ declare function isUniversalRelation(attr: RelationAttribute): boolean;
|
|
|
858
620
|
interface TextAreaAttribute extends BaseAttribute<string> {
|
|
859
621
|
type: "textarea";
|
|
860
622
|
}
|
|
861
|
-
|
|
862
623
|
/**
|
|
863
624
|
* Available features for richtext editor
|
|
864
625
|
*/
|
|
865
626
|
type RichtextFeature = "headings" | "bold" | "italic" | "lists" | "links" | "images" | "codeBlocks" | "tables";
|
|
866
627
|
/**
|
|
867
|
-
* RichtextAttribute - Rich text content using
|
|
628
|
+
* RichtextAttribute - Rich text content using semantic markdown
|
|
868
629
|
*
|
|
869
|
-
* Stores content as
|
|
630
|
+
* Stores content as semantic markdown string (with directives like :::callout).
|
|
631
|
+
* Parsed at runtime to Tiptap JSON for editing.
|
|
870
632
|
* Use this for: Notes, articles, descriptions, long-form content.
|
|
871
633
|
*
|
|
872
634
|
* @example
|
|
@@ -876,9 +638,9 @@ type RichtextFeature = "headings" | "bold" | "italic" | "lists" | "links" | "ima
|
|
|
876
638
|
* .required()
|
|
877
639
|
* ```
|
|
878
640
|
*/
|
|
879
|
-
interface RichtextAttribute extends BaseAttribute<
|
|
641
|
+
interface RichtextAttribute extends BaseAttribute<string> {
|
|
880
642
|
type: "richtext";
|
|
881
|
-
/** Enabled
|
|
643
|
+
/** Enabled features. If undefined, all features are enabled. */
|
|
882
644
|
features?: RichtextFeature[];
|
|
883
645
|
}
|
|
884
646
|
interface RatingAttribute extends BaseAttribute<number> {
|
|
@@ -1098,6 +860,15 @@ interface Timestamps {
|
|
|
1098
860
|
createdAt: Date;
|
|
1099
861
|
updatedAt: Date;
|
|
1100
862
|
}
|
|
863
|
+
/**
|
|
864
|
+
* Sharing mode for multi-tenant object access.
|
|
865
|
+
*
|
|
866
|
+
* - `private`: Object is only visible to its owner tenant (default)
|
|
867
|
+
* - `shared`: Object is readable by all tenants, but only writable by the owner tenant
|
|
868
|
+
*
|
|
869
|
+
* Records inherit the sharing mode of their parent object.
|
|
870
|
+
*/
|
|
871
|
+
type SharingMode = "private" | "shared";
|
|
1101
872
|
/**
|
|
1102
873
|
* Object definition - Represents a database table/entity
|
|
1103
874
|
*/
|
|
@@ -1129,6 +900,15 @@ interface ObjectDefinition {
|
|
|
1129
900
|
labelExpression: string;
|
|
1130
901
|
attributes: Attribute[];
|
|
1131
902
|
system?: boolean;
|
|
903
|
+
/**
|
|
904
|
+
* Sharing mode for multi-tenant access.
|
|
905
|
+
* - `private`: Only visible to the owner tenant (default)
|
|
906
|
+
* - `shared`: Readable by all tenants, writable only by the owner
|
|
907
|
+
*
|
|
908
|
+
* Records inherit the sharing mode of their parent object.
|
|
909
|
+
* @default "private"
|
|
910
|
+
*/
|
|
911
|
+
sharingMode?: SharingMode;
|
|
1132
912
|
metadata?: Record<string, unknown>;
|
|
1133
913
|
}
|
|
1134
914
|
/**
|
|
@@ -1783,7 +1563,8 @@ declare class NoopGeocodingAdapter implements GeocodingAdapter {
|
|
|
1783
1563
|
type AttributeValueMap = {
|
|
1784
1564
|
text: string;
|
|
1785
1565
|
textarea: string;
|
|
1786
|
-
|
|
1566
|
+
/** Semantic markdown string (parsed at runtime to TiptapDocument) */
|
|
1567
|
+
richtext: string;
|
|
1787
1568
|
number: number;
|
|
1788
1569
|
checkbox: boolean;
|
|
1789
1570
|
date: string | Date;
|
|
@@ -3677,6 +3458,12 @@ interface DBObject extends Timestamps {
|
|
|
3677
3458
|
icon?: IconName;
|
|
3678
3459
|
labelExpression: string;
|
|
3679
3460
|
system: boolean;
|
|
3461
|
+
/**
|
|
3462
|
+
* Sharing mode for multi-tenant access.
|
|
3463
|
+
* - `private`: Only visible to the owner tenant (default)
|
|
3464
|
+
* - `shared`: Readable by all tenants, writable only by the owner
|
|
3465
|
+
*/
|
|
3466
|
+
sharingMode: SharingMode;
|
|
3680
3467
|
metadata?: Record<string, unknown>;
|
|
3681
3468
|
}
|
|
3682
3469
|
/**
|
|
@@ -3691,6 +3478,7 @@ interface CreateDBObject {
|
|
|
3691
3478
|
icon?: IconName;
|
|
3692
3479
|
labelExpression: string;
|
|
3693
3480
|
system?: boolean;
|
|
3481
|
+
sharingMode?: SharingMode;
|
|
3694
3482
|
metadata?: Record<string, unknown>;
|
|
3695
3483
|
}
|
|
3696
3484
|
interface UpdateDBObject {
|
|
@@ -3699,6 +3487,7 @@ interface UpdateDBObject {
|
|
|
3699
3487
|
description?: string;
|
|
3700
3488
|
icon?: IconName;
|
|
3701
3489
|
labelExpression?: string;
|
|
3490
|
+
sharingMode?: SharingMode;
|
|
3702
3491
|
metadata?: Record<string, unknown>;
|
|
3703
3492
|
}
|
|
3704
3493
|
/**
|
|
@@ -3707,6 +3496,7 @@ interface UpdateDBObject {
|
|
|
3707
3496
|
*/
|
|
3708
3497
|
interface UpsertDBObject extends CreateDBObject {
|
|
3709
3498
|
system: boolean;
|
|
3499
|
+
sharingMode: SharingMode;
|
|
3710
3500
|
}
|
|
3711
3501
|
/**
|
|
3712
3502
|
* Attribute as stored in database (metadata)
|
|
@@ -5140,19 +4930,18 @@ declare function createRollupValidator(_attr: RollupAttribute, _messages?: Valid
|
|
|
5140
4930
|
declare function createTextAreaValidator(_attr: TextAreaAttribute, _messages?: ValidationMessages): z.ZodString;
|
|
5141
4931
|
/**
|
|
5142
4932
|
* Create a Zod schema for a richtext attribute.
|
|
5143
|
-
* Validates
|
|
4933
|
+
* Validates semantic markdown content as a string.
|
|
5144
4934
|
*
|
|
5145
|
-
* @example Valid
|
|
4935
|
+
* @example Valid richtext content (semantic markdown)
|
|
5146
4936
|
* ```typescript
|
|
5147
|
-
*
|
|
5148
|
-
*
|
|
5149
|
-
*
|
|
5150
|
-
*
|
|
5151
|
-
*
|
|
5152
|
-
*
|
|
5153
|
-
*
|
|
5154
|
-
*
|
|
5155
|
-
* ]
|
|
4937
|
+
* `# Heading
|
|
4938
|
+
*
|
|
4939
|
+
* Some paragraph text.
|
|
4940
|
+
*
|
|
4941
|
+
* :::callout{variant="info"}
|
|
4942
|
+
* This is a callout block
|
|
4943
|
+
* :::
|
|
4944
|
+
* `
|
|
5156
4945
|
* ```
|
|
5157
4946
|
*/
|
|
5158
4947
|
declare function createRichtextValidator(attr: RichtextAttribute, messages?: ValidationMessages): z.ZodTypeAny;
|
|
@@ -5466,6 +5255,22 @@ declare const cacheKeys: {
|
|
|
5466
5255
|
readonly allWorkflows: (tenantId: string) => string;
|
|
5467
5256
|
/** All cache for a tenant (nuclear option) */
|
|
5468
5257
|
readonly allForTenant: (tenantId: string) => string;
|
|
5258
|
+
/** Object schema for shared object (not tenant-scoped) */
|
|
5259
|
+
readonly sharedObjectSchema: (objectId: string) => string;
|
|
5260
|
+
/** Object schema for shared object by name */
|
|
5261
|
+
readonly sharedObjectSchemaByName: (name: string) => string;
|
|
5262
|
+
/** Attributes for a shared object */
|
|
5263
|
+
readonly sharedObjectAttributes: (objectId: string) => string;
|
|
5264
|
+
/** Record from a shared object */
|
|
5265
|
+
readonly sharedRecord: (recordId: string) => string;
|
|
5266
|
+
/** Record list for a shared object */
|
|
5267
|
+
readonly sharedRecordList: (objectId: string, hash: string) => string;
|
|
5268
|
+
/** All shared record lists for an object (for invalidation) */
|
|
5269
|
+
readonly allSharedRecordLists: (objectId: string) => string;
|
|
5270
|
+
/** All shared schemas (for invalidation) */
|
|
5271
|
+
readonly allSharedSchemas: () => string;
|
|
5272
|
+
/** All shared records (for invalidation) */
|
|
5273
|
+
readonly allSharedRecords: () => string;
|
|
5469
5274
|
};
|
|
5470
5275
|
/**
|
|
5471
5276
|
* Recommended TTL values for different resource types.
|
|
@@ -7879,6 +7684,19 @@ declare class ObjectSchemaService extends BaseService {
|
|
|
7879
7684
|
* Internal method to fetch all object schemas (no caching)
|
|
7880
7685
|
*/
|
|
7881
7686
|
private fetchObjectSchemaList;
|
|
7687
|
+
/**
|
|
7688
|
+
* Get object ownership info for write access checks.
|
|
7689
|
+
*
|
|
7690
|
+
* Used by RecordService to verify if the current tenant can write
|
|
7691
|
+
* to a shared object's records.
|
|
7692
|
+
*
|
|
7693
|
+
* @param objectId - Object UUID
|
|
7694
|
+
* @returns Object ownership info with tenantId and sharingMode
|
|
7695
|
+
*/
|
|
7696
|
+
getObjectOwnerInfo(objectId: string): Promise<{
|
|
7697
|
+
tenantId: TenantId;
|
|
7698
|
+
sharingMode: SharingMode;
|
|
7699
|
+
}>;
|
|
7882
7700
|
/**
|
|
7883
7701
|
* Invalidate all schema-related cache for the current tenant.
|
|
7884
7702
|
* Called automatically after schema mutations.
|
|
@@ -9030,6 +8848,19 @@ declare function checkRecordModifyOrThrow(policy: RecordPolicy, record: ObjectRe
|
|
|
9030
8848
|
* Throws PolicyViolationError if denied.
|
|
9031
8849
|
*/
|
|
9032
8850
|
declare function checkRecordDeleteOrThrow(policy: RecordPolicy, record: ObjectRecord, context: PolicyContext): void;
|
|
8851
|
+
/**
|
|
8852
|
+
* Check if the current tenant can write to an object based on sharing mode.
|
|
8853
|
+
*
|
|
8854
|
+
* Shared objects are read-only for non-owner tenants.
|
|
8855
|
+
* Only the tenant that owns the object (tenant_id) can perform write operations.
|
|
8856
|
+
*
|
|
8857
|
+
* @param objectName - Name of the object (for error messages)
|
|
8858
|
+
* @param sharingMode - Sharing mode of the object
|
|
8859
|
+
* @param objectOwnerTenantId - Tenant ID that owns the object
|
|
8860
|
+
* @param currentTenantId - Current tenant ID from context
|
|
8861
|
+
* @throws ForbiddenError if the object is shared and current tenant is not the owner
|
|
8862
|
+
*/
|
|
8863
|
+
declare function checkSharedObjectWriteAccess(objectName: string, sharingMode: SharingMode | undefined, objectOwnerTenantId: TenantId, currentTenantId: TenantId): void;
|
|
9033
8864
|
|
|
9034
8865
|
/**
|
|
9035
8866
|
* Enrich a record with computed formula values.
|
|
@@ -11606,6 +11437,17 @@ interface SyncResult {
|
|
|
11606
11437
|
interface SyncOptions {
|
|
11607
11438
|
dryRun?: boolean;
|
|
11608
11439
|
verbose?: boolean;
|
|
11440
|
+
/**
|
|
11441
|
+
* Master tenant ID for shared object validation.
|
|
11442
|
+
* If provided, only this tenant can sync shared objects.
|
|
11443
|
+
* If not provided and a shared object is synced, an error will be thrown.
|
|
11444
|
+
*/
|
|
11445
|
+
masterTenantId?: string;
|
|
11446
|
+
/**
|
|
11447
|
+
* Current tenant ID executing the sync.
|
|
11448
|
+
* Required when syncing shared objects to validate against masterTenantId.
|
|
11449
|
+
*/
|
|
11450
|
+
tenantId?: string;
|
|
11609
11451
|
}
|
|
11610
11452
|
/**
|
|
11611
11453
|
* Sync native objects from registry to database
|
|
@@ -11708,4 +11550,4 @@ interface FullSyncOptions extends SyncOptions, ViewSyncOptions {
|
|
|
11708
11550
|
*/
|
|
11709
11551
|
declare function syncAll(adapter: DatabaseAdapter, objectRegistry: typeof registry, nativeViewRegistry: typeof viewRegistry, options?: FullSyncOptions): Promise<FullSyncResult>;
|
|
11710
11552
|
|
|
11711
|
-
export { type FlowRow as $, type Attribute as A, type DirectTableTab as B, type CheckboxAttribute as C, type DateAttribute as D, type WorkflowConfig as E, type FileAttribute as F, type Group as G, type SlotMode as H, type InferAttributeValue as I, type AuthMethod as J, type AuthChannel as K, type LocationAttribute as L, type MultiselectAttribute as M, type NumberAttribute as N, type ObjectAction as O, type PhoneAttribute as P, type ParticipantTemplate as Q, type RichtextAttribute as R, type SystemResource as S, type TextAttribute as T, type UserAttribute as U, type ViewLayout as V, type WorkflowTheme as W, type ConditionGroup as X, type ConditionRule as Y, type WorkflowNode as Z, type WorkflowDefinition as _, type SystemAction as a, type AuditListOptions as a$, type BlockNoteContent as a0, type AIMessageRole as a1, type AIThinkingLevel as a2, type AIToolCallStatus as a3, type AIToolCall as a4, type AIChatMessagePartType as a5, type TextPartData as a6, type ToolPartData as a7, type ThinkingPartData as a8, type ReasoningPartData as a9, type LocationGranularity as aA, RELATION_TARGET_ANY as aB, type RelationAttribute as aC, isUniversalRelation as aD, type BlockNoteBlock as aE, type BlockNoteCustomInlineContent as aF, type BlockNoteDefaultProps as aG, type BlockNoteInlineContent as aH, type BlockNoteLink as aI, type BlockNoteStyledText as aJ, type BlockNoteStyles as aK, type BlockNoteTableCell as aL, type BlockNoteTableCellProps as aM, type BlockNoteTableContent as aN, type PartialBlockNoteBlock as aO, type PartialBlockNoteContent as aP, type PartialBlockNoteInlineContent as aQ, type PartialBlockNoteLink as aR, type PartialBlockNoteStyledText as aS, type PartialBlockNoteTableCell as aT, type PartialBlockNoteTableContent as aU, type AuditResourceType as aV, type AuditAction as aW, type AuditActorType as aX, type AuditChange as aY, type AuditLogEntry as aZ, type CreateAuditLogInput as a_, type AIChatMessagePart as aa, type AIChatMessage as ab, type AIQuestionType as ac, type AIQuestionOption as ad, type AIQuestion as ae, type AIQuestionAnswer as af, type AITodoStatus as ag, type AITodoItem as ah, type AITodoList as ai, type AIMessageAttachment as aj, type AIConversation as ak, type AIMessage as al, type AIToolCallRecord as am, type AIUserMemory as an, type AIUsageMetrics as ao, type AIProviderMetrics as ap, type CreateAIMessageInput as aq, type StatusGroup as ar, type AttributeGroup as as, type BaseAttribute as at, type NumberUnit as au, type DateFormat as av, type DateValue as aw, type Phone as ax, type Currency as ay, type Location as az, type TextAreaAttribute as b, type ExtractRecordInputStrict as b$, type AuditServiceOptions as b0, type StorageProvider as b1, type FileVisibility as b2, type File as b3, type CreateFile as b4, type UpdateFile as b5, type TextFilterOperator as b6, type NumberFilterOperator as b7, type CheckboxFilterOperator as b8, type DateFilterOperator as b9, type FlowStatus as bA, type FlowDefinition as bB, isFlowDefinition as bC, isFlowPublished as bD, isSystemFlow as bE, type GeocodingSuggestion as bF, type GeocodingAutocompleteParams as bG, type ReverseGeocodingParams as bH, type GeocodingParams as bI, type GeocodingAdapter as bJ, NoopGeocodingAdapter as bK, type AttributeSchema as bL, type InferRecordFromSchema as bM, type InferRecordWithRequirements as bN, type TypedAttribute as bO, type AttributeMap as bP, type AddAttribute as bQ, type InferRecord as bR, type InferRecordInput as bS, type InferRecordUpdate as bT, type CustomAttributeValue as bU, type WithCustomAttributes as bV, type RecordMetadata as bW, type SystemFields as bX, type ExtractRecord as bY, type ExtractRecordStrict as bZ, type ExtractRecordInput as b_, type SelectFilterOperator as ba, type MultiselectFilterOperator as bb, type RelationFilterOperator as bc, type FilterOperator as bd, type RelativeDateValue as be, type CurrencyFilterValue as bf, type PhoneFilterValue as bg, type FilterValue as bh, type FilterRule as bi, type ExtendedFilterRule as bj, type FilterCombinator as bk, type FilterGroup as bl, type AdvancedFilterState as bm, isAdvancedFilterState as bn, toAdvancedFilterState as bo, toSimpleFilterState as bp, type SortDirection as bq, type QueryState as br, OPERATORS_BY_TYPE as bs, type NoValueOperator as bt, NO_VALUE_OPERATORS as bu, isNoValueOperator as bv, type FlowSlot as bw, type FlowRowField as bx, type FlowPage as by, type FlowRelation as bz, type RichtextFeature as c, isConditionGroup as c$, type ExtractRecordUpdate as c0, type ExtractRecordUpdateStrict as c1, type ExtractAttributes as c2, type TypedObjectRecord as c3, type ExtractObjectRecord as c4, type ExtractObjectRecordWithCustom as c5, RESERVED_ATTRIBUTE_NAMES as c6, SYSTEM_FIELD_NAMES as c7, type ReservedAttributeName as c8, type SystemFieldName as c9, type CustomTab as cA, type ActivityTab as cB, type NotesTab as cC, type FlowsTab as cD, isFormTab as cE, isTableTab as cF, isDirectTableTab as cG, isInverseTableTab as cH, isCustomTab as cI, isActivityTab as cJ, isNotesTab as cK, isFlowsTab as cL, type StartNode as cM, type FormNode as cN, type FormFieldRef as cO, type ConditionNode as cP, type EndNode as cQ, type WorkflowNodeType as cR, isStartNode as cS, isFormNode as cT, isConditionNode as cU, isEndNode as cV, isSimpleFormNode as cW, isAdvancedFormNode as cX, getNodeOutputs as cY, type ConditionOperator as cZ, isConditionRule as c_, type Timestamps as ca, type ObjectAttribute as cb, type CompletionStatus as cc, type ObjectRecord as cd, type PermissionScope as ce, type Role as cf, type Permission as cg, type UserRoleAssignment as ch, type EffectivePermissions as ci, type ObjectPermissions as cj, type SystemPermissions as ck, type CreateRoleInput as cl, type UpdateRoleInput as cm, type CreatePermissionInput as cn, type AssignRoleInput as co, type PolicyContext as cp, type RecordPolicy as cq, PolicyViolationError as cr, type UserRole as cs, type UserStatus as ct, type UserProfile as cu, type CreateUserProfile as cv, type UpdateUserProfile as cw, type InviteUserInput as cx, type TabType as cy, type FormTab as cz, type CurrencyAttribute as d, DEFAULT_VALIDATION_MESSAGES as d$, eq as d0, neq as d1, and as d2, or as d3, inValues as d4, isEmpty as d5, isNotEmpty as d6, type WorkflowSlot as d7, type NodePosition as d8, type CanvasViewport as d9, type WorkflowExecutionContext as dA, createEmptyContext as dB, getContextValue as dC, setContextValue as dD, mergeFormToSlot as dE, type WorkflowAccessMode as dF, type ReadOnlyReason as dG, type FormFieldContext as dH, type FormFieldRow as dI, type FormNodeInfo as dJ, type FormContextResponse as dK, type ThemeLogo as dL, type ThemeColors as dM, type ThemeTypography as dN, DEFAULT_THEME as dO, mergeWithDefaults as dP, generateCssVariables as dQ, type Uuid as dR, type TenantId as dS, type UserId as dT, asTenantId as dU, asUserId as dV, generateId as dW, generatePrefixedId as dX, registry as dY, viewRegistry as dZ, type ValidationMessages as d_, type WorkflowLayout as da, type ParticipantAuthConfig as db, type WorkflowStatus as dc, isWorkflowDefinition as dd, isWorkflowPublished as de, isSystemWorkflow as df, type WorkflowTransition as dg, type WorkflowError as dh, type PendingAction as di, type WorkflowInstance as dj, isInstanceTerminal as dk, isInstanceWaiting as dl, canResumeInstance as dm, createStartTransition as dn, type ParticipationStatus as dp, type SignedLinkAuth as dq, type PinCodeAuth as dr, type ParticipationAuth as ds, type WorkflowParticipation as dt, isSignedLinkAuth as du, isPinCodeAuth as dv, canParticipate as dw, canAuthenticate as dx, canExecuteNode as dy, type GeneratedDocument as dz, type Option as e, PinCodeService as e$, textConfigSchema as e0, textareaConfigSchema as e1, richtextConfigSchema as e2, numberConfigSchema as e3, checkboxConfigSchema as e4, dateConfigSchema as e5, phoneConfigSchema as e6, currencyConfigSchema as e7, statusConfigSchema as e8, locationConfigSchema as e9, createMultiRelationValidator as eA, createRelationValidator as eB, createRatingValidator as eC, createFormulaValidator as eD, createRollupValidator as eE, createTextAreaValidator as eF, createRichtextValidator as eG, createAttributeValidator as eH, createFormAttributeValidator as eI, createObjectValidator as eJ, type ValidationResult as eK, validateAttribute as eL, validateObject as eM, validateObjectOrThrow as eN, createDraftValidator as eO, validateDraft as eP, validateDraftOrThrow as eQ, getMissingRequiredAttributes as eR, isRecordComplete as eS, computeRecordStatus as eT, type DatabaseAdapter as eU, ParticipationTokenService as eV, getDefaultTokenService as eW, initializeTokenService as eX, type ParticipationTokenPayload as eY, type TokenGenerationOptions as eZ, type TokenVerificationResult as e_, selectConfigSchema as ea, multiselectConfigSchema as eb, fileConfigSchema as ec, userConfigSchema as ed, relationConfigSchema as ee, ratingConfigSchema as ef, formulaConfigSchema as eg, rollupConfigSchema as eh, attributeConfigSchemas as ei, getAttributeConfigSchema as ej, validateAttributeConfig as ek, parseAttributeConfig as el, safeParseAttributeConfig as em, createTextValidator as en, createNumberValidator as eo, createCheckboxValidator as ep, createDateValidator as eq, createPhoneValidator as er, createCurrencyValidator as es, createStatusValidator as et, createSelectValidator as eu, createMultiselectValidator as ev, createLocationValidator as ew, createFileValidator as ex, createUserValidator as ey, createSingleRelationValidator as ez, type StatusAttribute as f, wait as f$, getDefaultPinCodeService as f0, initializePinCodeService as f1, type PinCodeGenerationOptions as f2, type PinCodeVerificationResult as f3, type CacheKeyType as f4, hashOptions as f5, type CacheAdapter as f6, type CacheOptions as f7, cacheKeys as f8, cacheTtl as f9, getSchemaByNameFromContext as fA, getSchemaContext as fB, getSchemaFromContext as fC, hasSchemaContext as fD, runWithMergedSchemaContext as fE, runWithSchemaContext as fF, type SchemaContext as fG, getContext as fH, getTenantId as fI, getUserId as fJ, hasContext as fK, runWithContext as fL, withTenantContext as fM, type TenantContext as fN, createDefaultExecutorRegistry as fO, getDefaultExecutorRegistry as fP, type ExecutorCompleteResult as fQ, type ExecutorContext as fR, type ExecutorErrorResult as fS, type ExecutorResult as fT, type ExecutorSuccessResult as fU, type ExecutorWaitResult as fV, type NodeExecutor as fW, complete as fX, error as fY, ExecutorRegistry as fZ, success as f_, defaultTtl as fa, NoopCacheAdapter as fb, type FetchResult as fc, type FormattedRecord as fd, type GroupedFetchResult as fe, type InsertOptions as ff, type QueryBuilderState as fg, type RegistryMap as fh, type RegistryObjectNames as fi, type ShortcutOperator as fj, createDefaultState as fk, formatRecord as fl, formatRecords as fm, QueryMultipleResultsError as fn, QueryNoResultError as fo, SHORTCUT_TO_FILTER_OPERATOR as fp, createQueryBuilder as fq, QueryBuilder as fr, type QueryBuilderOptions as fs, type EvaluationResult as ft, type EvaluationTrace as fu, evaluateCondition as fv, evaluate as fw, evaluateWithTrace as fx, TenantContextError as fy, addSchemaToContext as fz, type SelectAttribute as g, TenantAwareRepository as g$, ConditionExecutor as g0, EndExecutor as g1, FormExecutor as g2, StartExecutor as g3, evaluateFormula as g4, evaluateFormulaAttribute as g5, evaluateFormulaAttributeWithRelations as g6, evaluateFormulaWithRelations as g7, evaluateFormulaWithResult as g8, extractFormulaVariables as g9, type HookDefinition as gA, type HookHandler as gB, type HookType as gC, NoopHookRegistry as gD, type HookRegistry as gE, createMockAdapter as gF, defaultPolicyRegistry as gG, PolicyRegistry as gH, notesPolicy as gI, type ObjectsRepository as gJ, type AttributesRepository as gK, type UserProfilesRepository as gL, type FilesRepository as gM, type ObjectRecordsRepository as gN, type ViewsRepository as gO, type WorkflowsRepository as gP, type WorkflowInstancesRepository as gQ, type WorkflowParticipationsRepository as gR, type AuditRepository as gS, type PermissionsRepository as gT, type AIConversationsRepository as gU, type AIUserMemoryRepository as gV, type AIUsageMetricsRepository as gW, BaseService as gX, BaseRepository as gY, type SchemaContextAware as gZ, SchemaContextAwareRepository as g_, extractRelationNames as ga, extractRelationReferences as gb, flattenRelationsForEval as gc, formatFormulaResult as gd, hasRelationReferences as ge, validateFormulaExpression as gf, type FormulaResult as gg, getPathDepth as gh, getRelationPath as gi, getTargetAttributeName as gj, InvalidPathError as gk, MaxDepthExceededError as gl, parsePath as gm, pathHasManyCardinality as gn, validatePath as go, type PathCardinality as gp, type PathSegment as gq, type PathSegmentType as gr, type SchemaResolver as gs, resolveMultiplePaths as gt, resolveSingleValue as gu, traversePath as gv, type TraversalOptions as gw, type TraversalResult as gx, type AttributeChange as gy, type HookContext as gz, type SingleRelationAttribute as h, type UserValidationError as h$, TenantAwareService as h0, type CreateCustomObjectInput as h1, type AddAttributeInput as h2, type UpdateObjectInput as h3, type ObjectSchemaServiceOptions as h4, ObjectSchemaService as h5, type RecordServiceOptions as h6, RecordService as h7, type RecordQueryServiceOptions as h8, type QueryOptions as h9, checkRecordModifyOrThrow as hA, checkRecordDeleteOrThrow as hB, computeLabel as hC, type LabelResolver as hD, enrichWithFormulas as hE, enrichRecordsWithFormulas as hF, createContextForCreate as hG, createContextForUpdate as hH, createContextForDelete as hI, createContextForRestore as hJ, recalculateParentRollups as hK, type RollupCascadeContext as hL, type CreateWorkflowInput as hM, type UpdateWorkflowInput as hN, type WorkflowServiceOptions as hO, WorkflowService as hP, type StartWorkflowInput as hQ, type ResumeWorkflowInput as hR, type WorkflowInstanceServiceOptions as hS, WorkflowInstanceService as hT, type CreateParticipationInput as hU, type CreateParticipationResult as hV, type AuthenticationResult as hW, WorkflowParticipationService as hX, type FieldReadOnlyResult as hY, WorkflowRelationService as hZ, type UserValidationResult as h_, type SearchQueryOptions as ha, type QueryResult as hb, RecordQueryService as hc, type RelationValidationResult as hd, type RelationValidationError as he, type RelationOption as hf, type RelationOptionsResponse as hg, type GetRelationOptionsParams as hh, type RelationServiceOptions as hi, type ResolveIdsBatchRequest as hj, type ResolveIdsBatchResponse as hk, RelationService as hl, RecordResolverService as hm, type ResolvedRelations as hn, type FormulaResolverServiceOptions as ho, FormulaResolverService as hp, type RollupResult as hq, type RollupServiceOptions as hr, RollupService as hs, type RollupSchedulerOptions as ht, RollupScheduler as hu, applyDefaultValues as hv, checkPermission as hw, getPolicy as hx, buildPolicyContext as hy, checkRecordAccess as hz, type MultiRelationAttribute as i, type DBWorkflowParticipation as i$, UserService as i0, type UserProfileServiceOptions as i1, UserProfileService as i2, AuditService as i3, buildAuditChanges as i4, type FileServiceOptions as i5, FileService as i6, GeocodingService as i7, GlobalSearchService as i8, type PermissionServiceOptions as i9, extractRelationIds as iA, type RelationLabelResolver as iB, computeLabelWithRelations as iC, type DBObject as iD, type CreateDBObject as iE, type UpdateDBObject as iF, type UpsertDBObject as iG, type DBAttribute as iH, type CreateDBAttribute as iI, type UpdateDBAttribute as iJ, type UpsertDBAttribute as iK, type CreateObjectRecord as iL, type ListOptions as iM, type SearchOptions as iN, type GlobalSearchOptions as iO, type GlobalSearchResultItem as iP, type FileListOptions as iQ, type DBView as iR, type CreateDBView as iS, type UpdateDBView as iT, type UpsertDBView as iU, type DBWorkflow as iV, type CreateDBWorkflow as iW, type UpdateDBWorkflow as iX, type DBWorkflowInstance as iY, type CreateDBWorkflowInstance as iZ, type UpdateDBWorkflowInstance as i_, PermissionService as ia, type CreateViewInput as ib, type UpdateViewInput as ic, ViewService as id, type FileContent as ie, type StorageUploadInput as ig, type StorageUploadResult as ih, type SignedUrlOptions as ii, type StorageAdapter as ij, type UploadFileInput as ik, type SyncResult as il, type SyncOptions as im, syncNativeObjects as io, verifyNativeObjectsSync as ip, getSyncPreview as iq, type FullSyncResult as ir, type FullSyncOptions as is, syncAll as it, DEFAULT_LABEL_FALLBACK as iu, renderLabelExpression as iv, isLabelExpression as iw, extractAttributeNames as ix, enrichValuesForDisplay as iy, enrichValuesWithSelectLabels as iz, type RelationTarget as j, type CreateDBWorkflowParticipation as j0, type UpdateDBWorkflowParticipation as j1, type OperationResult as j2, type ViewSyncResult as j3, type ViewSyncOptions as j4, syncNativeViews as j5, verifyNativeViewsSync as j6, getViewSyncPreview as j7, type RatingAttribute as k, type FormulaAttribute as l, type FormulaReturnType as m, type RollupAttribute as n, type RollupFunction as o, type AttributeType as p, type ObjectDefinition as q, type Field as r, type AttributeGroupField as s, type TableTab as t, type InverseTableTab as u, type ViewDefinition as v, type InstanceStatus as w, type Tab as x, type FilterState as y, type SortRule as z };
|
|
11553
|
+
export { type FlowRow as $, type Attribute as A, type DirectTableTab as B, type CheckboxAttribute as C, type DateAttribute as D, type WorkflowConfig as E, type FileAttribute as F, type Group as G, type SlotMode as H, type InferAttributeValue as I, type AuthMethod as J, type AuthChannel as K, type LocationAttribute as L, type MultiselectAttribute as M, type NumberAttribute as N, type ObjectAction as O, type PhoneAttribute as P, type ParticipantTemplate as Q, type RichtextAttribute as R, type SystemResource as S, type TextAttribute as T, type UserAttribute as U, type ViewLayout as V, type WorkflowTheme as W, type ConditionGroup as X, type ConditionRule as Y, type WorkflowNode as Z, type WorkflowDefinition as _, type SystemAction as a, type FilterValue as a$, type AIMessageRole as a0, type AIThinkingLevel as a1, type AIToolCallStatus as a2, type AIToolCall as a3, type AIChatMessagePartType as a4, type TextPartData as a5, type ToolPartData as a6, type ThinkingPartData as a7, type ReasoningPartData as a8, type AIChatMessagePart as a9, RELATION_TARGET_ANY as aA, type RelationAttribute as aB, isUniversalRelation as aC, type AuditResourceType as aD, type AuditAction as aE, type AuditActorType as aF, type AuditChange as aG, type AuditLogEntry as aH, type CreateAuditLogInput as aI, type AuditListOptions as aJ, type AuditServiceOptions as aK, type StorageProvider as aL, type FileVisibility as aM, type File as aN, type CreateFile as aO, type UpdateFile as aP, type TextFilterOperator as aQ, type NumberFilterOperator as aR, type CheckboxFilterOperator as aS, type DateFilterOperator as aT, type SelectFilterOperator as aU, type MultiselectFilterOperator as aV, type RelationFilterOperator as aW, type FilterOperator as aX, type RelativeDateValue as aY, type CurrencyFilterValue as aZ, type PhoneFilterValue as a_, type AIChatMessage as aa, type AIQuestionType as ab, type AIQuestionOption as ac, type AIQuestion as ad, type AIQuestionAnswer as ae, type AITodoStatus as af, type AITodoItem as ag, type AITodoList as ah, type AIMessageAttachment as ai, type AIConversation as aj, type AIMessage as ak, type AIToolCallRecord as al, type AIUserMemory as am, type AIUsageMetrics as an, type AIProviderMetrics as ao, type CreateAIMessageInput as ap, type StatusGroup as aq, type AttributeGroup as ar, type BaseAttribute as as, type NumberUnit as at, type DateFormat as au, type DateValue as av, type Phone as aw, type Currency as ax, type Location as ay, type LocationGranularity as az, type TextAreaAttribute as b, type Permission as b$, type FilterRule as b0, type ExtendedFilterRule as b1, type FilterCombinator as b2, type FilterGroup as b3, type AdvancedFilterState as b4, isAdvancedFilterState as b5, toAdvancedFilterState as b6, toSimpleFilterState as b7, type SortDirection as b8, type QueryState as b9, type InferRecordInput as bA, type InferRecordUpdate as bB, type CustomAttributeValue as bC, type WithCustomAttributes as bD, type RecordMetadata as bE, type SystemFields as bF, type ExtractRecord as bG, type ExtractRecordStrict as bH, type ExtractRecordInput as bI, type ExtractRecordInputStrict as bJ, type ExtractRecordUpdate as bK, type ExtractRecordUpdateStrict as bL, type ExtractAttributes as bM, type TypedObjectRecord as bN, type ExtractObjectRecord as bO, type ExtractObjectRecordWithCustom as bP, RESERVED_ATTRIBUTE_NAMES as bQ, SYSTEM_FIELD_NAMES as bR, type ReservedAttributeName as bS, type SystemFieldName as bT, type Timestamps as bU, type SharingMode as bV, type ObjectAttribute as bW, type CompletionStatus as bX, type ObjectRecord as bY, type PermissionScope as bZ, type Role as b_, OPERATORS_BY_TYPE as ba, type NoValueOperator as bb, NO_VALUE_OPERATORS as bc, isNoValueOperator as bd, type FlowSlot as be, type FlowRowField as bf, type FlowPage as bg, type FlowRelation as bh, type FlowStatus as bi, type FlowDefinition as bj, isFlowDefinition as bk, isFlowPublished as bl, isSystemFlow as bm, type GeocodingSuggestion as bn, type GeocodingAutocompleteParams as bo, type ReverseGeocodingParams as bp, type GeocodingParams as bq, type GeocodingAdapter as br, NoopGeocodingAdapter as bs, type AttributeSchema as bt, type InferRecordFromSchema as bu, type InferRecordWithRequirements as bv, type TypedAttribute as bw, type AttributeMap as bx, type AddAttribute as by, type InferRecord as bz, type RichtextFeature as c, type WorkflowTransition as c$, type UserRoleAssignment as c0, type EffectivePermissions as c1, type ObjectPermissions as c2, type SystemPermissions as c3, type CreateRoleInput as c4, type UpdateRoleInput as c5, type CreatePermissionInput as c6, type AssignRoleInput as c7, type PolicyContext as c8, type RecordPolicy as c9, type WorkflowNodeType as cA, isStartNode as cB, isFormNode as cC, isConditionNode as cD, isEndNode as cE, isSimpleFormNode as cF, isAdvancedFormNode as cG, getNodeOutputs as cH, type ConditionOperator as cI, isConditionRule as cJ, isConditionGroup as cK, eq as cL, neq as cM, and as cN, or as cO, inValues as cP, isEmpty as cQ, isNotEmpty as cR, type WorkflowSlot as cS, type NodePosition as cT, type CanvasViewport as cU, type WorkflowLayout as cV, type ParticipantAuthConfig as cW, type WorkflowStatus as cX, isWorkflowDefinition as cY, isWorkflowPublished as cZ, isSystemWorkflow as c_, PolicyViolationError as ca, type UserRole as cb, type UserStatus as cc, type UserProfile as cd, type CreateUserProfile as ce, type UpdateUserProfile as cf, type InviteUserInput as cg, type TabType as ch, type FormTab as ci, type CustomTab as cj, type ActivityTab as ck, type NotesTab as cl, type FlowsTab as cm, isFormTab as cn, isTableTab as co, isDirectTableTab as cp, isInverseTableTab as cq, isCustomTab as cr, isActivityTab as cs, isNotesTab as ct, isFlowsTab as cu, type StartNode as cv, type FormNode as cw, type FormFieldRef as cx, type ConditionNode as cy, type EndNode as cz, type CurrencyAttribute as d, formulaConfigSchema as d$, type WorkflowError as d0, type PendingAction as d1, type WorkflowInstance as d2, isInstanceTerminal as d3, isInstanceWaiting as d4, canResumeInstance as d5, createStartTransition as d6, type ParticipationStatus as d7, type SignedLinkAuth as d8, type PinCodeAuth as d9, type Uuid as dA, type TenantId as dB, type UserId as dC, asTenantId as dD, asUserId as dE, generateId as dF, generatePrefixedId as dG, registry as dH, viewRegistry as dI, type ValidationMessages as dJ, DEFAULT_VALIDATION_MESSAGES as dK, textConfigSchema as dL, textareaConfigSchema as dM, richtextConfigSchema as dN, numberConfigSchema as dO, checkboxConfigSchema as dP, dateConfigSchema as dQ, phoneConfigSchema as dR, currencyConfigSchema as dS, statusConfigSchema as dT, locationConfigSchema as dU, selectConfigSchema as dV, multiselectConfigSchema as dW, fileConfigSchema as dX, userConfigSchema as dY, relationConfigSchema as dZ, ratingConfigSchema as d_, type ParticipationAuth as da, type WorkflowParticipation as db, isSignedLinkAuth as dc, isPinCodeAuth as dd, canParticipate as de, canAuthenticate as df, canExecuteNode as dg, type GeneratedDocument as dh, type WorkflowExecutionContext as di, createEmptyContext as dj, getContextValue as dk, setContextValue as dl, mergeFormToSlot as dm, type WorkflowAccessMode as dn, type ReadOnlyReason as dp, type FormFieldContext as dq, type FormFieldRow as dr, type FormNodeInfo as ds, type FormContextResponse as dt, type ThemeLogo as du, type ThemeColors as dv, type ThemeTypography as dw, DEFAULT_THEME as dx, mergeWithDefaults as dy, generateCssVariables as dz, type Option as e, type QueryBuilderState as e$, rollupConfigSchema as e0, attributeConfigSchemas as e1, getAttributeConfigSchema as e2, validateAttributeConfig as e3, parseAttributeConfig as e4, safeParseAttributeConfig as e5, createTextValidator as e6, createNumberValidator as e7, createCheckboxValidator as e8, createDateValidator as e9, getMissingRequiredAttributes as eA, isRecordComplete as eB, computeRecordStatus as eC, type DatabaseAdapter as eD, ParticipationTokenService as eE, getDefaultTokenService as eF, initializeTokenService as eG, type ParticipationTokenPayload as eH, type TokenGenerationOptions as eI, type TokenVerificationResult as eJ, PinCodeService as eK, getDefaultPinCodeService as eL, initializePinCodeService as eM, type PinCodeGenerationOptions as eN, type PinCodeVerificationResult as eO, type CacheKeyType as eP, hashOptions as eQ, type CacheAdapter as eR, type CacheOptions as eS, cacheKeys as eT, cacheTtl as eU, defaultTtl as eV, NoopCacheAdapter as eW, type FetchResult as eX, type FormattedRecord as eY, type GroupedFetchResult as eZ, type InsertOptions as e_, createPhoneValidator as ea, createCurrencyValidator as eb, createStatusValidator as ec, createSelectValidator as ed, createMultiselectValidator as ee, createLocationValidator as ef, createFileValidator as eg, createUserValidator as eh, createSingleRelationValidator as ei, createMultiRelationValidator as ej, createRelationValidator as ek, createRatingValidator as el, createFormulaValidator as em, createRollupValidator as en, createTextAreaValidator as eo, createRichtextValidator as ep, createAttributeValidator as eq, createFormAttributeValidator as er, createObjectValidator as es, type ValidationResult as et, validateAttribute as eu, validateObject as ev, validateObjectOrThrow as ew, createDraftValidator as ex, validateDraft as ey, validateDraftOrThrow as ez, type StatusAttribute as f, type FormulaResult as f$, type RegistryMap as f0, type RegistryObjectNames as f1, type ShortcutOperator as f2, createDefaultState as f3, formatRecord as f4, formatRecords as f5, QueryMultipleResultsError as f6, QueryNoResultError as f7, SHORTCUT_TO_FILTER_OPERATOR as f8, createQueryBuilder as f9, type ExecutorContext as fA, type ExecutorErrorResult as fB, type ExecutorResult as fC, type ExecutorSuccessResult as fD, type ExecutorWaitResult as fE, type NodeExecutor as fF, complete as fG, error as fH, ExecutorRegistry as fI, success as fJ, wait as fK, ConditionExecutor as fL, EndExecutor as fM, FormExecutor as fN, StartExecutor as fO, evaluateFormula as fP, evaluateFormulaAttribute as fQ, evaluateFormulaAttributeWithRelations as fR, evaluateFormulaWithRelations as fS, evaluateFormulaWithResult as fT, extractFormulaVariables as fU, extractRelationNames as fV, extractRelationReferences as fW, flattenRelationsForEval as fX, formatFormulaResult as fY, hasRelationReferences as fZ, validateFormulaExpression as f_, QueryBuilder as fa, type QueryBuilderOptions as fb, type EvaluationResult as fc, type EvaluationTrace as fd, evaluateCondition as fe, evaluate as ff, evaluateWithTrace as fg, TenantContextError as fh, addSchemaToContext as fi, getSchemaByNameFromContext as fj, getSchemaContext as fk, getSchemaFromContext as fl, hasSchemaContext as fm, runWithMergedSchemaContext as fn, runWithSchemaContext as fo, type SchemaContext as fp, getContext as fq, getTenantId as fr, getUserId as fs, hasContext as ft, runWithContext as fu, withTenantContext as fv, type TenantContext as fw, createDefaultExecutorRegistry as fx, getDefaultExecutorRegistry as fy, type ExecutorCompleteResult as fz, type SelectAttribute as g, type RelationOptionsResponse as g$, getPathDepth as g0, getRelationPath as g1, getTargetAttributeName as g2, InvalidPathError as g3, MaxDepthExceededError as g4, parsePath as g5, pathHasManyCardinality as g6, validatePath as g7, type PathCardinality as g8, type PathSegment as g9, type WorkflowParticipationsRepository as gA, type AuditRepository as gB, type PermissionsRepository as gC, type AIConversationsRepository as gD, type AIUserMemoryRepository as gE, type AIUsageMetricsRepository as gF, BaseService as gG, BaseRepository as gH, type SchemaContextAware as gI, SchemaContextAwareRepository as gJ, TenantAwareRepository as gK, TenantAwareService as gL, type CreateCustomObjectInput as gM, type AddAttributeInput as gN, type UpdateObjectInput as gO, type ObjectSchemaServiceOptions as gP, ObjectSchemaService as gQ, type RecordServiceOptions as gR, RecordService as gS, type RecordQueryServiceOptions as gT, type QueryOptions as gU, type SearchQueryOptions as gV, type QueryResult as gW, RecordQueryService as gX, type RelationValidationResult as gY, type RelationValidationError as gZ, type RelationOption as g_, type PathSegmentType as ga, type SchemaResolver as gb, resolveMultiplePaths as gc, resolveSingleValue as gd, traversePath as ge, type TraversalOptions as gf, type TraversalResult as gg, type AttributeChange as gh, type HookContext as gi, type HookDefinition as gj, type HookHandler as gk, type HookType as gl, NoopHookRegistry as gm, type HookRegistry as gn, createMockAdapter as go, defaultPolicyRegistry as gp, PolicyRegistry as gq, notesPolicy as gr, type ObjectsRepository as gs, type AttributesRepository as gt, type UserProfilesRepository as gu, type FilesRepository as gv, type ObjectRecordsRepository as gw, type ViewsRepository as gx, type WorkflowsRepository as gy, type WorkflowInstancesRepository as gz, type SingleRelationAttribute as h, type StorageUploadInput as h$, type GetRelationOptionsParams as h0, type RelationServiceOptions as h1, type ResolveIdsBatchRequest as h2, type ResolveIdsBatchResponse as h3, RelationService as h4, RecordResolverService as h5, type ResolvedRelations as h6, type FormulaResolverServiceOptions as h7, FormulaResolverService as h8, type RollupResult as h9, type StartWorkflowInput as hA, type ResumeWorkflowInput as hB, type WorkflowInstanceServiceOptions as hC, WorkflowInstanceService as hD, type CreateParticipationInput as hE, type CreateParticipationResult as hF, type AuthenticationResult as hG, WorkflowParticipationService as hH, type FieldReadOnlyResult as hI, WorkflowRelationService as hJ, type UserValidationResult as hK, type UserValidationError as hL, UserService as hM, type UserProfileServiceOptions as hN, UserProfileService as hO, AuditService as hP, buildAuditChanges as hQ, type FileServiceOptions as hR, FileService as hS, GeocodingService as hT, GlobalSearchService as hU, type PermissionServiceOptions as hV, PermissionService as hW, type CreateViewInput as hX, type UpdateViewInput as hY, ViewService as hZ, type FileContent as h_, type RollupServiceOptions as ha, RollupService as hb, type RollupSchedulerOptions as hc, RollupScheduler as hd, applyDefaultValues as he, checkPermission as hf, getPolicy as hg, buildPolicyContext as hh, checkRecordAccess as hi, checkRecordModifyOrThrow as hj, checkRecordDeleteOrThrow as hk, checkSharedObjectWriteAccess as hl, computeLabel as hm, type LabelResolver as hn, enrichWithFormulas as ho, enrichRecordsWithFormulas as hp, createContextForCreate as hq, createContextForUpdate as hr, createContextForDelete as hs, createContextForRestore as ht, recalculateParentRollups as hu, type RollupCascadeContext as hv, type CreateWorkflowInput as hw, type UpdateWorkflowInput as hx, type WorkflowServiceOptions as hy, WorkflowService as hz, type MultiRelationAttribute as i, type StorageUploadResult as i0, type SignedUrlOptions as i1, type StorageAdapter as i2, type UploadFileInput as i3, type SyncResult as i4, type SyncOptions as i5, syncNativeObjects as i6, verifyNativeObjectsSync as i7, getSyncPreview as i8, type FullSyncResult as i9, type FileListOptions as iA, type DBView as iB, type CreateDBView as iC, type UpdateDBView as iD, type UpsertDBView as iE, type DBWorkflow as iF, type CreateDBWorkflow as iG, type UpdateDBWorkflow as iH, type DBWorkflowInstance as iI, type CreateDBWorkflowInstance as iJ, type UpdateDBWorkflowInstance as iK, type DBWorkflowParticipation as iL, type CreateDBWorkflowParticipation as iM, type UpdateDBWorkflowParticipation as iN, type OperationResult as iO, type ViewSyncResult as iP, type ViewSyncOptions as iQ, syncNativeViews as iR, verifyNativeViewsSync as iS, getViewSyncPreview as iT, type FullSyncOptions as ia, syncAll as ib, DEFAULT_LABEL_FALLBACK as ic, renderLabelExpression as id, isLabelExpression as ie, extractAttributeNames as ig, enrichValuesForDisplay as ih, enrichValuesWithSelectLabels as ii, extractRelationIds as ij, type RelationLabelResolver as ik, computeLabelWithRelations as il, type DBObject as im, type CreateDBObject as io, type UpdateDBObject as ip, type UpsertDBObject as iq, type DBAttribute as ir, type CreateDBAttribute as is, type UpdateDBAttribute as it, type UpsertDBAttribute as iu, type CreateObjectRecord as iv, type ListOptions as iw, type SearchOptions as ix, type GlobalSearchOptions as iy, type GlobalSearchResultItem as iz, type RelationTarget as j, type RatingAttribute as k, type FormulaAttribute as l, type FormulaReturnType as m, type RollupAttribute as n, type RollupFunction as o, type AttributeType as p, type ObjectDefinition as q, type Field as r, type AttributeGroupField as s, type TableTab as t, type InverseTableTab as u, type ViewDefinition as v, type InstanceStatus as w, type Tab as x, type FilterState as y, type SortRule as z };
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { gD as AIConversationsRepository, gF as AIUsageMetricsRepository, gE as AIUserMemoryRepository, gN as AddAttributeInput, gh as AttributeChange, gt as AttributesRepository, gB as AuditRepository, hP as AuditService, hG as AuthenticationResult, gH as BaseRepository, gG as BaseService, eR as CacheAdapter, eP as CacheKeyType, eS as CacheOptions, bX as CompletionStatus, fL as ConditionExecutor, gM as CreateCustomObjectInput, is as CreateDBAttribute, io as CreateDBObject, iC as CreateDBView, iG as CreateDBWorkflow, iJ as CreateDBWorkflowInstance, iM as CreateDBWorkflowParticipation, iv as CreateObjectRecord, hE as CreateParticipationInput, hF as CreateParticipationResult, hX as CreateViewInput, hw as CreateWorkflowInput, ir as DBAttribute, im as DBObject, iB as DBView, iF as DBWorkflow, iI as DBWorkflowInstance, iL as DBWorkflowParticipation, ic as DEFAULT_LABEL_FALLBACK, eD as DatabaseAdapter, fM as EndExecutor, fc as EvaluationResult, fd as EvaluationTrace, fz as ExecutorCompleteResult, fA as ExecutorContext, fB as ExecutorErrorResult, fI as ExecutorRegistry, fC as ExecutorResult, fD as ExecutorSuccessResult, fE as ExecutorWaitResult, eX as FetchResult, hI as FieldReadOnlyResult, h_ as FileContent, iA as FileListOptions, hS as FileService, hR as FileServiceOptions, gv as FilesRepository, fN as FormExecutor, eY as FormattedRecord, h8 as FormulaResolverService, h7 as FormulaResolverServiceOptions, f$ as FormulaResult, ia as FullSyncOptions, i9 as FullSyncResult, br as GeocodingAdapter, bo as GeocodingAutocompleteParams, bq as GeocodingParams, hT as GeocodingService, bn as GeocodingSuggestion, h0 as GetRelationOptionsParams, iy as GlobalSearchOptions, iz as GlobalSearchResultItem, hU as GlobalSearchService, eZ as GroupedFetchResult, gi as HookContext, gj as HookDefinition, gk as HookHandler, gn as HookRegistry, gl as HookType, e_ as InsertOptions, g3 as InvalidPathError, hn as LabelResolver, iw as ListOptions, g4 as MaxDepthExceededError, fF as NodeExecutor, eW as NoopCacheAdapter, bs as NoopGeocodingAdapter, gm as NoopHookRegistry, gw as ObjectRecordsRepository, gQ as ObjectSchemaService, gP as ObjectSchemaServiceOptions, gs as ObjectsRepository, iO as OperationResult, eH as ParticipationTokenPayload, eE as ParticipationTokenService, g8 as PathCardinality, g9 as PathSegment, ga as PathSegmentType, hW as PermissionService, hV as PermissionServiceOptions, gC as PermissionsRepository, eN as PinCodeGenerationOptions, eK as PinCodeService, eO as PinCodeVerificationResult, c8 as PolicyContext, gq as PolicyRegistry, ca as PolicyViolationError, fa as QueryBuilder, fb as QueryBuilderOptions, e$ as QueryBuilderState, f6 as QueryMultipleResultsError, f7 as QueryNoResultError, gU as QueryOptions, gW as QueryResult, c9 as RecordPolicy, gX as RecordQueryService, gT as RecordQueryServiceOptions, h5 as RecordResolverService, gS as RecordService, gR as RecordServiceOptions, f0 as RegistryMap, f1 as RegistryObjectNames, ik as RelationLabelResolver, g_ as RelationOption, g$ as RelationOptionsResponse, h4 as RelationService, h1 as RelationServiceOptions, gZ as RelationValidationError, gY as RelationValidationResult, h2 as ResolveIdsBatchRequest, h3 as ResolveIdsBatchResponse, h6 as ResolvedRelations, hB as ResumeWorkflowInput, bp as ReverseGeocodingParams, hv as RollupCascadeContext, h9 as RollupResult, hd as RollupScheduler, hc as RollupSchedulerOptions, hb as RollupService, ha as RollupServiceOptions, f8 as SHORTCUT_TO_FILTER_OPERATOR, fp as SchemaContext, gI as SchemaContextAware, gJ as SchemaContextAwareRepository, gb as SchemaResolver, ix as SearchOptions, gV as SearchQueryOptions, f2 as ShortcutOperator, i1 as SignedUrlOptions, fO as StartExecutor, hA as StartWorkflowInput, i2 as StorageAdapter, h$ as StorageUploadInput, i0 as StorageUploadResult, i5 as SyncOptions, i4 as SyncResult, gK as TenantAwareRepository, gL as TenantAwareService, fw as TenantContext, fh as TenantContextError, eI as TokenGenerationOptions, eJ as TokenVerificationResult, gf as TraversalOptions, gg as TraversalResult, it as UpdateDBAttribute, ip as UpdateDBObject, iD as UpdateDBView, iH as UpdateDBWorkflow, iK as UpdateDBWorkflowInstance, iN as UpdateDBWorkflowParticipation, gO as UpdateObjectInput, hY as UpdateViewInput, hx as UpdateWorkflowInput, i3 as UploadFileInput, iu as UpsertDBAttribute, iq as UpsertDBObject, iE as UpsertDBView, hO as UserProfileService, hN as UserProfileServiceOptions, gu as UserProfilesRepository, hM as UserService, hL as UserValidationError, hK as UserValidationResult, hZ as ViewService, iQ as ViewSyncOptions, iP as ViewSyncResult, gx as ViewsRepository, hD as WorkflowInstanceService, hC as WorkflowInstanceServiceOptions, gz as WorkflowInstancesRepository, hH as WorkflowParticipationService, gA as WorkflowParticipationsRepository, hJ as WorkflowRelationService, hz as WorkflowService, hy as WorkflowServiceOptions, gy as WorkflowsRepository, fi as addSchemaToContext, he as applyDefaultValues, hQ as buildAuditChanges, hh as buildPolicyContext, eT as cacheKeys, eU as cacheTtl, hf as checkPermission, hi as checkRecordAccess, hk as checkRecordDeleteOrThrow, hj as checkRecordModifyOrThrow, hl as checkSharedObjectWriteAccess, fG as complete, hm as computeLabel, il as computeLabelWithRelations, hq as createContextForCreate, hs as createContextForDelete, ht as createContextForRestore, hr as createContextForUpdate, fx as createDefaultExecutorRegistry, f3 as createDefaultState, go as createMockAdapter, f9 as createQueryBuilder, gp as defaultPolicyRegistry, eV as defaultTtl, hp as enrichRecordsWithFormulas, ih as enrichValuesForDisplay, ii as enrichValuesWithSelectLabels, ho as enrichWithFormulas, fH as error, ff as evaluate, fe as evaluateCondition, fP as evaluateFormula, fQ as evaluateFormulaAttribute, fR as evaluateFormulaAttributeWithRelations, fS as evaluateFormulaWithRelations, fT as evaluateFormulaWithResult, fg as evaluateWithTrace, ig as extractAttributeNames, fU as extractFormulaVariables, ij as extractRelationIds, fV as extractRelationNames, fW as extractRelationReferences, fX as flattenRelationsForEval, fY as formatFormulaResult, f4 as formatRecord, f5 as formatRecords, fq as getContext, fy as getDefaultExecutorRegistry, eL as getDefaultPinCodeService, eF as getDefaultTokenService, g0 as getPathDepth, hg as getPolicy, g1 as getRelationPath, fj as getSchemaByNameFromContext, fk as getSchemaContext, fl as getSchemaFromContext, i8 as getSyncPreview, g2 as getTargetAttributeName, fr as getTenantId, fs as getUserId, iT as getViewSyncPreview, ft as hasContext, fZ as hasRelationReferences, fm as hasSchemaContext, eQ as hashOptions, eM as initializePinCodeService, eG as initializeTokenService, ie as isLabelExpression, gr as notesPolicy, g5 as parsePath, g6 as pathHasManyCardinality, hu as recalculateParentRollups, id as renderLabelExpression, gc as resolveMultiplePaths, gd as resolveSingleValue, fu as runWithContext, fn as runWithMergedSchemaContext, fo as runWithSchemaContext, fJ as success, ib as syncAll, i6 as syncNativeObjects, iR as syncNativeViews, ge as traversePath, f_ as validateFormulaExpression, g7 as validatePath, i7 as verifyNativeObjectsSync, iS as verifyNativeViewsSync, fK as wait, fv as withTenantContext } from './runtime-B5JYQdZx.mjs';
|
|
2
2
|
import '@stndrds/constants';
|
|
3
3
|
import 'zod';
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { gD as AIConversationsRepository, gF as AIUsageMetricsRepository, gE as AIUserMemoryRepository, gN as AddAttributeInput, gh as AttributeChange, gt as AttributesRepository, gB as AuditRepository, hP as AuditService, hG as AuthenticationResult, gH as BaseRepository, gG as BaseService, eR as CacheAdapter, eP as CacheKeyType, eS as CacheOptions, bX as CompletionStatus, fL as ConditionExecutor, gM as CreateCustomObjectInput, is as CreateDBAttribute, io as CreateDBObject, iC as CreateDBView, iG as CreateDBWorkflow, iJ as CreateDBWorkflowInstance, iM as CreateDBWorkflowParticipation, iv as CreateObjectRecord, hE as CreateParticipationInput, hF as CreateParticipationResult, hX as CreateViewInput, hw as CreateWorkflowInput, ir as DBAttribute, im as DBObject, iB as DBView, iF as DBWorkflow, iI as DBWorkflowInstance, iL as DBWorkflowParticipation, ic as DEFAULT_LABEL_FALLBACK, eD as DatabaseAdapter, fM as EndExecutor, fc as EvaluationResult, fd as EvaluationTrace, fz as ExecutorCompleteResult, fA as ExecutorContext, fB as ExecutorErrorResult, fI as ExecutorRegistry, fC as ExecutorResult, fD as ExecutorSuccessResult, fE as ExecutorWaitResult, eX as FetchResult, hI as FieldReadOnlyResult, h_ as FileContent, iA as FileListOptions, hS as FileService, hR as FileServiceOptions, gv as FilesRepository, fN as FormExecutor, eY as FormattedRecord, h8 as FormulaResolverService, h7 as FormulaResolverServiceOptions, f$ as FormulaResult, ia as FullSyncOptions, i9 as FullSyncResult, br as GeocodingAdapter, bo as GeocodingAutocompleteParams, bq as GeocodingParams, hT as GeocodingService, bn as GeocodingSuggestion, h0 as GetRelationOptionsParams, iy as GlobalSearchOptions, iz as GlobalSearchResultItem, hU as GlobalSearchService, eZ as GroupedFetchResult, gi as HookContext, gj as HookDefinition, gk as HookHandler, gn as HookRegistry, gl as HookType, e_ as InsertOptions, g3 as InvalidPathError, hn as LabelResolver, iw as ListOptions, g4 as MaxDepthExceededError, fF as NodeExecutor, eW as NoopCacheAdapter, bs as NoopGeocodingAdapter, gm as NoopHookRegistry, gw as ObjectRecordsRepository, gQ as ObjectSchemaService, gP as ObjectSchemaServiceOptions, gs as ObjectsRepository, iO as OperationResult, eH as ParticipationTokenPayload, eE as ParticipationTokenService, g8 as PathCardinality, g9 as PathSegment, ga as PathSegmentType, hW as PermissionService, hV as PermissionServiceOptions, gC as PermissionsRepository, eN as PinCodeGenerationOptions, eK as PinCodeService, eO as PinCodeVerificationResult, c8 as PolicyContext, gq as PolicyRegistry, ca as PolicyViolationError, fa as QueryBuilder, fb as QueryBuilderOptions, e$ as QueryBuilderState, f6 as QueryMultipleResultsError, f7 as QueryNoResultError, gU as QueryOptions, gW as QueryResult, c9 as RecordPolicy, gX as RecordQueryService, gT as RecordQueryServiceOptions, h5 as RecordResolverService, gS as RecordService, gR as RecordServiceOptions, f0 as RegistryMap, f1 as RegistryObjectNames, ik as RelationLabelResolver, g_ as RelationOption, g$ as RelationOptionsResponse, h4 as RelationService, h1 as RelationServiceOptions, gZ as RelationValidationError, gY as RelationValidationResult, h2 as ResolveIdsBatchRequest, h3 as ResolveIdsBatchResponse, h6 as ResolvedRelations, hB as ResumeWorkflowInput, bp as ReverseGeocodingParams, hv as RollupCascadeContext, h9 as RollupResult, hd as RollupScheduler, hc as RollupSchedulerOptions, hb as RollupService, ha as RollupServiceOptions, f8 as SHORTCUT_TO_FILTER_OPERATOR, fp as SchemaContext, gI as SchemaContextAware, gJ as SchemaContextAwareRepository, gb as SchemaResolver, ix as SearchOptions, gV as SearchQueryOptions, f2 as ShortcutOperator, i1 as SignedUrlOptions, fO as StartExecutor, hA as StartWorkflowInput, i2 as StorageAdapter, h$ as StorageUploadInput, i0 as StorageUploadResult, i5 as SyncOptions, i4 as SyncResult, gK as TenantAwareRepository, gL as TenantAwareService, fw as TenantContext, fh as TenantContextError, eI as TokenGenerationOptions, eJ as TokenVerificationResult, gf as TraversalOptions, gg as TraversalResult, it as UpdateDBAttribute, ip as UpdateDBObject, iD as UpdateDBView, iH as UpdateDBWorkflow, iK as UpdateDBWorkflowInstance, iN as UpdateDBWorkflowParticipation, gO as UpdateObjectInput, hY as UpdateViewInput, hx as UpdateWorkflowInput, i3 as UploadFileInput, iu as UpsertDBAttribute, iq as UpsertDBObject, iE as UpsertDBView, hO as UserProfileService, hN as UserProfileServiceOptions, gu as UserProfilesRepository, hM as UserService, hL as UserValidationError, hK as UserValidationResult, hZ as ViewService, iQ as ViewSyncOptions, iP as ViewSyncResult, gx as ViewsRepository, hD as WorkflowInstanceService, hC as WorkflowInstanceServiceOptions, gz as WorkflowInstancesRepository, hH as WorkflowParticipationService, gA as WorkflowParticipationsRepository, hJ as WorkflowRelationService, hz as WorkflowService, hy as WorkflowServiceOptions, gy as WorkflowsRepository, fi as addSchemaToContext, he as applyDefaultValues, hQ as buildAuditChanges, hh as buildPolicyContext, eT as cacheKeys, eU as cacheTtl, hf as checkPermission, hi as checkRecordAccess, hk as checkRecordDeleteOrThrow, hj as checkRecordModifyOrThrow, hl as checkSharedObjectWriteAccess, fG as complete, hm as computeLabel, il as computeLabelWithRelations, hq as createContextForCreate, hs as createContextForDelete, ht as createContextForRestore, hr as createContextForUpdate, fx as createDefaultExecutorRegistry, f3 as createDefaultState, go as createMockAdapter, f9 as createQueryBuilder, gp as defaultPolicyRegistry, eV as defaultTtl, hp as enrichRecordsWithFormulas, ih as enrichValuesForDisplay, ii as enrichValuesWithSelectLabels, ho as enrichWithFormulas, fH as error, ff as evaluate, fe as evaluateCondition, fP as evaluateFormula, fQ as evaluateFormulaAttribute, fR as evaluateFormulaAttributeWithRelations, fS as evaluateFormulaWithRelations, fT as evaluateFormulaWithResult, fg as evaluateWithTrace, ig as extractAttributeNames, fU as extractFormulaVariables, ij as extractRelationIds, fV as extractRelationNames, fW as extractRelationReferences, fX as flattenRelationsForEval, fY as formatFormulaResult, f4 as formatRecord, f5 as formatRecords, fq as getContext, fy as getDefaultExecutorRegistry, eL as getDefaultPinCodeService, eF as getDefaultTokenService, g0 as getPathDepth, hg as getPolicy, g1 as getRelationPath, fj as getSchemaByNameFromContext, fk as getSchemaContext, fl as getSchemaFromContext, i8 as getSyncPreview, g2 as getTargetAttributeName, fr as getTenantId, fs as getUserId, iT as getViewSyncPreview, ft as hasContext, fZ as hasRelationReferences, fm as hasSchemaContext, eQ as hashOptions, eM as initializePinCodeService, eG as initializeTokenService, ie as isLabelExpression, gr as notesPolicy, g5 as parsePath, g6 as pathHasManyCardinality, hu as recalculateParentRollups, id as renderLabelExpression, gc as resolveMultiplePaths, gd as resolveSingleValue, fu as runWithContext, fn as runWithMergedSchemaContext, fo as runWithSchemaContext, fJ as success, ib as syncAll, i6 as syncNativeObjects, iR as syncNativeViews, ge as traversePath, f_ as validateFormulaExpression, g7 as validatePath, i7 as verifyNativeObjectsSync, iS as verifyNativeViewsSync, fK as wait, fv as withTenantContext } from './runtime-B5JYQdZx.js';
|
|
2
2
|
import '@stndrds/constants';
|
|
3
3
|
import 'zod';
|