@dereekb/firebase-server 13.11.13 → 13.11.15

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.
Files changed (102) hide show
  1. package/index.cjs.js +229 -199
  2. package/index.esm.js +230 -200
  3. package/mailgun/package.json +9 -9
  4. package/model/index.cjs.js +259 -270
  5. package/model/index.esm.js +259 -270
  6. package/model/package.json +9 -9
  7. package/model/src/lib/mailgun/notification.send.service.mailgun.d.ts +3 -3
  8. package/model/src/lib/notification/notification.action.server.d.ts +34 -34
  9. package/model/src/lib/notification/notification.action.server.init.d.ts +17 -17
  10. package/model/src/lib/notification/notification.config.service.d.ts +7 -7
  11. package/model/src/lib/notification/notification.create.run.d.ts +3 -3
  12. package/model/src/lib/notification/notification.error.d.ts +14 -14
  13. package/model/src/lib/notification/notification.expedite.service.d.ts +7 -7
  14. package/model/src/lib/notification/notification.module.d.ts +13 -13
  15. package/model/src/lib/notification/notification.send.service.notificationsummary.d.ts +2 -2
  16. package/model/src/lib/notification/notification.send.service.text.d.ts +1 -1
  17. package/model/src/lib/notification/notification.task.service.handler.d.ts +2 -2
  18. package/model/src/lib/notification/notification.task.service.util.d.ts +3 -3
  19. package/model/src/lib/notification/notification.task.subtask.handler.d.ts +3 -3
  20. package/model/src/lib/notification/notification.util.d.ts +8 -8
  21. package/model/src/lib/storagefile/storagefile.action.server.d.ts +43 -44
  22. package/model/src/lib/storagefile/storagefile.action.server.init.d.ts +11 -11
  23. package/model/src/lib/storagefile/storagefile.error.d.ts +15 -15
  24. package/model/src/lib/storagefile/storagefile.module.d.ts +10 -10
  25. package/model/src/lib/storagefile/storagefile.task.service.handler.d.ts +6 -6
  26. package/model/src/lib/storagefile/storagefile.upload.service.initializer.d.ts +5 -5
  27. package/model/src/lib/storagefile/storagefile.util.d.ts +2 -2
  28. package/oidc/index.cjs.js +219 -219
  29. package/oidc/index.esm.js +219 -219
  30. package/oidc/package.json +10 -10
  31. package/oidc/src/lib/controller/oidc.interaction.controller.d.ts +44 -25
  32. package/oidc/src/lib/controller/oidc.provider.controller.d.ts +1 -1
  33. package/oidc/src/lib/controller/oidc.wellknown.controller.d.ts +3 -3
  34. package/oidc/src/lib/middleware/oauth-cors.module.d.ts +1 -1
  35. package/oidc/src/lib/model/jwks/jwks.d.ts +6 -6
  36. package/oidc/src/lib/model/jwks/jwks.query.d.ts +5 -5
  37. package/oidc/src/lib/model/oidc/oidcmodel.action.server.d.ts +12 -12
  38. package/oidc/src/lib/model/oidc/oidcmodel.module.d.ts +5 -5
  39. package/oidc/src/lib/oidc.config.d.ts +1 -1
  40. package/oidc/src/lib/oidc.module.d.ts +8 -8
  41. package/oidc/src/lib/service/oidc.account.service.d.ts +4 -4
  42. package/oidc/src/lib/service/oidc.adapter.service.d.ts +4 -4
  43. package/oidc/src/lib/service/oidc.client.service.d.ts +3 -3
  44. package/oidc/src/lib/service/oidc.config.service.d.ts +1 -1
  45. package/oidc/src/lib/service/oidc.encryption.service.d.ts +4 -4
  46. package/oidc/src/lib/service/oidc.interaction.service.d.ts +14 -14
  47. package/oidc/src/lib/service/oidc.jwks.service.d.ts +6 -6
  48. package/oidc/src/lib/service/oidc.service.d.ts +5 -5
  49. package/package.json +10 -10
  50. package/src/lib/auth/auth.service.d.ts +8 -8
  51. package/src/lib/auth/auth.util.d.ts +1 -1
  52. package/src/lib/env/env.config.d.ts +5 -4
  53. package/src/lib/firestore/driver.accessor.batch.d.ts +2 -1
  54. package/src/lib/firestore/driver.accessor.d.ts +1 -1
  55. package/src/lib/firestore/driver.accessor.default.d.ts +2 -1
  56. package/src/lib/firestore/driver.accessor.transaction.d.ts +2 -1
  57. package/src/lib/firestore/snapshot/snapshot.field.encrypt.d.ts +10 -6
  58. package/src/lib/function/type.d.ts +4 -4
  59. package/src/lib/nest/analytics/analytics.module.d.ts +6 -5
  60. package/src/lib/nest/app.d.ts +4 -4
  61. package/src/lib/nest/app.module.d.ts +3 -2
  62. package/src/lib/nest/auth/auth.module.d.ts +4 -3
  63. package/src/lib/nest/controller/model/model.api.controller.d.ts +1 -0
  64. package/src/lib/nest/controller/model/model.api.get.service.d.ts +1 -1
  65. package/src/lib/nest/controller/model/model.api.module.d.ts +4 -3
  66. package/src/lib/nest/development/development.function.d.ts +1 -1
  67. package/src/lib/nest/development/development.schedule.function.error.d.ts +2 -2
  68. package/src/lib/nest/env/env.util.d.ts +2 -2
  69. package/src/lib/nest/firestore/firestore.module.d.ts +16 -15
  70. package/src/lib/nest/function/call.d.ts +6 -6
  71. package/src/lib/nest/function/context.d.ts +7 -6
  72. package/src/lib/nest/function/v2/blocking.d.ts +8 -6
  73. package/src/lib/nest/function/v2/call.d.ts +7 -5
  74. package/src/lib/nest/function/v2/event.d.ts +3 -2
  75. package/src/lib/nest/function/v2/schedule.d.ts +3 -2
  76. package/src/lib/nest/function/v2/taskqueue.d.ts +2 -1
  77. package/src/lib/nest/model/analytics.emit.d.ts +5 -5
  78. package/src/lib/nest/model/api.details.d.ts +4 -4
  79. package/src/lib/nest/model/query.model.function.d.ts +3 -3
  80. package/src/lib/nest/nest.provider.d.ts +7 -7
  81. package/src/lib/nest/storage/storage.module.d.ts +6 -5
  82. package/src/lib/storage/driver.accessor.d.ts +10 -10
  83. package/test/index.cjs.js +48 -57
  84. package/test/index.esm.js +48 -57
  85. package/test/package.json +11 -11
  86. package/test/src/lib/firebase/firebase.admin.auth.d.ts +18 -18
  87. package/test/src/lib/firebase/firebase.admin.collection.d.ts +7 -7
  88. package/test/src/lib/firebase/firebase.admin.d.ts +2 -2
  89. package/test/src/lib/firebase/firebase.admin.function.d.ts +2 -2
  90. package/test/src/lib/firebase/firebase.admin.nest.function.callable.context.d.ts +1 -1
  91. package/test/src/lib/firebase/firebase.admin.nest.function.cloud.context.d.ts +3 -3
  92. package/test/src/lib/firebase/firebase.d.ts +6 -5
  93. package/test/src/lib/firebase/firebase.function.d.ts +31 -31
  94. package/test/src/lib/firestore/firestore.d.ts +2 -2
  95. package/test/src/lib/oidc/oidc.test.fixture.d.ts +1 -1
  96. package/test/src/lib/oidc/oidc.test.flow.d.ts +1 -1
  97. package/test/src/lib/storage/storage.d.ts +2 -2
  98. package/zoho/index.cjs.js +2 -2
  99. package/zoho/index.esm.js +2 -2
  100. package/zoho/package.json +9 -9
  101. package/zoho/src/lib/zoho.accounts.firebase.d.ts +1 -1
  102. package/zoho/src/lib/zoho.accounts.firebase.system.d.ts +1 -1
