@objectstack/platform-objects 6.8.1 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apps/index.d.mts +30 -1
- package/dist/apps/index.d.ts +30 -1
- package/dist/apps/index.js +994 -37
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/index.mjs +994 -38
- package/dist/apps/index.mjs.map +1 -1
- package/dist/audit/index.d.mts +320 -16
- package/dist/audit/index.d.ts +320 -16
- package/dist/identity/index.d.mts +1000 -22
- package/dist/identity/index.d.ts +1000 -22
- package/dist/identity/index.js +384 -8
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/index.mjs +384 -8
- package/dist/identity/index.mjs.map +1 -1
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +7060 -154
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7054 -155
- package/dist/index.mjs.map +1 -1
- package/dist/integration/index.d.mts +20 -1
- package/dist/integration/index.d.ts +20 -1
- package/dist/metadata/index.d.mts +40 -2
- package/dist/metadata/index.d.ts +40 -2
- package/dist/metadata-translations/index.d.mts +20 -0
- package/dist/metadata-translations/index.d.ts +20 -0
- package/dist/metadata-translations/index.js +4777 -0
- package/dist/metadata-translations/index.js.map +1 -0
- package/dist/metadata-translations/index.mjs +4775 -0
- package/dist/metadata-translations/index.mjs.map +1 -0
- package/dist/pages/index.d.mts +68 -0
- package/dist/pages/index.d.ts +68 -0
- package/dist/pages/index.js +371 -0
- package/dist/pages/index.js.map +1 -0
- package/dist/pages/index.mjs +368 -0
- package/dist/pages/index.mjs.map +1 -0
- package/dist/plugin.d.mts +35 -0
- package/dist/plugin.d.ts +35 -0
- package/dist/plugin.js +17566 -0
- package/dist/plugin.js.map +1 -0
- package/dist/plugin.mjs +17563 -0
- package/dist/plugin.mjs.map +1 -0
- package/dist/security/index.d.mts +6376 -2094
- package/dist/security/index.d.ts +6376 -2094
- package/dist/security/index.js +383 -1
- package/dist/security/index.js.map +1 -1
- package/dist/security/index.mjs +383 -2
- package/dist/security/index.mjs.map +1 -1
- package/dist/system/index.d.mts +60 -3
- package/dist/system/index.d.ts +60 -3
- package/package.json +17 -2
|
@@ -612,6 +612,14 @@ declare const SysWebhook: Omit<{
|
|
|
612
612
|
} | undefined;
|
|
613
613
|
recordTypes?: string[] | undefined;
|
|
614
614
|
sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
|
|
615
|
+
publicSharing?: {
|
|
616
|
+
enabled: boolean;
|
|
617
|
+
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
618
|
+
allowedPermissions?: ("edit" | "view" | "comment")[] | undefined;
|
|
619
|
+
maxExpiryDays?: number | undefined;
|
|
620
|
+
redactFields?: string[] | undefined;
|
|
621
|
+
eligibility?: string | undefined;
|
|
622
|
+
} | undefined;
|
|
615
623
|
keyPrefix?: string | undefined;
|
|
616
624
|
detail?: {
|
|
617
625
|
[x: string]: unknown;
|
|
@@ -626,7 +634,7 @@ declare const SysWebhook: Omit<{
|
|
|
626
634
|
refreshAfter: boolean;
|
|
627
635
|
objectName?: string | undefined;
|
|
628
636
|
icon?: string | undefined;
|
|
629
|
-
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
|
|
637
|
+
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
|
|
630
638
|
component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
|
|
631
639
|
target?: string | undefined;
|
|
632
640
|
body?: {
|
|
@@ -659,6 +667,17 @@ declare const SysWebhook: Omit<{
|
|
|
659
667
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
660
668
|
confirmText?: string | undefined;
|
|
661
669
|
successMessage?: string | undefined;
|
|
670
|
+
resultDialog?: {
|
|
671
|
+
title?: string | undefined;
|
|
672
|
+
description?: string | undefined;
|
|
673
|
+
acknowledge?: string | undefined;
|
|
674
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
675
|
+
fields?: {
|
|
676
|
+
path: string;
|
|
677
|
+
label?: string | undefined;
|
|
678
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
679
|
+
}[] | undefined;
|
|
680
|
+
} | undefined;
|
|
662
681
|
visible?: {
|
|
663
682
|
dialect: "cel" | "js" | "cron" | "template";
|
|
664
683
|
source?: string | undefined;
|
|
@@ -612,6 +612,14 @@ declare const SysWebhook: Omit<{
|
|
|
612
612
|
} | undefined;
|
|
613
613
|
recordTypes?: string[] | undefined;
|
|
614
614
|
sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
|
|
615
|
+
publicSharing?: {
|
|
616
|
+
enabled: boolean;
|
|
617
|
+
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
618
|
+
allowedPermissions?: ("edit" | "view" | "comment")[] | undefined;
|
|
619
|
+
maxExpiryDays?: number | undefined;
|
|
620
|
+
redactFields?: string[] | undefined;
|
|
621
|
+
eligibility?: string | undefined;
|
|
622
|
+
} | undefined;
|
|
615
623
|
keyPrefix?: string | undefined;
|
|
616
624
|
detail?: {
|
|
617
625
|
[x: string]: unknown;
|
|
@@ -626,7 +634,7 @@ declare const SysWebhook: Omit<{
|
|
|
626
634
|
refreshAfter: boolean;
|
|
627
635
|
objectName?: string | undefined;
|
|
628
636
|
icon?: string | undefined;
|
|
629
|
-
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
|
|
637
|
+
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
|
|
630
638
|
component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
|
|
631
639
|
target?: string | undefined;
|
|
632
640
|
body?: {
|
|
@@ -659,6 +667,17 @@ declare const SysWebhook: Omit<{
|
|
|
659
667
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
660
668
|
confirmText?: string | undefined;
|
|
661
669
|
successMessage?: string | undefined;
|
|
670
|
+
resultDialog?: {
|
|
671
|
+
title?: string | undefined;
|
|
672
|
+
description?: string | undefined;
|
|
673
|
+
acknowledge?: string | undefined;
|
|
674
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
675
|
+
fields?: {
|
|
676
|
+
path: string;
|
|
677
|
+
label?: string | undefined;
|
|
678
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
679
|
+
}[] | undefined;
|
|
680
|
+
} | undefined;
|
|
662
681
|
visible?: {
|
|
663
682
|
dialect: "cel" | "js" | "cron" | "template";
|
|
664
683
|
source?: string | undefined;
|
|
@@ -601,6 +601,14 @@ declare const SysMetadataObject: Omit<{
|
|
|
601
601
|
} | undefined;
|
|
602
602
|
recordTypes?: string[] | undefined;
|
|
603
603
|
sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
|
|
604
|
+
publicSharing?: {
|
|
605
|
+
enabled: boolean;
|
|
606
|
+
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
607
|
+
allowedPermissions?: ("edit" | "view" | "comment")[] | undefined;
|
|
608
|
+
maxExpiryDays?: number | undefined;
|
|
609
|
+
redactFields?: string[] | undefined;
|
|
610
|
+
eligibility?: string | undefined;
|
|
611
|
+
} | undefined;
|
|
604
612
|
keyPrefix?: string | undefined;
|
|
605
613
|
detail?: {
|
|
606
614
|
[x: string]: unknown;
|
|
@@ -615,7 +623,7 @@ declare const SysMetadataObject: Omit<{
|
|
|
615
623
|
refreshAfter: boolean;
|
|
616
624
|
objectName?: string | undefined;
|
|
617
625
|
icon?: string | undefined;
|
|
618
|
-
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
|
|
626
|
+
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
|
|
619
627
|
component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
|
|
620
628
|
target?: string | undefined;
|
|
621
629
|
body?: {
|
|
@@ -648,6 +656,17 @@ declare const SysMetadataObject: Omit<{
|
|
|
648
656
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
649
657
|
confirmText?: string | undefined;
|
|
650
658
|
successMessage?: string | undefined;
|
|
659
|
+
resultDialog?: {
|
|
660
|
+
title?: string | undefined;
|
|
661
|
+
description?: string | undefined;
|
|
662
|
+
acknowledge?: string | undefined;
|
|
663
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
664
|
+
fields?: {
|
|
665
|
+
path: string;
|
|
666
|
+
label?: string | undefined;
|
|
667
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
668
|
+
}[] | undefined;
|
|
669
|
+
} | undefined;
|
|
651
670
|
visible?: {
|
|
652
671
|
dialect: "cel" | "js" | "cron" | "template";
|
|
653
672
|
source?: string | undefined;
|
|
@@ -5461,6 +5480,14 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
5461
5480
|
} | undefined;
|
|
5462
5481
|
recordTypes?: string[] | undefined;
|
|
5463
5482
|
sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
|
|
5483
|
+
publicSharing?: {
|
|
5484
|
+
enabled: boolean;
|
|
5485
|
+
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
5486
|
+
allowedPermissions?: ("edit" | "view" | "comment")[] | undefined;
|
|
5487
|
+
maxExpiryDays?: number | undefined;
|
|
5488
|
+
redactFields?: string[] | undefined;
|
|
5489
|
+
eligibility?: string | undefined;
|
|
5490
|
+
} | undefined;
|
|
5464
5491
|
keyPrefix?: string | undefined;
|
|
5465
5492
|
detail?: {
|
|
5466
5493
|
[x: string]: unknown;
|
|
@@ -5475,7 +5502,7 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
5475
5502
|
refreshAfter: boolean;
|
|
5476
5503
|
objectName?: string | undefined;
|
|
5477
5504
|
icon?: string | undefined;
|
|
5478
|
-
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
|
|
5505
|
+
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
|
|
5479
5506
|
component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
|
|
5480
5507
|
target?: string | undefined;
|
|
5481
5508
|
body?: {
|
|
@@ -5508,6 +5535,17 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
5508
5535
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
5509
5536
|
confirmText?: string | undefined;
|
|
5510
5537
|
successMessage?: string | undefined;
|
|
5538
|
+
resultDialog?: {
|
|
5539
|
+
title?: string | undefined;
|
|
5540
|
+
description?: string | undefined;
|
|
5541
|
+
acknowledge?: string | undefined;
|
|
5542
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
5543
|
+
fields?: {
|
|
5544
|
+
path: string;
|
|
5545
|
+
label?: string | undefined;
|
|
5546
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
5547
|
+
}[] | undefined;
|
|
5548
|
+
} | undefined;
|
|
5511
5549
|
visible?: {
|
|
5512
5550
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5513
5551
|
source?: string | undefined;
|
package/dist/metadata/index.d.ts
CHANGED
|
@@ -601,6 +601,14 @@ declare const SysMetadataObject: Omit<{
|
|
|
601
601
|
} | undefined;
|
|
602
602
|
recordTypes?: string[] | undefined;
|
|
603
603
|
sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
|
|
604
|
+
publicSharing?: {
|
|
605
|
+
enabled: boolean;
|
|
606
|
+
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
607
|
+
allowedPermissions?: ("edit" | "view" | "comment")[] | undefined;
|
|
608
|
+
maxExpiryDays?: number | undefined;
|
|
609
|
+
redactFields?: string[] | undefined;
|
|
610
|
+
eligibility?: string | undefined;
|
|
611
|
+
} | undefined;
|
|
604
612
|
keyPrefix?: string | undefined;
|
|
605
613
|
detail?: {
|
|
606
614
|
[x: string]: unknown;
|
|
@@ -615,7 +623,7 @@ declare const SysMetadataObject: Omit<{
|
|
|
615
623
|
refreshAfter: boolean;
|
|
616
624
|
objectName?: string | undefined;
|
|
617
625
|
icon?: string | undefined;
|
|
618
|
-
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
|
|
626
|
+
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
|
|
619
627
|
component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
|
|
620
628
|
target?: string | undefined;
|
|
621
629
|
body?: {
|
|
@@ -648,6 +656,17 @@ declare const SysMetadataObject: Omit<{
|
|
|
648
656
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
649
657
|
confirmText?: string | undefined;
|
|
650
658
|
successMessage?: string | undefined;
|
|
659
|
+
resultDialog?: {
|
|
660
|
+
title?: string | undefined;
|
|
661
|
+
description?: string | undefined;
|
|
662
|
+
acknowledge?: string | undefined;
|
|
663
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
664
|
+
fields?: {
|
|
665
|
+
path: string;
|
|
666
|
+
label?: string | undefined;
|
|
667
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
668
|
+
}[] | undefined;
|
|
669
|
+
} | undefined;
|
|
651
670
|
visible?: {
|
|
652
671
|
dialect: "cel" | "js" | "cron" | "template";
|
|
653
672
|
source?: string | undefined;
|
|
@@ -5461,6 +5480,14 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
5461
5480
|
} | undefined;
|
|
5462
5481
|
recordTypes?: string[] | undefined;
|
|
5463
5482
|
sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
|
|
5483
|
+
publicSharing?: {
|
|
5484
|
+
enabled: boolean;
|
|
5485
|
+
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
5486
|
+
allowedPermissions?: ("edit" | "view" | "comment")[] | undefined;
|
|
5487
|
+
maxExpiryDays?: number | undefined;
|
|
5488
|
+
redactFields?: string[] | undefined;
|
|
5489
|
+
eligibility?: string | undefined;
|
|
5490
|
+
} | undefined;
|
|
5464
5491
|
keyPrefix?: string | undefined;
|
|
5465
5492
|
detail?: {
|
|
5466
5493
|
[x: string]: unknown;
|
|
@@ -5475,7 +5502,7 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
5475
5502
|
refreshAfter: boolean;
|
|
5476
5503
|
objectName?: string | undefined;
|
|
5477
5504
|
icon?: string | undefined;
|
|
5478
|
-
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
|
|
5505
|
+
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
|
|
5479
5506
|
component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
|
|
5480
5507
|
target?: string | undefined;
|
|
5481
5508
|
body?: {
|
|
@@ -5508,6 +5535,17 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
5508
5535
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
5509
5536
|
confirmText?: string | undefined;
|
|
5510
5537
|
successMessage?: string | undefined;
|
|
5538
|
+
resultDialog?: {
|
|
5539
|
+
title?: string | undefined;
|
|
5540
|
+
description?: string | undefined;
|
|
5541
|
+
acknowledge?: string | undefined;
|
|
5542
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
5543
|
+
fields?: {
|
|
5544
|
+
path: string;
|
|
5545
|
+
label?: string | undefined;
|
|
5546
|
+
format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
|
|
5547
|
+
}[] | undefined;
|
|
5548
|
+
} | undefined;
|
|
5511
5549
|
visible?: {
|
|
5512
5550
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5513
5551
|
source?: string | undefined;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TranslationBundle } from '@objectstack/spec/system';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* `MetadataFormsTranslations`
|
|
5
|
+
*
|
|
6
|
+
* Platform-default i18n bundle for the metadata-type configuration forms
|
|
7
|
+
* (object / field / agent / flow / view / …) shipped from `@objectstack/spec`.
|
|
8
|
+
*
|
|
9
|
+
* Single source of truth: the `*.metadata-forms.generated.ts` files in
|
|
10
|
+
* `apps/translations/`. Edit the generated files directly — they are
|
|
11
|
+
* hand-editable. Re-running
|
|
12
|
+
*
|
|
13
|
+
* pnpm --filter @objectstack/platform-objects i18n:extract
|
|
14
|
+
*
|
|
15
|
+
* preserves existing translations (via `--merge`) and only fills newly
|
|
16
|
+
* added schema keys per `--fill=default`.
|
|
17
|
+
*/
|
|
18
|
+
declare const MetadataFormsTranslations: TranslationBundle;
|
|
19
|
+
|
|
20
|
+
export { MetadataFormsTranslations };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TranslationBundle } from '@objectstack/spec/system';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* `MetadataFormsTranslations`
|
|
5
|
+
*
|
|
6
|
+
* Platform-default i18n bundle for the metadata-type configuration forms
|
|
7
|
+
* (object / field / agent / flow / view / …) shipped from `@objectstack/spec`.
|
|
8
|
+
*
|
|
9
|
+
* Single source of truth: the `*.metadata-forms.generated.ts` files in
|
|
10
|
+
* `apps/translations/`. Edit the generated files directly — they are
|
|
11
|
+
* hand-editable. Re-running
|
|
12
|
+
*
|
|
13
|
+
* pnpm --filter @objectstack/platform-objects i18n:extract
|
|
14
|
+
*
|
|
15
|
+
* preserves existing translations (via `--merge`) and only fills newly
|
|
16
|
+
* added schema keys per `--fill=default`.
|
|
17
|
+
*/
|
|
18
|
+
declare const MetadataFormsTranslations: TranslationBundle;
|
|
19
|
+
|
|
20
|
+
export { MetadataFormsTranslations };
|