@objectstack/service-storage 11.1.0 → 11.2.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
@@ -745,6 +745,7 @@ declare const SystemFile: Omit<{
745
745
  summary: string;
746
746
  type?: string | undefined;
747
747
  }[] | undefined;
748
+ nameField?: string | undefined;
748
749
  displayNameField?: string | undefined;
749
750
  recordName?: {
750
751
  type: "text" | "autonumber";
@@ -1217,6 +1218,7 @@ declare const SystemFile: Omit<{
1217
1218
  readonly pluralLabel: "System Files";
1218
1219
  readonly icon: "file";
1219
1220
  readonly description: "Storage service file metadata (fileId ↔ key mapping)";
1221
+ readonly nameField: "name";
1220
1222
  readonly titleFormat: "{name}";
1221
1223
  readonly compactLayout: ["name", "mime_type", "size", "status", "created_at"];
1222
1224
  readonly fields: {
@@ -3980,6 +3982,7 @@ declare const SystemUploadSession: Omit<{
3980
3982
  summary: string;
3981
3983
  type?: string | undefined;
3982
3984
  }[] | undefined;
3985
+ nameField?: string | undefined;
3983
3986
  displayNameField?: string | undefined;
3984
3987
  recordName?: {
3985
3988
  type: "text" | "autonumber";
@@ -4452,6 +4455,7 @@ declare const SystemUploadSession: Omit<{
4452
4455
  readonly pluralLabel: "System Upload Sessions";
4453
4456
  readonly icon: "upload-cloud";
4454
4457
  readonly description: "Resumable multipart upload sessions tracked by service-storage";
4458
+ readonly nameField: "filename";
4455
4459
  readonly titleFormat: "{filename}";
4456
4460
  readonly compactLayout: ["filename", "status", "uploaded_chunks", "total_chunks", "expires_at"];
4457
4461
  readonly fields: {
package/dist/index.d.ts CHANGED
@@ -745,6 +745,7 @@ declare const SystemFile: Omit<{
745
745
  summary: string;
746
746
  type?: string | undefined;
747
747
  }[] | undefined;
748
+ nameField?: string | undefined;
748
749
  displayNameField?: string | undefined;
749
750
  recordName?: {
750
751
  type: "text" | "autonumber";
@@ -1217,6 +1218,7 @@ declare const SystemFile: Omit<{
1217
1218
  readonly pluralLabel: "System Files";
1218
1219
  readonly icon: "file";
1219
1220
  readonly description: "Storage service file metadata (fileId ↔ key mapping)";
1221
+ readonly nameField: "name";
1220
1222
  readonly titleFormat: "{name}";
1221
1223
  readonly compactLayout: ["name", "mime_type", "size", "status", "created_at"];
1222
1224
  readonly fields: {
@@ -3980,6 +3982,7 @@ declare const SystemUploadSession: Omit<{
3980
3982
  summary: string;
3981
3983
  type?: string | undefined;
3982
3984
  }[] | undefined;
3985
+ nameField?: string | undefined;
3983
3986
  displayNameField?: string | undefined;
3984
3987
  recordName?: {
3985
3988
  type: "text" | "autonumber";
@@ -4452,6 +4455,7 @@ declare const SystemUploadSession: Omit<{
4452
4455
  readonly pluralLabel: "System Upload Sessions";
4453
4456
  readonly icon: "upload-cloud";
4454
4457
  readonly description: "Resumable multipart upload sessions tracked by service-storage";
4458
+ readonly nameField: "filename";
4455
4459
  readonly titleFormat: "{filename}";
4456
4460
  readonly compactLayout: ["filename", "status", "uploaded_chunks", "total_chunks", "expires_at"];
4457
4461
  readonly fields: {
package/dist/index.js CHANGED
@@ -1060,6 +1060,8 @@ var SystemFile = ObjectSchema.create({
1060
1060
  pluralLabel: "System Files",
1061
1061
  icon: "file",
1062
1062
  description: "Storage service file metadata (fileId \u2194 key mapping)",
1063
+ nameField: "name",
1064
+ // [ADR-0079] canonical primary-title pointer (single-field titleFormat)
1063
1065
  titleFormat: "{name}",
1064
1066
  compactLayout: ["name", "mime_type", "size", "status", "created_at"],
1065
1067
  fields: {
@@ -1139,6 +1141,8 @@ var SystemUploadSession = ObjectSchema2.create({
1139
1141
  pluralLabel: "System Upload Sessions",
1140
1142
  icon: "upload-cloud",
1141
1143
  description: "Resumable multipart upload sessions tracked by service-storage",
1144
+ nameField: "filename",
1145
+ // [ADR-0079] canonical primary-title pointer (single-field titleFormat)
1142
1146
  titleFormat: "{filename}",
1143
1147
  compactLayout: ["filename", "status", "uploaded_chunks", "total_chunks", "expires_at"],
1144
1148
  fields: {