@@ -218,8 +218,8 @@ export interface NotificationTaskSubtaskNotificationTaskHandlerConfig<I extends
218
218
  * This is the primary entry point for building complex, multi-step notification task handlers
219
219
  * such as storage file processing or other async workflows.
220
220
  *
221
- * @param factoryConfig - shared configuration including the input function, cleanup logic, and task type
222
- * @returns a factory function that produces {@link NotificationTaskServiceTaskHandlerConfig} entries
221
+ * @param factoryConfig - Shared configuration including the input function, cleanup logic, and task type.
222
+ * @returns A factory function that produces {@link NotificationTaskServiceTaskHandlerConfig} entries.
223
223
  *
224
224
  * @example
225
225
  * ```ts
@@ -251,6 +251,6 @@ export declare class NotificationTaskSubTaskMissingRequiredDataTermination exten
251
251
  /**
252
252
  * Creates a NotificationTaskSubTaskMissingRequiredDataTermination.
253
253
  *
254
- * @returns a new {@link NotificationTaskSubTaskMissingRequiredDataTermination} error instance
254
+ * @returns A new {@link NotificationTaskSubTaskMissingRequiredDataTermination} error instance.
255
255
  */
256
256
  export declare function notificationTaskSubTaskMissingRequiredDataTermination(): NotificationTaskSubTaskMissingRequiredDataTermination;
@@ -7,8 +7,8 @@ import { type E164PhoneNumber, type EmailAddress, type Maybe, type PhoneNumber,
7
7
  * Sets the creation timestamp to now, associates the summary with the given model key,
8
8
  * and initializes with an empty notifications array.
9
9
  *
10
- * @param model - the model key to associate the summary with
11
- * @returns a blank {@link NotificationSummary} with creation timestamp and empty notifications
10
+ * @param model - The model key to associate the summary with.
11
+ * @returns A blank {@link NotificationSummary} with creation timestamp and empty notifications.
12
12
  *
13
13
  * @example
14
14
  * ```ts
