@objectstack/service-feed 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/index.d.cts CHANGED
@@ -740,6 +740,14 @@ declare const FeedItem: Omit<{
740
740
  } | undefined;
741
741
  recordTypes?: string[] | undefined;
742
742
  sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
743
+ publicSharing?: {
744
+ enabled: boolean;
745
+ allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
746
+ allowedPermissions?: ("comment" | "edit" | "view")[] | undefined;
747
+ maxExpiryDays?: number | undefined;
748
+ redactFields?: string[] | undefined;
749
+ eligibility?: string | undefined;
750
+ } | undefined;
743
751
  keyPrefix?: string | undefined;
744
752
  detail?: {
745
753
  [x: string]: unknown;
@@ -754,7 +762,7 @@ declare const FeedItem: Omit<{
754
762
  refreshAfter: boolean;
755
763
  objectName?: string | undefined;
756
764
  icon?: string | undefined;
757
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
765
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
758
766
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
759
767
  target?: string | undefined;
760
768
  body?: {
@@ -787,6 +795,17 @@ declare const FeedItem: Omit<{
787
795
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
788
796
  confirmText?: string | undefined;
789
797
  successMessage?: string | undefined;
798
+ resultDialog?: {
799
+ title?: string | undefined;
800
+ description?: string | undefined;
801
+ acknowledge?: string | undefined;
802
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
803
+ fields?: {
804
+ path: string;
805
+ label?: string | undefined;
806
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
807
+ }[] | undefined;
808
+ } | undefined;
790
809
  visible?: {
791
810
  dialect: "cel" | "js" | "cron" | "template";
792
811
  source?: string | undefined;
@@ -4776,6 +4795,14 @@ declare const FeedReaction: Omit<{
4776
4795
  } | undefined;
4777
4796
  recordTypes?: string[] | undefined;
4778
4797
  sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
4798
+ publicSharing?: {
4799
+ enabled: boolean;
4800
+ allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
4801
+ allowedPermissions?: ("comment" | "edit" | "view")[] | undefined;
4802
+ maxExpiryDays?: number | undefined;
4803
+ redactFields?: string[] | undefined;
4804
+ eligibility?: string | undefined;
4805
+ } | undefined;
4779
4806
  keyPrefix?: string | undefined;
4780
4807
  detail?: {
4781
4808
  [x: string]: unknown;
@@ -4790,7 +4817,7 @@ declare const FeedReaction: Omit<{
4790
4817
  refreshAfter: boolean;
4791
4818
  objectName?: string | undefined;
4792
4819
  icon?: string | undefined;
4793
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
4820
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
4794
4821
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
4795
4822
  target?: string | undefined;
4796
4823
  body?: {
@@ -4823,6 +4850,17 @@ declare const FeedReaction: Omit<{
4823
4850
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
4824
4851
  confirmText?: string | undefined;
4825
4852
  successMessage?: string | undefined;
4853
+ resultDialog?: {
4854
+ title?: string | undefined;
4855
+ description?: string | undefined;
4856
+ acknowledge?: string | undefined;
4857
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
4858
+ fields?: {
4859
+ path: string;
4860
+ label?: string | undefined;
4861
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
4862
+ }[] | undefined;
4863
+ } | undefined;
4826
4864
  visible?: {
4827
4865
  dialect: "cel" | "js" | "cron" | "template";
4828
4866
  source?: string | undefined;
@@ -6359,6 +6397,14 @@ declare const RecordSubscription: Omit<{
6359
6397
  } | undefined;
6360
6398
  recordTypes?: string[] | undefined;
6361
6399
  sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
6400
+ publicSharing?: {
6401
+ enabled: boolean;
6402
+ allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
6403
+ allowedPermissions?: ("comment" | "edit" | "view")[] | undefined;
6404
+ maxExpiryDays?: number | undefined;
6405
+ redactFields?: string[] | undefined;
6406
+ eligibility?: string | undefined;
6407
+ } | undefined;
6362
6408
  keyPrefix?: string | undefined;
6363
6409
  detail?: {
6364
6410
  [x: string]: unknown;
@@ -6373,7 +6419,7 @@ declare const RecordSubscription: Omit<{
6373
6419
  refreshAfter: boolean;
6374
6420
  objectName?: string | undefined;
6375
6421
  icon?: string | undefined;
6376
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
6422
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
6377
6423
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
6378
6424
  target?: string | undefined;
6379
6425
  body?: {
@@ -6406,6 +6452,17 @@ declare const RecordSubscription: Omit<{
6406
6452
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
6407
6453
  confirmText?: string | undefined;
6408
6454
  successMessage?: string | undefined;
6455
+ resultDialog?: {
6456
+ title?: string | undefined;
6457
+ description?: string | undefined;
6458
+ acknowledge?: string | undefined;
6459
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
6460
+ fields?: {
6461
+ path: string;
6462
+ label?: string | undefined;
6463
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
6464
+ }[] | undefined;
6465
+ } | undefined;
6409
6466
  visible?: {
6410
6467
  dialect: "cel" | "js" | "cron" | "template";
6411
6468
  source?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -740,6 +740,14 @@ declare const FeedItem: Omit<{
740
740
  } | undefined;
741
741
  recordTypes?: string[] | undefined;
742
742
  sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
743
+ publicSharing?: {
744
+ enabled: boolean;
745
+ allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
746
+ allowedPermissions?: ("comment" | "edit" | "view")[] | undefined;
747
+ maxExpiryDays?: number | undefined;
748
+ redactFields?: string[] | undefined;
749
+ eligibility?: string | undefined;
750
+ } | undefined;
743
751
  keyPrefix?: string | undefined;
744
752
  detail?: {
745
753
  [x: string]: unknown;
@@ -754,7 +762,7 @@ declare const FeedItem: Omit<{
754
762
  refreshAfter: boolean;
755
763
  objectName?: string | undefined;
756
764
  icon?: string | undefined;
757
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
765
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
758
766
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
759
767
  target?: string | undefined;
760
768
  body?: {
@@ -787,6 +795,17 @@ declare const FeedItem: Omit<{
787
795
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
788
796
  confirmText?: string | undefined;
789
797
  successMessage?: string | undefined;
798
+ resultDialog?: {
799
+ title?: string | undefined;
800
+ description?: string | undefined;
801
+ acknowledge?: string | undefined;
802
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
803
+ fields?: {
804
+ path: string;
805
+ label?: string | undefined;
806
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
807
+ }[] | undefined;
808
+ } | undefined;
790
809
  visible?: {
791
810
  dialect: "cel" | "js" | "cron" | "template";
792
811
  source?: string | undefined;
@@ -4776,6 +4795,14 @@ declare const FeedReaction: Omit<{
4776
4795
  } | undefined;
4777
4796
  recordTypes?: string[] | undefined;
4778
4797
  sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
4798
+ publicSharing?: {
4799
+ enabled: boolean;
4800
+ allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
4801
+ allowedPermissions?: ("comment" | "edit" | "view")[] | undefined;
4802
+ maxExpiryDays?: number | undefined;
4803
+ redactFields?: string[] | undefined;
4804
+ eligibility?: string | undefined;
4805
+ } | undefined;
4779
4806
  keyPrefix?: string | undefined;
4780
4807
  detail?: {
4781
4808
  [x: string]: unknown;
@@ -4790,7 +4817,7 @@ declare const FeedReaction: Omit<{
4790
4817
  refreshAfter: boolean;
4791
4818
  objectName?: string | undefined;
4792
4819
  icon?: string | undefined;
4793
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
4820
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
4794
4821
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
4795
4822
  target?: string | undefined;
4796
4823
  body?: {
@@ -4823,6 +4850,17 @@ declare const FeedReaction: Omit<{
4823
4850
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
4824
4851
  confirmText?: string | undefined;
4825
4852
  successMessage?: string | undefined;
4853
+ resultDialog?: {
4854
+ title?: string | undefined;
4855
+ description?: string | undefined;
4856
+ acknowledge?: string | undefined;
4857
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
4858
+ fields?: {
4859
+ path: string;
4860
+ label?: string | undefined;
4861
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
4862
+ }[] | undefined;
4863
+ } | undefined;
4826
4864
  visible?: {
4827
4865
  dialect: "cel" | "js" | "cron" | "template";
4828
4866
  source?: string | undefined;
@@ -6359,6 +6397,14 @@ declare const RecordSubscription: Omit<{
6359
6397
  } | undefined;
6360
6398
  recordTypes?: string[] | undefined;
6361
6399
  sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
6400
+ publicSharing?: {
6401
+ enabled: boolean;
6402
+ allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
6403
+ allowedPermissions?: ("comment" | "edit" | "view")[] | undefined;
6404
+ maxExpiryDays?: number | undefined;
6405
+ redactFields?: string[] | undefined;
6406
+ eligibility?: string | undefined;
6407
+ } | undefined;
6362
6408
  keyPrefix?: string | undefined;
6363
6409
  detail?: {
6364
6410
  [x: string]: unknown;
@@ -6373,7 +6419,7 @@ declare const RecordSubscription: Omit<{
6373
6419
  refreshAfter: boolean;
6374
6420
  objectName?: string | undefined;
6375
6421
  icon?: string | undefined;
6376
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
6422
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
6377
6423
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
6378
6424
  target?: string | undefined;
6379
6425
  body?: {
@@ -6406,6 +6452,17 @@ declare const RecordSubscription: Omit<{
6406
6452
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
6407
6453
  confirmText?: string | undefined;
6408
6454
  successMessage?: string | undefined;
6455
+ resultDialog?: {
6456
+ title?: string | undefined;
6457
+ description?: string | undefined;
6458
+ acknowledge?: string | undefined;
6459
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
6460
+ fields?: {
6461
+ path: string;
6462
+ label?: string | undefined;
6463
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
6464
+ }[] | undefined;
6465
+ } | undefined;
6409
6466
  visible?: {
6410
6467
  dialect: "cel" | "js" | "cron" | "template";
6411
6468
  source?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/service-feed",
3
- "version": "6.8.1",
3
+ "version": "7.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Feed/Chatter Service for ObjectStack — implements IFeedService with in-memory adapter for comments, reactions, field changes, and record subscriptions",
6
6
  "type": "module",
@@ -14,8 +14,8 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@objectstack/core": "6.8.1",
18
- "@objectstack/spec": "6.8.1"
17
+ "@objectstack/core": "7.0.0",
18
+ "@objectstack/spec": "7.0.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^25.9.1",