@objectstack/service-storage 7.1.0 → 7.2.1

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
@@ -669,6 +669,13 @@ declare const SystemFile: Omit<{
669
669
  caseSensitive?: boolean | undefined;
670
670
  autonumberFormat?: string | undefined;
671
671
  }>;
672
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
673
+ _lockReason?: string | undefined;
674
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
675
+ _provenance?: "package" | "env-forced" | "org" | undefined;
676
+ _packageId?: string | undefined;
677
+ _packageVersion?: string | undefined;
678
+ _lockDocsUrl?: string | undefined;
672
679
  label?: string | undefined;
673
680
  pluralLabel?: string | undefined;
674
681
  description?: string | undefined;
@@ -863,7 +870,7 @@ declare const SystemFile: Omit<{
863
870
  bordered?: boolean | undefined;
864
871
  compactToolbar?: boolean | undefined;
865
872
  selection?: {
866
- type: "multiple" | "single" | "none";
873
+ type: "none" | "multiple" | "single";
867
874
  } | undefined;
868
875
  navigation?: {
869
876
  mode: "split" | "none" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -1058,7 +1065,7 @@ declare const SystemFile: Omit<{
1058
1065
  apiMethods?: ("get" | "delete" | "list" | "search" | "upsert" | "create" | "import" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
1059
1066
  } | undefined;
1060
1067
  recordTypes?: string[] | undefined;
1061
- sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
1068
+ sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
1062
1069
  publicSharing?: {
1063
1070
  enabled: boolean;
1064
1071
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -1161,6 +1168,11 @@ declare const SystemFile: Omit<{
1161
1168
  role?: string | undefined;
1162
1169
  } | undefined;
1163
1170
  }[] | undefined;
1171
+ protection?: {
1172
+ lock: "full" | "none" | "no-overlay" | "no-delete";
1173
+ reason: string;
1174
+ docsUrl?: string | undefined;
1175
+ } | undefined;
1164
1176
  }, "fields"> & Pick<{
1165
1177
  readonly name: "sys_file";
1166
1178
  readonly label: "System File";
@@ -3829,6 +3841,13 @@ declare const SystemUploadSession: Omit<{
3829
3841
  caseSensitive?: boolean | undefined;
3830
3842
  autonumberFormat?: string | undefined;
3831
3843
  }>;
3844
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
3845
+ _lockReason?: string | undefined;
3846
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
3847
+ _provenance?: "package" | "env-forced" | "org" | undefined;
3848
+ _packageId?: string | undefined;
3849
+ _packageVersion?: string | undefined;
3850
+ _lockDocsUrl?: string | undefined;
3832
3851
  label?: string | undefined;
3833
3852
  pluralLabel?: string | undefined;
3834
3853
  description?: string | undefined;
@@ -4023,7 +4042,7 @@ declare const SystemUploadSession: Omit<{
4023
4042
  bordered?: boolean | undefined;
4024
4043
  compactToolbar?: boolean | undefined;
4025
4044
  selection?: {
4026
- type: "multiple" | "single" | "none";
4045
+ type: "none" | "multiple" | "single";
4027
4046
  } | undefined;
4028
4047
  navigation?: {
4029
4048
  mode: "split" | "none" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -4218,7 +4237,7 @@ declare const SystemUploadSession: Omit<{
4218
4237
  apiMethods?: ("get" | "delete" | "list" | "search" | "upsert" | "create" | "import" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
4219
4238
  } | undefined;
4220
4239
  recordTypes?: string[] | undefined;
4221
- sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
4240
+ sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
4222
4241
  publicSharing?: {
4223
4242
  enabled: boolean;
4224
4243
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -4321,6 +4340,11 @@ declare const SystemUploadSession: Omit<{
4321
4340
  role?: string | undefined;
4322
4341
  } | undefined;
4323
4342
  }[] | undefined;
4343
+ protection?: {
4344
+ lock: "full" | "none" | "no-overlay" | "no-delete";
4345
+ reason: string;
4346
+ docsUrl?: string | undefined;
4347
+ } | undefined;
4324
4348
  }, "fields"> & Pick<{
4325
4349
  readonly name: "sys_upload_session";
4326
4350
  readonly label: "System Upload Session";
package/dist/index.d.ts CHANGED
@@ -669,6 +669,13 @@ declare const SystemFile: Omit<{
669
669
  caseSensitive?: boolean | undefined;
670
670
  autonumberFormat?: string | undefined;
671
671
  }>;
672
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
673
+ _lockReason?: string | undefined;
674
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
675
+ _provenance?: "package" | "env-forced" | "org" | undefined;
676
+ _packageId?: string | undefined;
677
+ _packageVersion?: string | undefined;
678
+ _lockDocsUrl?: string | undefined;
672
679
  label?: string | undefined;
673
680
  pluralLabel?: string | undefined;
674
681
  description?: string | undefined;
@@ -863,7 +870,7 @@ declare const SystemFile: Omit<{
863
870
  bordered?: boolean | undefined;
864
871
  compactToolbar?: boolean | undefined;
865
872
  selection?: {
866
- type: "multiple" | "single" | "none";
873
+ type: "none" | "multiple" | "single";
867
874
  } | undefined;
868
875
  navigation?: {
869
876
  mode: "split" | "none" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -1058,7 +1065,7 @@ declare const SystemFile: Omit<{
1058
1065
  apiMethods?: ("get" | "delete" | "list" | "search" | "upsert" | "create" | "import" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
1059
1066
  } | undefined;
1060
1067
  recordTypes?: string[] | undefined;
1061
- sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
1068
+ sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
1062
1069
  publicSharing?: {
1063
1070
  enabled: boolean;
1064
1071
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -1161,6 +1168,11 @@ declare const SystemFile: Omit<{
1161
1168
  role?: string | undefined;
1162
1169
  } | undefined;
1163
1170
  }[] | undefined;
1171
+ protection?: {
1172
+ lock: "full" | "none" | "no-overlay" | "no-delete";
1173
+ reason: string;
1174
+ docsUrl?: string | undefined;
1175
+ } | undefined;
1164
1176
  }, "fields"> & Pick<{
1165
1177
  readonly name: "sys_file";
1166
1178
  readonly label: "System File";
@@ -3829,6 +3841,13 @@ declare const SystemUploadSession: Omit<{
3829
3841
  caseSensitive?: boolean | undefined;
3830
3842
  autonumberFormat?: string | undefined;
3831
3843
  }>;
3844
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
3845
+ _lockReason?: string | undefined;
3846
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
3847
+ _provenance?: "package" | "env-forced" | "org" | undefined;
3848
+ _packageId?: string | undefined;
3849
+ _packageVersion?: string | undefined;
3850
+ _lockDocsUrl?: string | undefined;
3832
3851
  label?: string | undefined;
3833
3852
  pluralLabel?: string | undefined;
3834
3853
  description?: string | undefined;
@@ -4023,7 +4042,7 @@ declare const SystemUploadSession: Omit<{
4023
4042
  bordered?: boolean | undefined;
4024
4043
  compactToolbar?: boolean | undefined;
4025
4044
  selection?: {
4026
- type: "multiple" | "single" | "none";
4045
+ type: "none" | "multiple" | "single";
4027
4046
  } | undefined;
4028
4047
  navigation?: {
4029
4048
  mode: "split" | "none" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -4218,7 +4237,7 @@ declare const SystemUploadSession: Omit<{
4218
4237
  apiMethods?: ("get" | "delete" | "list" | "search" | "upsert" | "create" | "import" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
4219
4238
  } | undefined;
4220
4239
  recordTypes?: string[] | undefined;
4221
- sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
4240
+ sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
4222
4241
  publicSharing?: {
4223
4242
  enabled: boolean;
4224
4243
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -4321,6 +4340,11 @@ declare const SystemUploadSession: Omit<{
4321
4340
  role?: string | undefined;
4322
4341
  } | undefined;
4323
4342
  }[] | undefined;
4343
+ protection?: {
4344
+ lock: "full" | "none" | "no-overlay" | "no-delete";
4345
+ reason: string;
4346
+ docsUrl?: string | undefined;
4347
+ } | undefined;
4324
4348
  }, "fields"> & Pick<{
4325
4349
  readonly name: "sys_upload_session";
4326
4350
  readonly label: "System Upload Session";
package/dist/index.js CHANGED
@@ -1386,7 +1386,7 @@ var StorageServicePlugin = class {
1386
1386
  name: "Storage Service",
1387
1387
  version: "1.0.0",
1388
1388
  type: "plugin",
1389
- scope: "project",
1389
+ scope: "system",
1390
1390
  objects: [SystemFile, SystemUploadSession]
1391
1391
  });
1392
1392
  } catch {