@@ -143,8 +143,8 @@ export interface ExpandNotificationRecipientsResult {
143
143
  *
144
144
  * Recipients are each configurable and may be defined with as little info as a single contact info, or have multiple contact info pieces associated with them.
145
145
  *
146
- * @param input - the notification, box, auth service, and recipient configuration
147
- * @returns channel-specific recipient lists (email, text, notification summary) ready for delivery
146
+ * @param input - The notification, box, auth service, and recipient configuration.
147
+ * @returns Channel-specific recipient lists (email, text, notification summary) ready for delivery.
148
148
  */
149
149
  export declare function expandNotificationRecipients(input: ExpandNotificationRecipientsInput): Promise<ExpandNotificationRecipientsResult>;
150
150
  /**
@@ -199,9 +199,9 @@ export interface UpdateNotificationUserNotificationBoxRecipientConfigResult {
199
199
  *
200
200
  * Also re-applies send exclusions to the updated config array.
201
201
  *
202
- * @param input - the current state and intended change
203
- * @returns the updated box config array and notification box recipient, if changes occurred
204
- * @throws notificationUserBlockedFromBeingAddedToRecipientsError when inserting a blocked user
205
- * @throws notificationUserLockedConfigFromBeingUpdatedError when updating a locked user's config
202
+ * @param input - The current state and intended change.
203
+ * @returns The updated box config array and notification box recipient, if changes occurred.
204
+ * @throws {Error} NotificationUserBlockedFromBeingAddedToRecipientsError when inserting a blocked user.
205
+ * @throws {Error} NotificationUserLockedConfigFromBeingUpdatedError when updating a locked user's config.
206
206
  */
207
207
  export declare function updateNotificationUserNotificationBoxRecipientConfig(input: UpdateNotificationUserNotificationBoxRecipientConfigInput): UpdateNotificationUserNotificationBoxRecipientConfigResult;
@@ -65,10 +65,9 @@ export declare abstract class StorageFileServerActions {
65
65
  * Creates a concrete {@link StorageFileServerActions} implementation by wiring each action
66
66
  * to its factory function using the provided context.
67
67
  *
68
- * @param context - the fully assembled storage file server actions context
69
- *
70
- * @param context - the fully assembled storage file server actions context
71
- * @returns a concrete {@link StorageFileServerActions} with all action methods wired to their factories
68
+ * @param context - The fully assembled storage file server actions context.
69
+ * @param context - The fully assembled storage file server actions context.
70
+ * @returns A concrete {@link StorageFileServerActions} with all action methods wired to their factories.
72
71
  *
73
72
  * @example
74
73
  * ```ts
@@ -83,8 +82,8 @@ export declare function storageFileServerActions(context: StorageFileServerActio
83
82
  *
84
83
  * Creates a new {@link StorageFile} document using the provided template data.
85
84
  *
86
- * @param context - the base server actions context providing Firestore and storage access
87
- * @returns an async transform-and-validate function that creates a StorageFile document
85
+ * @param context - The base server actions context providing Firestore and storage access.
86
+ * @returns An async transform-and-validate function that creates a StorageFile document.
88
87
  */
89
88
  export declare function createStorageFileFactory(context: BaseStorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<CreateStorageFileParams, () => Promise<StorageFileDocument>, object, unknown>;
90
89
  /**
@@ -94,8 +93,8 @@ export declare function createStorageFileFactory(context: BaseStorageFileServerA
94
93
  * initializes each one via the upload service, and cleans up the source upload
95
94
  * on success. Failed initializations are logged but do not halt the batch.
96
95
  *
97
- * @param context - the storage file server actions context with storage service and upload initialization
98
- * @returns an async transform-and-validate function that returns batch initialization results
96
+ * @param context - The storage file server actions context with storage service and upload initialization.
97
+ * @returns An async transform-and-validate function that returns batch initialization results.
99
98
  */
100
99
  export declare function initializeAllStorageFilesFromUploadsFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<InitializeAllStorageFilesFromUploadsParams, () => Promise<InitializeAllStorageFilesFromUploadsResult>, object, unknown>;
101
100
  export interface InitializeStorageFileFromUploadFileInput {
@@ -113,8 +112,8 @@ export interface InitializeStorageFileFromUploadFileInput {
113
112
  * Validates the file exists and is allowed, runs the upload initializer, deletes the upload source
114
113
  * on success, and optionally expedites processing of the created storage file.
115
114
  *
116
- * @param context - the storage file server actions context
117
- * @returns an async function that accepts an upload file input and returns the created StorageFileDocument
115
+ * @param context - The storage file server actions context.
116
+ * @returns An async function that accepts an upload file input and returns the created StorageFileDocument.
118
117
  */
119
118
  export declare function _initializeStorageFileFromUploadFileFactory(context: StorageFileServerActionsContext): (input: InitializeStorageFileFromUploadFileInput) => Promise<StorageFileDocument>;
120
119
  /**
@@ -124,8 +123,8 @@ export declare function _initializeStorageFileFromUploadFileFactory(context: Sto
124
123
  * Validates the file exists and is allowed, runs the type determiner and initializer,
125
124
  * then cleans up the upload source on success.
126
125
  *
127
- * @param context - the storage file server actions context with storage and upload services
128
- * @returns an async transform-and-validate function that creates a StorageFile from an upload
126
+ * @param context - The storage file server actions context with storage and upload services.
127
+ * @returns An async transform-and-validate function that creates a StorageFile from an upload.
129
128
  */
130
129
  export declare function initializeStorageFileFromUploadFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<InitializeStorageFileFromUploadParams, () => Promise<StorageFileDocument>, object, unknown>;
131
130
  /**
@@ -133,8 +132,8 @@ export declare function initializeStorageFileFromUploadFactory(context: StorageF
133
132
  *
134
133
  * Updates an existing {@link StorageFile} document with the provided schedule-delete-at time.
135
134
  *
136
- * @param context - the base server actions context providing Firestore access
137
- * @returns an async transform-and-validate function that updates a StorageFile document
135
+ * @param context - The base server actions context providing Firestore access.
136
+ * @returns An async transform-and-validate function that updates a StorageFile document.
138
137
  */
139
138
  export declare function updateStorageFileFactory(context: BaseStorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<UpdateStorageFileParams, (storageFileDocument: StorageFileDocument) => Promise<StorageFileDocument>, object, unknown>;
140
139
  /**
@@ -143,8 +142,8 @@ export declare function updateStorageFileFactory(context: BaseStorageFileServerA
143
142
  * Updates embedded file entries within a {@link StorageFileGroup} document inside a
144
143
  * Firestore transaction, merging display name changes into the existing entries.
145
144
  *
146
- * @param context - the storage file server actions context
147
- * @returns an async transform-and-validate function that updates a StorageFileGroup document
145
+ * @param context - The storage file server actions context.
146
+ * @returns An async transform-and-validate function that updates a StorageFileGroup document.
148
147
  */
149
148
  export declare function updateStorageFileGroupFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<UpdateStorageFileGroupParams, (storageFileGroupDocument: StorageFileGroupDocument) => Promise<StorageFileGroupDocument>, object, unknown>;
150
149
  /**
@@ -154,8 +153,8 @@ export declare function updateStorageFileGroupFactory(context: StorageFileServer
154
153
  * processing notification task for each file and optionally expedites delivery.
155
154
  * Handles stuck-processing detection with a throttle check.
156
155
  *
157
- * @param context - the storage file server actions context
158
- * @returns an async transform-and-validate function that returns batch processing results
156
+ * @param context - The storage file server actions context.
157
+ * @returns An async transform-and-validate function that returns batch processing results.
159
158
  */
160
159
  export declare function processAllQueuedStorageFilesFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<ProcessAllQueuedStorageFilesParams, () => Promise<ProcessAllQueuedStorageFilesResult>, object, unknown>;
161
160
  export interface ProcessStorageFileInTransactionInput {
@@ -182,8 +181,8 @@ export interface ProcessStorageFileInTransactionInput {
182
181
  * Creates or restarts a notification task for the file based on its current processing state,
183
182
  * handling stuck-processing detection, forced restarts, and re-processing of already-successful files.
184
183
  *
185
- * @param context - the storage file server actions context
186
- * @returns an async function that processes a storage file within a transaction
184
+ * @param context - The storage file server actions context.
185
+ * @returns An async function that processes a storage file within a transaction.
187
186
  */
188
187
  export declare function _processStorageFileInTransactionFactory(context: StorageFileServerActionsContext): (input: ProcessStorageFileInTransactionInput, transaction: Transaction) => Promise<void>;
189
188
  /**
@@ -192,8 +191,8 @@ export declare function _processStorageFileInTransactionFactory(context: Storage
192
191
  * Processes a single {@link StorageFile} by creating a notification task for it
193
192
  * and marking it as processing. Validates the file is in a valid state for processing.
194
193
  *
195
- * @param context - the storage file server actions context
196
- * @returns an async transform-and-validate function that processes a single StorageFile
194
+ * @param context - The storage file server actions context.
195
+ * @returns An async transform-and-validate function that processes a single StorageFile.
197
196
  */
198
197
  export declare function processStorageFileFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<ProcessStorageFileParams, (storageFileDocument: StorageFileDocument) => Promise<ProcessStorageFileResult>, object, unknown>;
199
198
  /**
@@ -203,8 +202,8 @@ export declare function processStorageFileFactory(context: StorageFileServerActi
203
202
  * scheduled delete time has passed. Removes both the Firestore document and
204
203
  * the associated file in Cloud Storage.
205
204
  *
206
- * @param context - the storage file server actions context
207
- * @returns an async transform-and-validate function that returns batch deletion results
205
+ * @param context - The storage file server actions context.
206
+ * @returns An async transform-and-validate function that returns batch deletion results.
208
207
  */
209
208
  export declare function deleteAllQueuedStorageFilesFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<DeleteAllQueuedStorageFilesParams, () => Promise<DeleteAllQueuedStorageFilesResult>, object, unknown>;
210
209
  /**
@@ -213,8 +212,8 @@ export declare function deleteAllQueuedStorageFilesFactory(context: StorageFileS
213
212
  * Deletes a single {@link StorageFile} document and its associated Cloud Storage file.
214
213
  * Validates the file is flagged for deletion and the scheduled delete time has passed.
215
214
  *
216
- * @param context - the storage file server actions context
217
- * @returns an async transform-and-validate function that deletes a StorageFile and its storage object
215
+ * @param context - The storage file server actions context.
216
+ * @returns An async transform-and-validate function that deletes a StorageFile and its storage object.
218
217
  */
219
218
  export declare function deleteStorageFileFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<DeleteStorageFileParams, (inputStorageFileDocument: StorageFileDocument) => Promise<void>, object, unknown>;
220
219
  /**
@@ -267,8 +266,8 @@ export declare const DEFAULT_DOWNLOAD_MULTIPLE_STORAGE_FILES_MAX_PARALLEL_TASKS
267
266
  * Generates a signed download URL for a {@link StorageFile}'s associated Cloud Storage file.
268
267
  * Delegates to {@link _downloadMultipleStorageFilesFactory} with a single item and `throwOnFirstError: true`.
269
268
  *
270
- * @param context - the storage file server actions context
271
- * @returns an async transform-and-validate function that generates a signed download URL
269
+ * @param context - The storage file server actions context.
270
+ * @returns An async transform-and-validate function that generates a signed download URL.
272
271
  */
273
272
  export declare function downloadStorageFileFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<DownloadStorageFileParams, (storageFileDocument?: Maybe<StorageFileDocument>) => Promise<DownloadMultipleStorageFileSuccessItem>, object, unknown>;
274
273
  /**
@@ -278,8 +277,8 @@ export declare function downloadStorageFileFactory(context: StorageFileServerAct
278
277
  * By default, individual failures are collected in the errors array rather than failing the entire batch.
279
278
  * Set `throwOnFirstError` in params to throw on the first failure instead.
280
279
  *
281
- * @param context - the storage file server actions context
282
- * @returns an async transform-and-validate function that generates signed download URLs for multiple files
280
+ * @param context - The storage file server actions context.
281
+ * @returns An async transform-and-validate function that generates signed download URLs for multiple files.
283
282
  */
284
283
  export declare function downloadMultipleStorageFilesFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<DownloadMultipleStorageFilesParams, (storageFileDocuments?: Maybe<StorageFileDocument[]>) => Promise<DownloadMultipleStorageFilesResult>, object, unknown>;
285
284
  /**
@@ -308,8 +307,8 @@ export interface CreateStorageFileGroupInTransactionInput extends StorageFileGro
308
307
  * The created group is flagged for initialization (`s=true`) and uses a dummy owner key
309
308
  * that will be set during the initialization step.
310
309
  *
311
- * @param context - the storage file server actions context
312
- * @returns an async function that creates a StorageFileGroup within a transaction
310
+ * @param context - The storage file server actions context.
311
+ * @returns An async function that creates a StorageFileGroup within a transaction.
313
312
  */
314
313
  export declare function createStorageFileGroupInTransactionFactory(context: StorageFileServerActionsContext): (params: CreateStorageFileGroupInTransactionInput, transaction: Transaction) => Promise<{
315
314
  storageFileGroupTemplate: StorageFileGroup;
@@ -321,8 +320,8 @@ export declare function createStorageFileGroupInTransactionFactory(context: Stor
321
320
  * Creates a new {@link StorageFileGroup} document within a Firestore transaction,
322
321
  * associating it with a model key or storage file.
323
322
  *
324
- * @param context - the storage file server actions context
325
- * @returns an async transform-and-validate function that creates a new StorageFileGroup
323
+ * @param context - The storage file server actions context.
324
+ * @returns An async transform-and-validate function that creates a new StorageFileGroup.
326
325
  */
327
326
  export declare function createStorageFileGroupFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<CreateStorageFileGroupParams, () => Promise<StorageFileGroupDocument>, object, unknown>;
328
327
  export interface SyncStorageFileWithGroupsInTransactionInput {
@@ -353,8 +352,8 @@ export interface SyncStorageFileWithGroupsInTransactionInput {
353
352
  * Adds the storage file to groups it is missing from, removes it from groups when requested,
354
353
  * and optionally creates new groups for references that do not yet exist.
355
354
  *
356
- * @param context - the storage file server actions context
357
- * @returns an async function that syncs a storage file with its groups within a transaction
355
+ * @param context - The storage file server actions context.
356
+ * @returns An async function that syncs a storage file with its groups within a transaction.
358
357
  */
359
358
  export declare function _syncStorageFileWithGroupsInTransactionFactory(context: StorageFileServerActionsContext): (input: SyncStorageFileWithGroupsInTransactionInput, transaction: Transaction) => Promise<SyncStorageFileWithGroupsResult>;
360
359
  /**
@@ -363,8 +362,8 @@ export declare function _syncStorageFileWithGroupsInTransactionFactory(context:
363
362
  * Syncs a single {@link StorageFile}'s embedded data into its associated {@link StorageFileGroup}
364
363
  * documents and clears the sync flag on completion.
365
364
  *
366
- * @param context - the storage file server actions context
367
- * @returns an async transform-and-validate function that syncs a StorageFile with its groups
365
+ * @param context - The storage file server actions context.
366
+ * @returns An async transform-and-validate function that syncs a StorageFile with its groups.
368
367
  */
369
368
  export declare function syncStorageFileWithGroupsFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<SyncStorageFileWithGroupsParams, (storageFileDocument: StorageFileDocument) => Promise<SyncStorageFileWithGroupsResult>, object, unknown>;
370
369
  /**
@@ -374,8 +373,8 @@ export declare function syncStorageFileWithGroupsFactory(context: StorageFileSer
374
373
  * updating their associated {@link StorageFileGroup} documents and flagging
375
374
  * groups for content regeneration when changes occur.
376
375
  *
377
- * @param context - the storage file server actions context
378
- * @returns an async transform-and-validate function that returns batch sync results
376
+ * @param context - The storage file server actions context.
377
+ * @returns An async transform-and-validate function that returns batch sync results.
379
378
  */
380
379
  export declare function syncAllFlaggedStorageFilesWithGroupsFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<SyncAllFlaggedStorageFilesWithGroupsParams, () => Promise<SyncAllFlaggedStorageFilesWithGroupsResult>, object, unknown>;
381
380
  /**
@@ -384,8 +383,8 @@ export declare function syncAllFlaggedStorageFilesWithGroupsFactory(context: Sto
384
383
  * Regenerates the content of a single {@link StorageFileGroup}, including building a ZIP
385
384
  * archive from the group's embedded files and updating the group's content metadata.
386
385
  *
387
- * @param context - the storage file server actions context
388
- * @returns an async transform-and-validate function that regenerates a StorageFileGroup's content
386
+ * @param context - The storage file server actions context.
387
+ * @returns An async transform-and-validate function that regenerates a StorageFileGroup's content.
389
388
  */
390
389
  export declare function regenerateStorageFileGroupContentFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<RegenerateStorageFileGroupContentParams, (storageFileGroupDocument: StorageFileGroupDocument) => Promise<RegenerateStorageFileGroupContentResult>, object, unknown>;
391
390
  /**
@@ -394,7 +393,7 @@ export declare function regenerateStorageFileGroupContentFactory(context: Storag
394
393
  * Batch-processes all {@link StorageFileGroup} documents flagged for content regeneration,
395
394
  * rebuilding their ZIP archives and updating content metadata.
396
395
  *
397
- * @param context - the storage file server actions context
398
- * @returns an async transform-and-validate function that returns batch regeneration results
396
+ * @param context - The storage file server actions context.
397
+ * @returns An async transform-and-validate function that returns batch regeneration results.
399
398
  */
400
399
  export declare function regenerateAllFlaggedStorageFileGroupsContentFactory(context: StorageFileServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<RegenerateAllFlaggedStorageFileGroupsContentParams, () => Promise<RegenerateAllFlaggedStorageFileGroupsContentResult>, object, unknown>;
@@ -67,8 +67,8 @@ export declare abstract class StorageFileInitServerActions {
67
67
  * Creates a concrete {@link StorageFileInitServerActions} implementation by wiring each
68
68
  * initialization action to its factory function.
69
69
  *
70
- * @param context - the initialization context with template function and Firestore access
71
- * @returns a {@link StorageFileInitServerActions} wired to the provided context
70
+ * @param context - The initialization context with template function and Firestore access.
71
+ * @returns A {@link StorageFileInitServerActions} wired to the provided context.
72
72
  */
73
73
  export declare function storageFileInitServerActions(context: StorageFileInitServerActionsContext): StorageFileInitServerActions;
74
74
  /**
@@ -90,9 +90,9 @@ export interface InitializeStorageFileModelInTransactionInput<D extends Firestor
90
90
  * - Returns `null`/`undefined` → marks the model as invalid (`fi=true`)
91
91
  * - Returns `false` → deletes the document entirely
92
92
  *
93
- * @param input - the document, transaction, template function, and options
94
- * @returns an object indicating whether the document was initialized or was already initialized
95
- * @throws storageFileModelAlreadyInitializedError when `throwErrorIfAlreadyInitialized` is true
93
+ * @param input - The document, transaction, template function, and options.
94
+ * @returns An object indicating whether the document was initialized or was already initialized.
95
+ * @throws {Error} StorageFileModelAlreadyInitializedError when `throwErrorIfAlreadyInitialized` is true.
96
96
  */
97
97
  export declare function initializeStorageFileModelInTransaction<D extends FirestoreDocument<InitializedStorageFileModel>>(input: InitializeStorageFileModelInTransactionInput<D>): Promise<{
98
98
  initialized: boolean;
@@ -104,8 +104,8 @@ export declare function initializeStorageFileModelInTransaction<D extends Firest
104
104
  * Applies the app-specific template function, restricting the template to only the `o` (owner)
105
105
  * and content flag properties, and always flags the group for content regeneration.
106
106
  *
107
- * @param context - the initialization context providing collection access and the template function
108
- * @returns an async function that initializes a storage file group document within a transaction
107
+ * @param context - The initialization context providing collection access and the template function.
108
+ * @returns An async function that initializes a storage file group document within a transaction.
109
109
  */
110
110
  export declare function initializeStorageFileGroupInTransactionFactory(context: StorageFileInitServerActionsContext): (params: InitializeStorageFileModelParams, storageFileGroupDocument: StorageFileGroupDocument, transaction: Transaction) => Promise<{
111
111
  initialized: boolean;
@@ -117,8 +117,8 @@ export declare function initializeStorageFileGroupInTransactionFactory(context:
117
117
  * Wraps the in-transaction group initialization in a Firestore transaction
118
118
  * and follows the transform-and-validate pattern.
119
119
  *
120
- * @param context - the initialization context with Firestore access and template function
121
- * @returns a transform-and-validate function for single storage file group initialization
120
+ * @param context - The initialization context with Firestore access and template function.
121
+ * @returns A transform-and-validate function for single storage file group initialization.
122
122
  */
123
123
  export declare function initializeStorageFileGroupFactory(context: StorageFileInitServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<InitializeStorageFileModelParams, (storageFileGroupDocument: StorageFileGroupDocument) => Promise<StorageFileGroupDocument>, object, unknown>;
124
124
  /**
@@ -128,7 +128,7 @@ export declare function initializeStorageFileGroupFactory(context: StorageFileIn
128
128
  * initializing each in parallel (up to 5 concurrent tasks). Loops until no more
129
129
  * flagged groups are found.
130
130
  *
131
- * @param context - the initialization context with Firestore access, collection, and template function
132
- * @returns a transform-and-validate function for batch storage file group initialization
131
+ * @param context - The initialization context with Firestore access, collection, and template function.
132
+ * @returns A transform-and-validate function for batch storage file group initialization.
133
133
  */
134
134
  export declare function initializeAllApplicableStorageFileGroupsFactory(context: StorageFileInitServerActionsContext): import("@dereekb/model").TransformAndValidateFunctionResultFunction<InitializeAllApplicableStorageFileGroupsParams, () => Promise<InitializeAllApplicableStorageFileGroupsResult>, object, unknown>;
@@ -2,85 +2,85 @@ import { type UploadedFileInitializationFailedErrorData } from '@dereekb/firebas
2
2
  /**
3
3
  * Creates an error indicating that a storage file model has already been initialized.
4
4
  *
5
- * @returns a precondition-conflict HttpsError with the STORAGE_FILE_MODEL_ALREADY_INITIALIZED error code
5
+ * @returns A precondition-conflict HttpsError with the STORAGE_FILE_MODEL_ALREADY_INITIALIZED error code.
6
6
  */
7
7
  export declare function storageFileModelAlreadyInitializedError(): import("firebase-functions/https").HttpsError;
8
8
  /**
9
9
  * Creates an error indicating that the StorageFile is not flagged for group sync.
10
10
  *
11
- * @returns a precondition-conflict HttpsError with the STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC error code
11
+ * @returns A precondition-conflict HttpsError with the STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC error code.
12
12
  */
13
13
  export declare function storageFileNotFlaggedForGroupsSyncError(): import("firebase-functions/https").HttpsError;
14
14
  /**
15
15
  * Creates an error indicating that the target uploaded file does not exist in storage.
16
16
  *
17
- * @returns a precondition-conflict HttpsError with the UPLOADED_FILE_DOES_NOT_EXIST error code
17
+ * @returns A precondition-conflict HttpsError with the UPLOADED_FILE_DOES_NOT_EXIST error code.
18
18
  */
19
19
  export declare function uploadedFileDoesNotExistError(): import("firebase-functions/https").HttpsError;
20
20
  /**
21
21
  * Creates an error indicating that the file is not allowed to be initialized (rejected by the check function).
22
22
  *
23
- * @returns a precondition-conflict HttpsError with the UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED error code
23
+ * @returns A precondition-conflict HttpsError with the UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED error code.
24
24
  */
25
25
  export declare function uploadedFileIsNotAllowedToBeInitializedError(): import("firebase-functions/https").HttpsError;
26
26
  /**
27
27
  * Creates an error indicating that the file initialization failed with the given result type.
28
28
  *
29
- * @param data - error data containing the result type that caused the failure
30
- * @returns an internal-server HttpsError with the UPLOADED_FILE_INITIALIZATION_FAILED error code and the result type
29
+ * @param data - Error data containing the result type that caused the failure.
30
+ * @returns An internal-server HttpsError with the UPLOADED_FILE_INITIALIZATION_FAILED error code and the result type.
31
31
  */
32
32
  export declare function uploadedFileInitializationFailedError(data: UploadedFileInitializationFailedErrorData): import("firebase-functions/https").HttpsError;
33
33
  /**
34
34
  * Creates an error indicating that the initialization result was discarded (e.g., the created file no longer exists).
35
35
  *
36
- * @returns an internal-server HttpsError with the UPLOADED_FILE_INITIALIZATION_DISCARDED error code
36
+ * @returns An internal-server HttpsError with the UPLOADED_FILE_INITIALIZATION_DISCARDED error code.
37
37
  */
38
38
  export declare function uploadedFileInitializationDiscardedError(): import("firebase-functions/https").HttpsError;
39
39
  /**
40
40
  * Creates an error indicating that the StorageFile is not in a valid state for processing.
41
41
  *
42
- * @returns a precondition-conflict HttpsError with the STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE error code
42
+ * @returns A precondition-conflict HttpsError with the STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE error code.
43
43
  */
44
44
  export declare function storageFileProcessingNotAllowedForInvalidStateError(): import("firebase-functions/https").HttpsError;
45
45
  /**
46
46
  * Creates an error indicating that the StorageFile is not queued for processing.
47
47
  *
48
- * @returns a precondition-conflict HttpsError with the STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING error code
48
+ * @returns A precondition-conflict HttpsError with the STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING error code.
49
49
  */
50
50
  export declare function storageFileProcessingNotQueuedForProcessingError(): import("firebase-functions/https").HttpsError;
51
51
  /**
52
52
  * Creates an error indicating that no processor is configured for the StorageFile's type.
53
53
  *
54
- * @returns a precondition-conflict HttpsError with the STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE error code
54
+ * @returns A precondition-conflict HttpsError with the STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE error code.
55
55
  */
56
56
  export declare function storageFileProcessingNotAvailableForTypeError(): import("firebase-functions/https").HttpsError;
57
57
  /**
58
58
  * Creates an error indicating that the StorageFile has already finished processing.
59
59
  *
60
- * @returns a precondition-conflict HttpsError with the STORAGE_FILE_ALREADY_PROCESSED error code
60
+ * @returns A precondition-conflict HttpsError with the STORAGE_FILE_ALREADY_PROCESSED error code.
61
61
  */
62
62
  export declare function storageFileAlreadyProcessedError(): import("firebase-functions/https").HttpsError;
63
63
  /**
64
64
  * Creates an error indicating that the StorageFile is not flagged for deletion.
65
65
  *
66
- * @returns a precondition-conflict HttpsError with the STORAGE_FILE_NOT_FLAGGED_FOR_DELETION error code
66
+ * @returns A precondition-conflict HttpsError with the STORAGE_FILE_NOT_FLAGGED_FOR_DELETION error code.
67
67
  */
68
68
  export declare function storageFileNotFlaggedForDeletionError(): import("firebase-functions/https").HttpsError;
69
69
  /**
70
70
  * Creates an error indicating that the StorageFile's scheduled deletion time has not yet passed.
71
71
  *
72
- * @returns a precondition-conflict HttpsError with the STORAGE_FILE_CANNOT_BE_DELETED_YET error code
72
+ * @returns A precondition-conflict HttpsError with the STORAGE_FILE_CANNOT_BE_DELETED_YET error code.
73
73
  */
74
74
  export declare function storageFileCannotBeDeletedYetError(): import("firebase-functions/https").HttpsError;
75
75
  /**
76
76
  * Creates an error indicating that the StorageFileGroup is still queued for initialization and cannot be operated on.
77
77
  *
78
- * @returns a precondition-conflict HttpsError with the STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION error code
78
+ * @returns A precondition-conflict HttpsError with the STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION error code.
79
79
  */
80
80
  export declare function storageFileGroupQueuedForInitializationError(): import("firebase-functions/https").HttpsError;
81
81
  /**
82
82
  * Creates an error indicating that the required model key or storageFileId is missing when creating a StorageFileGroup.
83
83
  *
84
- * @returns a precondition-conflict HttpsError with the STORAGE_FILE_GROUP_CREATE_INPUT error code
84
+ * @returns A precondition-conflict HttpsError with the STORAGE_FILE_GROUP_CREATE_INPUT error code.
85
85
  */
86
86
  export declare function createStorageFileGroupInputError(): import("firebase-functions/https").HttpsError;
@@ -7,25 +7,25 @@ import { StorageFileInitServerActions, type StorageFileInitServerActionsContextC
7
7
  * Factory that assembles the full {@link StorageFileServerActionsContext} by combining
8
8
  * the base context with the upload initialization service.
9
9
  *
10
- * @param context - the base server actions context providing Firebase infrastructure
11
- * @param storageFileInitializeFromUploadService - the service for initializing storage files from uploads
12
- * @returns the fully assembled StorageFileServerActionsContext
10
+ * @param context - The base server actions context providing Firebase infrastructure.
11
+ * @param storageFileInitializeFromUploadService - The service for initializing storage files from uploads.
12
+ * @returns The fully assembled StorageFileServerActionsContext.
13
13
  */
14
14
  export declare function storageFileServerActionsContextFactory(context: BaseStorageFileServerActionsContext, storageFileInitializeFromUploadService: StorageFileInitializeFromUploadService): StorageFileServerActionsContext;
15
15
  /**
16
16
  * Factory that creates a {@link StorageFileServerActions} instance from the assembled context.
17
17
  *
18
- * @param context - the fully assembled storage file server actions context
19
- * @returns a concrete StorageFileServerActions instance
18
+ * @param context - The fully assembled storage file server actions context.
19
+ * @returns A concrete StorageFileServerActions instance.
20
20
  */
21
21
  export declare function storageFileServerActionsFactory(context: StorageFileServerActionsContext): StorageFileServerActions;
22
22
  /**
23
23
  * Factory that creates a {@link StorageFileInitServerActions} instance by merging the
24
24
  * server actions context with the init-specific configuration.
25
25
  *
26
- * @param context - the storage file server actions context
27
- * @param storageFileInitServerActionsContextConfig - init-specific configuration with the template function
28
- * @returns a concrete StorageFileInitServerActions instance
26
+ * @param context - The storage file server actions context.
27
+ * @param storageFileInitServerActionsContextConfig - Init-specific configuration with the template function.
28
+ * @returns A concrete StorageFileInitServerActions instance.
29
29
  */
30
30
  export declare function storageFileInitServerActionsFactory(context: StorageFileServerActionsContext, storageFileInitServerActionsContextConfig: StorageFileInitServerActionsContextConfig): StorageFileInitServerActions;
31
31
  export interface ProvideAppStorageFileMetadataConfig extends Pick<ModuleMetadata, 'imports' | 'exports' | 'providers'> {
@@ -49,7 +49,7 @@ export interface ProvideAppStorageFileMetadataConfig extends Pick<ModuleMetadata
49
49
  *
50
50
  * Be sure the class that delares the module using this function also extends AbstractAppStorageFileModule.
51
51
  *
52
- * @param config - the module configuration including optional dependency module, imports, exports, and providers
53
- * @returns the assembled {@link ModuleMetadata} for the storage file module
52
+ * @param config - The module configuration including optional dependency module, imports, exports, and providers.
53
+ * @returns The assembled {@link ModuleMetadata} for the storage file module.
54
54
  */
55
55
  export declare function appStorageFileModuleMetadata(config: ProvideAppStorageFileMetadataConfig): ModuleMetadata;
@@ -98,8 +98,8 @@ export declare const storageFileProcessingNotificationTaskHandlerDefaultCleanup:
98
98
  * determines its purpose, and dispatches to the appropriate purpose-specific processor.
99
99
  * Includes optional StorageFileGroup processors (e.g., ZIP generation) by default.
100
100
  *
101
- * @param config - handler configuration including processors, storage accessor, and Firestore collections
102
- * @returns a NotificationTaskServiceTaskHandlerConfig wired for storage file processing
101
+ * @param config - Handler configuration including processors, storage accessor, and Firestore collections.
102
+ * @returns A NotificationTaskServiceTaskHandlerConfig wired for storage file processing.
103
103
  */
104
104
  export declare function storageFileProcessingNotificationTaskHandler(config: StorageFileProcessingNotificationTaskHandlerConfig): NotificationTaskServiceTaskHandlerConfig<StorageFileProcessingNotificationTaskData>;
105
105
  export interface AllStorageFileGroupStorageFileProcessingPurposeSubtaskProcessorsConfig extends StorageFileGroupStorageFileProcessingPurposeSubtaskProcessorsConfig {
@@ -113,8 +113,8 @@ export interface AllStorageFileGroupStorageFileProcessingPurposeSubtaskProcessor
113
113
  /**
114
114
  * Assembles all built-in StorageFileGroup subtask processors, such as ZIP generation.
115
115
  *
116
- * @param config - configuration controlling which group processors to include
117
- * @returns an array of subtask processor configs for StorageFileGroup processing purposes
116
+ * @param config - Configuration controlling which group processors to include.
117
+ * @returns The subtask processor configs for StorageFileGroup processing purposes.
118
118
  */
119
119
  export declare function allStorageFileGroupStorageFileProcessingPurposeSubtaskProcessors(config: AllStorageFileGroupStorageFileProcessingPurposeSubtaskProcessorsConfig): StorageFileProcessingPurposeSubtaskProcessorConfigWithTarget[];
120
120
  export interface StorageFileGroupStorageFileProcessingPurposeSubtaskProcessorsConfig {
@@ -186,7 +186,7 @@ export interface StorageFileGroupStorageFileProcessingPurposeSubtaskProcessorsCo
186
186
  * This processor streams all files in the group into a ZIP archive, attaches an info JSON
187
187
  * manifest, and uploads the result to the group's designated storage path.
188
188
  *
189
- * @param config - configuration providing Firestore collections, storage accessor, and ZIP options
190
- * @returns a subtask processor config targeting the StorageFileGroup ZIP purpose
189
+ * @param config - Configuration providing Firestore collections, storage accessor, and ZIP options.
190
+ * @returns A subtask processor config targeting the StorageFileGroup ZIP purpose.
191
191
  */
192
192
  export declare function storageFileGroupZipStorageFileProcessingPurposeSubtaskProcessor(config: StorageFileGroupStorageFileProcessingPurposeSubtaskProcessorsConfig): StorageFileProcessingPurposeSubtaskProcessorConfigWithTarget<StorageFileGroupZipStorageFileProcessingSubtaskMetadata, StorageFileGroupZipStorageFileProcessingSubtask>;
@@ -69,9 +69,9 @@ export interface StorageFileInitializeFromUploadServiceInitializerStorageFileDoc
69
69
  * Convenience factory for creating a permanent failure result, indicating the file
70
70
  * should be discarded and any created intermediate files cleaned up.
71
71
  *
72
- * @param error - the error that caused the permanent failure
73
- * @param createdFile - optional path to a file that was created before the error and should be deleted
74
- * @returns a permanent failure result with the error and optional created file reference
72
+ * @param error - The error that caused the permanent failure.
73
+ * @param createdFile - Optional path to a file that was created before the error and should be deleted.
74
+ * @returns A permanent failure result with the error and optional created file reference.
75
75
  */
76
76
  export declare function storageFileInitializeFromUploadServiceInitializerResultPermanentFailure(error: unknown, createdFile?: Maybe<StoragePathRef>): StorageFileInitializeFromUploadServiceInitializerResult;
77
77
  /**
@@ -145,8 +145,8 @@ export interface StorageFileInitializeFromUploadServiceConfig {
145
145
  * 3. The created file is linked back to the StorageFile document via custom metadata
146
146
  * 4. Optionally, previous files for the same purpose/user are flagged for deletion
147
147
  *
148
- * @param config - service configuration including determiners, initializers, and storage references
149
- * @returns a {@link StorageFileInitializeFromUploadService} with type detection and upload initialization
148
+ * @param config - Service configuration including determiners, initializers, and storage references.
149
+ * @returns A {@link StorageFileInitializeFromUploadService} with type detection and upload initialization.
150
150
  *
151
151
  * @example
152
152
  * ```ts
@@ -32,14 +32,14 @@ export interface QueryAndFlagStorageFilesForDeleteResult {
32
32
  /**
33
33
  * Performs a query and flags the matching StorageFiles for deletion.
34
34
  *
35
- * @param input The input for the query and flagging.
35
+ * @param input - The input for the query and flagging.
36
36
  * @returns The result of the query and flagging.
37
37
  */
38
38
  export declare function queryAndFlagStorageFilesForDelete(input: QueryAndFlagStorageFilesForDeleteInput): Promise<QueryAndFlagStorageFilesForDeleteResult>;
39
39
  /**
40
40
  * Creates a template for updating a StorageFile to be queued for deletion at the input time.
41
41
  *
42
- * @param queueForDeleteTime When to delete the StorageFile. If true or unset, the StorageFile will be flagged to be deleted immediately.
42
+ * @param queueForDeleteTime - When to delete the StorageFile. If true or unset, the StorageFile will be flagged to be deleted immediately.
43
43
  * @returns The update template for the StorageFile.
44
44
  */
45
45
  export declare function markStorageFileForDeleteTemplate(queueForDeleteTime?: Maybe<StorageFileQueueForDeleteTime>): Pick<StorageFile, 'sdat' | 'fs'>;