alepha 0.13.2 → 0.13.4

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 (91) hide show
  1. package/README.md +7 -7
  2. package/dist/api-files/index.browser.js +80 -0
  3. package/dist/api-files/index.browser.js.map +1 -0
  4. package/dist/api-files/index.d.ts +175 -175
  5. package/dist/api-jobs/index.browser.js +56 -0
  6. package/dist/api-jobs/index.browser.js.map +1 -0
  7. package/dist/api-jobs/index.d.ts +156 -156
  8. package/dist/api-notifications/index.browser.js +382 -0
  9. package/dist/api-notifications/index.browser.js.map +1 -0
  10. package/dist/api-notifications/index.d.ts +221 -166
  11. package/dist/api-notifications/index.js +107 -55
  12. package/dist/api-notifications/index.js.map +1 -1
  13. package/dist/api-parameters/index.browser.js +29 -0
  14. package/dist/api-parameters/index.browser.js.map +1 -0
  15. package/dist/api-users/index.d.ts +16 -3
  16. package/dist/api-users/index.js +75 -28
  17. package/dist/api-users/index.js.map +1 -1
  18. package/dist/api-verifications/index.browser.js +52 -0
  19. package/dist/api-verifications/index.browser.js.map +1 -0
  20. package/dist/api-verifications/index.d.ts +120 -98
  21. package/dist/api-verifications/index.js +1 -1
  22. package/dist/api-verifications/index.js.map +1 -1
  23. package/dist/batch/index.js +0 -5
  24. package/dist/batch/index.js.map +1 -1
  25. package/dist/bucket/index.js +7 -5
  26. package/dist/bucket/index.js.map +1 -1
  27. package/dist/cli/{dist-Dl9Vl7Ur.js → dist-lGnqsKpu.js} +11 -15
  28. package/dist/cli/dist-lGnqsKpu.js.map +1 -0
  29. package/dist/cli/index.d.ts +26 -45
  30. package/dist/cli/index.js +40 -58
  31. package/dist/cli/index.js.map +1 -1
  32. package/dist/command/index.d.ts +1 -0
  33. package/dist/command/index.js +9 -0
  34. package/dist/command/index.js.map +1 -1
  35. package/dist/core/index.browser.js +5 -1
  36. package/dist/core/index.browser.js.map +1 -1
  37. package/dist/core/index.d.ts +221 -219
  38. package/dist/core/index.js +5 -1
  39. package/dist/core/index.js.map +1 -1
  40. package/dist/core/index.native.js +5 -1
  41. package/dist/core/index.native.js.map +1 -1
  42. package/dist/email/index.d.ts +4 -4
  43. package/dist/email/index.js +5 -0
  44. package/dist/email/index.js.map +1 -1
  45. package/dist/orm/index.d.ts +19 -19
  46. package/dist/orm/index.js +3 -3
  47. package/dist/orm/index.js.map +1 -1
  48. package/dist/redis/index.d.ts +10 -10
  49. package/dist/security/index.d.ts +28 -28
  50. package/dist/security/index.js +3 -3
  51. package/dist/security/index.js.map +1 -1
  52. package/dist/server/index.d.ts +9 -9
  53. package/dist/server-auth/index.d.ts +152 -152
  54. package/dist/server-cookies/index.js +2 -2
  55. package/dist/server-cookies/index.js.map +1 -1
  56. package/dist/server-links/index.d.ts +33 -33
  57. package/dist/server-security/index.d.ts +9 -9
  58. package/dist/server-static/index.js +18 -2
  59. package/dist/server-static/index.js.map +1 -1
  60. package/package.json +16 -6
  61. package/src/api-files/index.browser.ts +17 -0
  62. package/src/api-jobs/index.browser.ts +15 -0
  63. package/src/api-notifications/controllers/NotificationController.ts +26 -1
  64. package/src/api-notifications/index.browser.ts +17 -0
  65. package/src/api-notifications/index.ts +1 -0
  66. package/src/api-notifications/schemas/notificationQuerySchema.ts +13 -0
  67. package/src/api-notifications/services/NotificationService.ts +45 -2
  68. package/src/api-parameters/index.browser.ts +12 -0
  69. package/src/api-users/atoms/realmAuthSettingsAtom.ts +3 -1
  70. package/src/api-users/controllers/UserController.ts +21 -1
  71. package/src/api-users/primitives/$userRealm.ts +33 -10
  72. package/src/api-users/providers/UserRealmProvider.ts +1 -0
  73. package/src/api-users/services/SessionService.ts +2 -0
  74. package/src/api-users/services/UserService.ts +56 -16
  75. package/src/api-verifications/index.browser.ts +15 -0
  76. package/src/api-verifications/index.ts +1 -0
  77. package/src/batch/providers/BatchProvider.ts +0 -7
  78. package/src/bucket/index.ts +7 -5
  79. package/src/cli/apps/AlephaCli.ts +27 -1
  80. package/src/cli/apps/AlephaPackageBuilderCli.ts +3 -0
  81. package/src/cli/commands/CoreCommands.ts +6 -2
  82. package/src/cli/commands/ViteCommands.ts +2 -1
  83. package/src/cli/services/ProjectUtils.ts +40 -75
  84. package/src/command/helpers/Asker.ts +10 -0
  85. package/src/core/Alepha.ts +14 -0
  86. package/src/core/primitives/$module.ts +1 -1
  87. package/src/email/index.ts +13 -5
  88. package/src/orm/providers/drivers/NodeSqliteProvider.ts +3 -3
  89. package/src/server-cookies/providers/ServerCookiesProvider.ts +2 -1
  90. package/src/server-static/providers/ServerStaticProvider.ts +18 -3
  91. package/dist/cli/dist-Dl9Vl7Ur.js.map +0 -1
package/README.md CHANGED
@@ -19,6 +19,9 @@ Easy mode for building TypeScript applications.
19
19
  <a href="https://github.com/feunard/alepha"><img src="https://img.shields.io/github/stars/feunard/alepha.svg?style=social" alt="GitHub stars"/></a>
20
20
  </div>
21
21
 
22
+ > [!WARNING]
23
+ > **Early Development** — Alepha is under active development. The API is stabilizing but may change. First stable release planned for early 2026. Follow the repo to stay updated.
24
+
22
25
  ## What is this?
23
26
 
24
27
  Build API endpoints (Docker or Serverless), React applications (SSR, CSR or SSG), and more!
@@ -33,12 +36,7 @@ For more information, please visit the [documentation](https://feunard.github.io
33
36
 
34
37
  ## Examples
35
38
 
36
- We will show:
37
-
38
- - API endpoint with automatic OpenAPI documentation
39
- - Full-stack React application with server-side rendering
40
-
41
- ### Requirements
39
+ **Requirements**
42
40
 
43
41
  - [Node.js](https://nodejs.org/) v22 or higher
44
42
 
@@ -98,8 +96,10 @@ Run the development server:
98
96
 
99
97
  ```bash
100
98
  $ npx alepha dev
101
- # alepha dev comes with hot-reload and full TypeScript support, but you can also run:
99
+ # alepha dev comes with hot-reload and full TypeScript support
100
+ # but you can also run:
102
101
  $ node ./src/main.ts
102
+ $ bun ./src/main.ts
103
103
  ```
104
104
 
105
105
  Then, open your browser at `http://localhost:3000/docs/` and enjoy your automatically generated documentation.
@@ -0,0 +1,80 @@
1
+ import { $module, t } from "alepha";
2
+ import { $entity, pageQuerySchema, pg } from "alepha/orm";
3
+
4
+ //#region src/api-files/entities/files.ts
5
+ const files = $entity({
6
+ name: "files",
7
+ schema: t.object({
8
+ id: pg.primaryKey(t.uuid()),
9
+ version: pg.version(),
10
+ createdAt: pg.createdAt(),
11
+ updatedAt: pg.updatedAt(),
12
+ blobId: t.text(),
13
+ creator: t.optional(t.uuid()),
14
+ creatorRealm: t.optional(t.string()),
15
+ creatorName: t.optional(t.string()),
16
+ bucket: t.text(),
17
+ expirationDate: t.optional(t.datetime()),
18
+ name: t.text(),
19
+ size: t.number(),
20
+ mimeType: t.string(),
21
+ tags: t.optional(t.array(t.text())),
22
+ checksum: t.optional(t.string())
23
+ }),
24
+ indexes: [
25
+ "expirationDate",
26
+ "bucket",
27
+ "creator",
28
+ "createdAt",
29
+ "mimeType",
30
+ { columns: ["bucket", "createdAt"] }
31
+ ]
32
+ });
33
+
34
+ //#endregion
35
+ //#region src/api-files/schemas/fileQuerySchema.ts
36
+ const fileQuerySchema = t.extend(pageQuerySchema, {
37
+ bucket: t.optional(t.string()),
38
+ tags: t.optional(t.array(t.string())),
39
+ name: t.optional(t.string()),
40
+ mimeType: t.optional(t.string()),
41
+ creator: t.optional(t.uuid()),
42
+ createdAfter: t.optional(t.datetime()),
43
+ createdBefore: t.optional(t.datetime())
44
+ });
45
+
46
+ //#endregion
47
+ //#region src/api-files/schemas/fileResourceSchema.ts
48
+ const fileResourceSchema = t.extend(files.schema, {}, {
49
+ title: "FileResource",
50
+ description: "A file resource representing a file stored in the system."
51
+ });
52
+
53
+ //#endregion
54
+ //#region src/api-files/schemas/storageStatsSchema.ts
55
+ const bucketStatsSchema = t.object({
56
+ bucket: t.string(),
57
+ totalSize: t.number(),
58
+ fileCount: t.number()
59
+ });
60
+ const mimeTypeStatsSchema = t.object({
61
+ mimeType: t.string(),
62
+ fileCount: t.number()
63
+ });
64
+ const storageStatsSchema = t.object({
65
+ totalSize: t.number(),
66
+ totalFiles: t.number(),
67
+ byBucket: t.array(bucketStatsSchema),
68
+ byMimeType: t.array(mimeTypeStatsSchema)
69
+ });
70
+
71
+ //#endregion
72
+ //#region src/api-files/index.browser.ts
73
+ const AlephaApiFiles = $module({
74
+ name: "alepha.api.files",
75
+ services: []
76
+ });
77
+
78
+ //#endregion
79
+ export { AlephaApiFiles, bucketStatsSchema, fileQuerySchema, fileResourceSchema, files, mimeTypeStatsSchema, storageStatsSchema };
80
+ //# sourceMappingURL=index.browser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.browser.js","names":[],"sources":["../../src/api-files/entities/files.ts","../../src/api-files/schemas/fileQuerySchema.ts","../../src/api-files/schemas/fileResourceSchema.ts","../../src/api-files/schemas/storageStatsSchema.ts","../../src/api-files/index.browser.ts"],"sourcesContent":["import { type Static, t } from \"alepha\";\nimport { $entity, pg } from \"alepha/orm\";\n\nexport const files = $entity({\n name: \"files\",\n schema: t.object({\n id: pg.primaryKey(t.uuid()),\n version: pg.version(),\n createdAt: pg.createdAt(),\n updatedAt: pg.updatedAt(),\n blobId: t.text(),\n creator: t.optional(t.uuid()),\n creatorRealm: t.optional(t.string()),\n creatorName: t.optional(t.string()),\n bucket: t.text(),\n expirationDate: t.optional(t.datetime()),\n name: t.text(),\n size: t.number(),\n mimeType: t.string(),\n tags: t.optional(t.array(t.text())),\n checksum: t.optional(t.string()),\n }),\n indexes: [\n \"expirationDate\",\n \"bucket\",\n \"creator\",\n \"createdAt\",\n \"mimeType\",\n {\n columns: [\"bucket\", \"createdAt\"],\n },\n ],\n});\n\nexport type FileEntity = Static<typeof files.schema>;\n","import type { Static } from \"alepha\";\nimport { t } from \"alepha\";\nimport { pageQuerySchema } from \"alepha/orm\";\n\nexport const fileQuerySchema = t.extend(pageQuerySchema, {\n bucket: t.optional(t.string()),\n tags: t.optional(t.array(t.string())),\n name: t.optional(t.string()),\n mimeType: t.optional(t.string()),\n creator: t.optional(t.uuid()),\n createdAfter: t.optional(t.datetime()),\n createdBefore: t.optional(t.datetime()),\n});\n\nexport type FileQuery = Static<typeof fileQuerySchema>;\n","import { type Static, t } from \"alepha\";\nimport { files } from \"../entities/files.ts\";\n\nexport const fileResourceSchema = t.extend(\n files.schema,\n {},\n {\n title: \"FileResource\",\n description: \"A file resource representing a file stored in the system.\",\n },\n);\n\nexport type FileResource = Static<typeof fileResourceSchema>;\n","import type { Static } from \"alepha\";\nimport { t } from \"alepha\";\n\nexport const bucketStatsSchema = t.object({\n bucket: t.string(),\n totalSize: t.number(),\n fileCount: t.number(),\n});\n\nexport const mimeTypeStatsSchema = t.object({\n mimeType: t.string(),\n fileCount: t.number(),\n});\n\nexport const storageStatsSchema = t.object({\n totalSize: t.number(),\n totalFiles: t.number(),\n byBucket: t.array(bucketStatsSchema),\n byMimeType: t.array(mimeTypeStatsSchema),\n});\n\nexport type BucketStats = Static<typeof bucketStatsSchema>;\nexport type MimeTypeStats = Static<typeof mimeTypeStatsSchema>;\nexport type StorageStats = Static<typeof storageStatsSchema>;\n","import { $module } from \"alepha\";\n\n// ---------------------------------------------------------------------------------------------------------------------\n\nexport type * from \"./controllers/FileController.ts\";\nexport type * from \"./controllers/StorageStatsController.ts\";\nexport * from \"./entities/files.ts\";\nexport * from \"./schemas/fileQuerySchema.ts\";\nexport * from \"./schemas/fileResourceSchema.ts\";\nexport * from \"./schemas/storageStatsSchema.ts\";\n\n// ---------------------------------------------------------------------------------------------------------------------\n\nexport const AlephaApiFiles = $module({\n name: \"alepha.api.files\",\n services: [],\n});\n"],"mappings":";;;;AAGA,MAAa,QAAQ,QAAQ;CAC3B,MAAM;CACN,QAAQ,EAAE,OAAO;EACf,IAAI,GAAG,WAAW,EAAE,MAAM,CAAC;EAC3B,SAAS,GAAG,SAAS;EACrB,WAAW,GAAG,WAAW;EACzB,WAAW,GAAG,WAAW;EACzB,QAAQ,EAAE,MAAM;EAChB,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC;EAC7B,cAAc,EAAE,SAAS,EAAE,QAAQ,CAAC;EACpC,aAAa,EAAE,SAAS,EAAE,QAAQ,CAAC;EACnC,QAAQ,EAAE,MAAM;EAChB,gBAAgB,EAAE,SAAS,EAAE,UAAU,CAAC;EACxC,MAAM,EAAE,MAAM;EACd,MAAM,EAAE,QAAQ;EAChB,UAAU,EAAE,QAAQ;EACpB,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;EACnC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAC;EACjC,CAAC;CACF,SAAS;EACP;EACA;EACA;EACA;EACA;EACA,EACE,SAAS,CAAC,UAAU,YAAY,EACjC;EACF;CACF,CAAC;;;;AC5BF,MAAa,kBAAkB,EAAE,OAAO,iBAAiB;CACvD,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC;CAC9B,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;CACrC,MAAM,EAAE,SAAS,EAAE,QAAQ,CAAC;CAC5B,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAC;CAChC,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC;CAC7B,cAAc,EAAE,SAAS,EAAE,UAAU,CAAC;CACtC,eAAe,EAAE,SAAS,EAAE,UAAU,CAAC;CACxC,CAAC;;;;ACTF,MAAa,qBAAqB,EAAE,OAClC,MAAM,QACN,EAAE,EACF;CACE,OAAO;CACP,aAAa;CACd,CACF;;;;ACPD,MAAa,oBAAoB,EAAE,OAAO;CACxC,QAAQ,EAAE,QAAQ;CAClB,WAAW,EAAE,QAAQ;CACrB,WAAW,EAAE,QAAQ;CACtB,CAAC;AAEF,MAAa,sBAAsB,EAAE,OAAO;CAC1C,UAAU,EAAE,QAAQ;CACpB,WAAW,EAAE,QAAQ;CACtB,CAAC;AAEF,MAAa,qBAAqB,EAAE,OAAO;CACzC,WAAW,EAAE,QAAQ;CACrB,YAAY,EAAE,QAAQ;CACtB,UAAU,EAAE,MAAM,kBAAkB;CACpC,YAAY,EAAE,MAAM,oBAAoB;CACzC,CAAC;;;;ACNF,MAAa,iBAAiB,QAAQ;CACpC,MAAM;CACN,UAAU,EAAE;CACb,CAAC"}
@@ -1,7 +1,7 @@
1
- import * as alepha160 from "alepha";
1
+ import * as alepha135 from "alepha";
2
2
  import { Alepha, FileLike, Static, TNull, TObject, TOptional, TSchema, TUnion } from "alepha";
3
3
  import { BucketPrimitive } from "alepha/bucket";
4
- import * as alepha_orm64 from "alepha/orm";
4
+ import * as alepha_orm47 from "alepha/orm";
5
5
  import { Page } from "alepha/orm";
6
6
  import * as alepha_server0 from "alepha/server";
7
7
  import { Ok } from "alepha/server";
@@ -18,37 +18,37 @@ import "postgres";
18
18
  import "drizzle-orm/sqlite-core";
19
19
 
20
20
  //#region src/api-files/entities/files.d.ts
21
- declare const files: alepha_orm64.EntityPrimitive<alepha160.TObject<{
22
- id: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_PRIMARY_KEY>, typeof alepha_orm64.PG_DEFAULT>;
23
- version: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TInteger, typeof alepha_orm64.PG_VERSION>, typeof alepha_orm64.PG_DEFAULT>;
24
- createdAt: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_CREATED_AT>, typeof alepha_orm64.PG_DEFAULT>;
25
- updatedAt: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_UPDATED_AT>, typeof alepha_orm64.PG_DEFAULT>;
26
- blobId: alepha160.TString;
27
- creator: alepha160.TOptional<alepha160.TString>;
28
- creatorRealm: alepha160.TOptional<alepha160.TString>;
29
- creatorName: alepha160.TOptional<alepha160.TString>;
30
- bucket: alepha160.TString;
31
- expirationDate: alepha160.TOptional<alepha160.TString>;
32
- name: alepha160.TString;
33
- size: alepha160.TNumber;
34
- mimeType: alepha160.TString;
35
- tags: alepha160.TOptional<alepha160.TArray<alepha160.TString>>;
36
- checksum: alepha160.TOptional<alepha160.TString>;
21
+ declare const files: alepha_orm47.EntityPrimitive<alepha135.TObject<{
22
+ id: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_PRIMARY_KEY>, typeof alepha_orm47.PG_DEFAULT>;
23
+ version: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TInteger, typeof alepha_orm47.PG_VERSION>, typeof alepha_orm47.PG_DEFAULT>;
24
+ createdAt: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_CREATED_AT>, typeof alepha_orm47.PG_DEFAULT>;
25
+ updatedAt: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_UPDATED_AT>, typeof alepha_orm47.PG_DEFAULT>;
26
+ blobId: alepha135.TString;
27
+ creator: alepha135.TOptional<alepha135.TString>;
28
+ creatorRealm: alepha135.TOptional<alepha135.TString>;
29
+ creatorName: alepha135.TOptional<alepha135.TString>;
30
+ bucket: alepha135.TString;
31
+ expirationDate: alepha135.TOptional<alepha135.TString>;
32
+ name: alepha135.TString;
33
+ size: alepha135.TNumber;
34
+ mimeType: alepha135.TString;
35
+ tags: alepha135.TOptional<alepha135.TArray<alepha135.TString>>;
36
+ checksum: alepha135.TOptional<alepha135.TString>;
37
37
  }>>;
38
38
  type FileEntity = Static<typeof files.schema>;
39
39
  //#endregion
40
40
  //#region src/api-files/schemas/fileQuerySchema.d.ts
41
- declare const fileQuerySchema: alepha160.TObject<{
42
- page: alepha160.TOptional<alepha160.TInteger>;
43
- size: alepha160.TOptional<alepha160.TInteger>;
44
- sort: alepha160.TOptional<alepha160.TString>;
45
- bucket: alepha160.TOptional<alepha160.TString>;
46
- tags: alepha160.TOptional<alepha160.TArray<alepha160.TString>>;
47
- name: alepha160.TOptional<alepha160.TString>;
48
- mimeType: alepha160.TOptional<alepha160.TString>;
49
- creator: alepha160.TOptional<alepha160.TString>;
50
- createdAfter: alepha160.TOptional<alepha160.TString>;
51
- createdBefore: alepha160.TOptional<alepha160.TString>;
41
+ declare const fileQuerySchema: alepha135.TObject<{
42
+ page: alepha135.TOptional<alepha135.TInteger>;
43
+ size: alepha135.TOptional<alepha135.TInteger>;
44
+ sort: alepha135.TOptional<alepha135.TString>;
45
+ bucket: alepha135.TOptional<alepha135.TString>;
46
+ tags: alepha135.TOptional<alepha135.TArray<alepha135.TString>>;
47
+ name: alepha135.TOptional<alepha135.TString>;
48
+ mimeType: alepha135.TOptional<alepha135.TString>;
49
+ creator: alepha135.TOptional<alepha135.TString>;
50
+ createdAfter: alepha135.TOptional<alepha135.TString>;
51
+ createdBefore: alepha135.TOptional<alepha135.TString>;
52
52
  }>;
53
53
  type FileQuery = Static<typeof fileQuerySchema>;
54
54
  //#endregion
@@ -272,7 +272,7 @@ type PgAttr<T extends TSchema, TAttr extends PgSymbolKeys> = T & { [K in TAttr]:
272
272
  declare module "alepha" {
273
273
  interface Env extends Partial<Static<typeof envSchema>> {}
274
274
  }
275
- declare const envSchema: alepha160.TObject<{
275
+ declare const envSchema: alepha135.TObject<{
276
276
  /**
277
277
  * Main configuration for database connection.
278
278
  * Accept a string in the format of a Postgres connection URL.
@@ -280,21 +280,21 @@ declare const envSchema: alepha160.TObject<{
280
280
  * or
281
281
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
282
282
  */
283
- DATABASE_URL: alepha160.TOptional<alepha160.TString>;
283
+ DATABASE_URL: alepha135.TOptional<alepha135.TString>;
284
284
  /**
285
285
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
286
286
  *
287
287
  * It will monkey patch drizzle tables.
288
288
  */
289
- POSTGRES_SCHEMA: alepha160.TOptional<alepha160.TString>;
289
+ POSTGRES_SCHEMA: alepha135.TOptional<alepha135.TString>;
290
290
  }>;
291
291
  //#endregion
292
292
  //#region src/orm/providers/drivers/NodeSqliteProvider.d.ts
293
293
  /**
294
294
  * Configuration options for the Node.js SQLite database provider.
295
295
  */
296
- declare const nodeSqliteOptions: alepha160.Atom<alepha160.TObject<{
297
- path: alepha160.TOptional<alepha160.TString>;
296
+ declare const nodeSqliteOptions: alepha135.Atom<alepha135.TObject<{
297
+ path: alepha135.TOptional<alepha135.TString>;
298
298
  }>, "alepha.postgres.node-sqlite.options">;
299
299
  type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
300
300
  declare module "alepha" {
@@ -378,46 +378,46 @@ declare module "alepha" {
378
378
  }
379
379
  //#endregion
380
380
  //#region src/api-files/schemas/fileResourceSchema.d.ts
381
- declare const fileResourceSchema: alepha160.TObject<{
382
- id: PgAttr<PgAttr<alepha160.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
383
- version: PgAttr<PgAttr<alepha160.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
384
- createdAt: PgAttr<PgAttr<alepha160.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
385
- updatedAt: PgAttr<PgAttr<alepha160.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
386
- blobId: alepha160.TString;
387
- creator: alepha160.TOptional<alepha160.TString>;
388
- creatorRealm: alepha160.TOptional<alepha160.TString>;
389
- creatorName: alepha160.TOptional<alepha160.TString>;
390
- bucket: alepha160.TString;
391
- expirationDate: alepha160.TOptional<alepha160.TString>;
392
- name: alepha160.TString;
393
- size: alepha160.TNumber;
394
- mimeType: alepha160.TString;
395
- tags: alepha160.TOptional<alepha160.TArray<alepha160.TString>>;
396
- checksum: alepha160.TOptional<alepha160.TString>;
381
+ declare const fileResourceSchema: alepha135.TObject<{
382
+ id: PgAttr<PgAttr<alepha135.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
383
+ version: PgAttr<PgAttr<alepha135.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
384
+ createdAt: PgAttr<PgAttr<alepha135.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
385
+ updatedAt: PgAttr<PgAttr<alepha135.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
386
+ blobId: alepha135.TString;
387
+ creator: alepha135.TOptional<alepha135.TString>;
388
+ creatorRealm: alepha135.TOptional<alepha135.TString>;
389
+ creatorName: alepha135.TOptional<alepha135.TString>;
390
+ bucket: alepha135.TString;
391
+ expirationDate: alepha135.TOptional<alepha135.TString>;
392
+ name: alepha135.TString;
393
+ size: alepha135.TNumber;
394
+ mimeType: alepha135.TString;
395
+ tags: alepha135.TOptional<alepha135.TArray<alepha135.TString>>;
396
+ checksum: alepha135.TOptional<alepha135.TString>;
397
397
  }>;
398
398
  type FileResource = Static<typeof fileResourceSchema>;
399
399
  //#endregion
400
400
  //#region src/api-files/schemas/storageStatsSchema.d.ts
401
- declare const bucketStatsSchema: alepha160.TObject<{
402
- bucket: alepha160.TString;
403
- totalSize: alepha160.TNumber;
404
- fileCount: alepha160.TNumber;
401
+ declare const bucketStatsSchema: alepha135.TObject<{
402
+ bucket: alepha135.TString;
403
+ totalSize: alepha135.TNumber;
404
+ fileCount: alepha135.TNumber;
405
405
  }>;
406
- declare const mimeTypeStatsSchema: alepha160.TObject<{
407
- mimeType: alepha160.TString;
408
- fileCount: alepha160.TNumber;
406
+ declare const mimeTypeStatsSchema: alepha135.TObject<{
407
+ mimeType: alepha135.TString;
408
+ fileCount: alepha135.TNumber;
409
409
  }>;
410
- declare const storageStatsSchema: alepha160.TObject<{
411
- totalSize: alepha160.TNumber;
412
- totalFiles: alepha160.TNumber;
413
- byBucket: alepha160.TArray<alepha160.TObject<{
414
- bucket: alepha160.TString;
415
- totalSize: alepha160.TNumber;
416
- fileCount: alepha160.TNumber;
410
+ declare const storageStatsSchema: alepha135.TObject<{
411
+ totalSize: alepha135.TNumber;
412
+ totalFiles: alepha135.TNumber;
413
+ byBucket: alepha135.TArray<alepha135.TObject<{
414
+ bucket: alepha135.TString;
415
+ totalSize: alepha135.TNumber;
416
+ fileCount: alepha135.TNumber;
417
417
  }>>;
418
- byMimeType: alepha160.TArray<alepha160.TObject<{
419
- mimeType: alepha160.TString;
420
- fileCount: alepha160.TNumber;
418
+ byMimeType: alepha135.TArray<alepha135.TObject<{
419
+ mimeType: alepha135.TString;
420
+ fileCount: alepha135.TNumber;
421
421
  }>>;
422
422
  }>;
423
423
  type BucketStats = Static<typeof bucketStatsSchema>;
@@ -428,27 +428,27 @@ type StorageStats = Static<typeof storageStatsSchema>;
428
428
  declare class FileService {
429
429
  protected readonly alepha: Alepha;
430
430
  protected readonly log: alepha_logger0.Logger;
431
- protected readonly fileRepository: alepha_orm64.Repository<alepha160.TObject<{
432
- id: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_PRIMARY_KEY>, typeof alepha_orm64.PG_DEFAULT>;
433
- version: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TInteger, typeof alepha_orm64.PG_VERSION>, typeof alepha_orm64.PG_DEFAULT>;
434
- createdAt: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_CREATED_AT>, typeof alepha_orm64.PG_DEFAULT>;
435
- updatedAt: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_UPDATED_AT>, typeof alepha_orm64.PG_DEFAULT>;
436
- blobId: alepha160.TString;
437
- creator: alepha160.TOptional<alepha160.TString>;
438
- creatorRealm: alepha160.TOptional<alepha160.TString>;
439
- creatorName: alepha160.TOptional<alepha160.TString>;
440
- bucket: alepha160.TString;
441
- expirationDate: alepha160.TOptional<alepha160.TString>;
442
- name: alepha160.TString;
443
- size: alepha160.TNumber;
444
- mimeType: alepha160.TString;
445
- tags: alepha160.TOptional<alepha160.TArray<alepha160.TString>>;
446
- checksum: alepha160.TOptional<alepha160.TString>;
431
+ protected readonly fileRepository: alepha_orm47.Repository<alepha135.TObject<{
432
+ id: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_PRIMARY_KEY>, typeof alepha_orm47.PG_DEFAULT>;
433
+ version: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TInteger, typeof alepha_orm47.PG_VERSION>, typeof alepha_orm47.PG_DEFAULT>;
434
+ createdAt: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_CREATED_AT>, typeof alepha_orm47.PG_DEFAULT>;
435
+ updatedAt: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_UPDATED_AT>, typeof alepha_orm47.PG_DEFAULT>;
436
+ blobId: alepha135.TString;
437
+ creator: alepha135.TOptional<alepha135.TString>;
438
+ creatorRealm: alepha135.TOptional<alepha135.TString>;
439
+ creatorName: alepha135.TOptional<alepha135.TString>;
440
+ bucket: alepha135.TString;
441
+ expirationDate: alepha135.TOptional<alepha135.TString>;
442
+ name: alepha135.TString;
443
+ size: alepha135.TNumber;
444
+ mimeType: alepha135.TString;
445
+ tags: alepha135.TOptional<alepha135.TArray<alepha135.TString>>;
446
+ checksum: alepha135.TOptional<alepha135.TString>;
447
447
  }>>;
448
448
  protected readonly dateTimeProvider: DateTimeProvider;
449
449
  protected readonly defaultBucket: BucketPrimitive;
450
- protected onUploadFile: alepha160.HookPrimitive<"bucket:file:uploaded">;
451
- protected onDeleteBucketFile: alepha160.HookPrimitive<"bucket:file:deleted">;
450
+ protected onUploadFile: alepha135.HookPrimitive<"bucket:file:uploaded">;
451
+ protected onDeleteBucketFile: alepha135.HookPrimitive<"bucket:file:deleted">;
452
452
  /**
453
453
  * Calculates SHA-256 checksum of a file.
454
454
  *
@@ -582,34 +582,34 @@ declare class FileController {
582
582
  * Supports filtering by bucket and tags.
583
583
  */
584
584
  readonly findFiles: alepha_server0.ActionPrimitiveFn<{
585
- query: alepha160.TObject<{
586
- page: alepha160.TOptional<alepha160.TInteger>;
587
- size: alepha160.TOptional<alepha160.TInteger>;
588
- sort: alepha160.TOptional<alepha160.TString>;
589
- bucket: alepha160.TOptional<alepha160.TString>;
590
- tags: alepha160.TOptional<alepha160.TArray<alepha160.TString>>;
591
- name: alepha160.TOptional<alepha160.TString>;
592
- mimeType: alepha160.TOptional<alepha160.TString>;
593
- creator: alepha160.TOptional<alepha160.TString>;
594
- createdAfter: alepha160.TOptional<alepha160.TString>;
595
- createdBefore: alepha160.TOptional<alepha160.TString>;
585
+ query: alepha135.TObject<{
586
+ page: alepha135.TOptional<alepha135.TInteger>;
587
+ size: alepha135.TOptional<alepha135.TInteger>;
588
+ sort: alepha135.TOptional<alepha135.TString>;
589
+ bucket: alepha135.TOptional<alepha135.TString>;
590
+ tags: alepha135.TOptional<alepha135.TArray<alepha135.TString>>;
591
+ name: alepha135.TOptional<alepha135.TString>;
592
+ mimeType: alepha135.TOptional<alepha135.TString>;
593
+ creator: alepha135.TOptional<alepha135.TString>;
594
+ createdAfter: alepha135.TOptional<alepha135.TString>;
595
+ createdBefore: alepha135.TOptional<alepha135.TString>;
596
596
  }>;
597
- response: alepha160.TPage<alepha160.TObject<{
598
- id: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_PRIMARY_KEY>, typeof alepha_orm64.PG_DEFAULT>;
599
- version: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TInteger, typeof alepha_orm64.PG_VERSION>, typeof alepha_orm64.PG_DEFAULT>;
600
- createdAt: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_CREATED_AT>, typeof alepha_orm64.PG_DEFAULT>;
601
- updatedAt: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_UPDATED_AT>, typeof alepha_orm64.PG_DEFAULT>;
602
- blobId: alepha160.TString;
603
- creator: alepha160.TOptional<alepha160.TString>;
604
- creatorRealm: alepha160.TOptional<alepha160.TString>;
605
- creatorName: alepha160.TOptional<alepha160.TString>;
606
- bucket: alepha160.TString;
607
- expirationDate: alepha160.TOptional<alepha160.TString>;
608
- name: alepha160.TString;
609
- size: alepha160.TNumber;
610
- mimeType: alepha160.TString;
611
- tags: alepha160.TOptional<alepha160.TArray<alepha160.TString>>;
612
- checksum: alepha160.TOptional<alepha160.TString>;
597
+ response: alepha135.TPage<alepha135.TObject<{
598
+ id: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_PRIMARY_KEY>, typeof alepha_orm47.PG_DEFAULT>;
599
+ version: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TInteger, typeof alepha_orm47.PG_VERSION>, typeof alepha_orm47.PG_DEFAULT>;
600
+ createdAt: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_CREATED_AT>, typeof alepha_orm47.PG_DEFAULT>;
601
+ updatedAt: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_UPDATED_AT>, typeof alepha_orm47.PG_DEFAULT>;
602
+ blobId: alepha135.TString;
603
+ creator: alepha135.TOptional<alepha135.TString>;
604
+ creatorRealm: alepha135.TOptional<alepha135.TString>;
605
+ creatorName: alepha135.TOptional<alepha135.TString>;
606
+ bucket: alepha135.TString;
607
+ expirationDate: alepha135.TOptional<alepha135.TString>;
608
+ name: alepha135.TString;
609
+ size: alepha135.TNumber;
610
+ mimeType: alepha135.TString;
611
+ tags: alepha135.TOptional<alepha135.TArray<alepha135.TString>>;
612
+ checksum: alepha135.TOptional<alepha135.TString>;
613
613
  }>>;
614
614
  }>;
615
615
  /**
@@ -617,13 +617,13 @@ declare class FileController {
617
617
  * Removes the file from the bucket and cleans up the database record.
618
618
  */
619
619
  readonly deleteFile: alepha_server0.ActionPrimitiveFn<{
620
- params: alepha160.TObject<{
621
- id: alepha160.TString;
620
+ params: alepha135.TObject<{
621
+ id: alepha135.TString;
622
622
  }>;
623
- response: alepha160.TObject<{
624
- ok: alepha160.TBoolean;
625
- id: alepha160.TOptional<alepha160.TUnion<[alepha160.TString, alepha160.TInteger]>>;
626
- count: alepha160.TOptional<alepha160.TNumber>;
623
+ response: alepha135.TObject<{
624
+ ok: alepha135.TBoolean;
625
+ id: alepha135.TOptional<alepha135.TUnion<[alepha135.TString, alepha135.TInteger]>>;
626
+ count: alepha135.TOptional<alepha135.TNumber>;
627
627
  }>;
628
628
  }>;
629
629
  /**
@@ -632,29 +632,29 @@ declare class FileController {
632
632
  * Optionally specify bucket and expiration date.
633
633
  */
634
634
  readonly uploadFile: alepha_server0.ActionPrimitiveFn<{
635
- body: alepha160.TObject<{
636
- file: alepha160.TFile;
635
+ body: alepha135.TObject<{
636
+ file: alepha135.TFile;
637
637
  }>;
638
- query: alepha160.TObject<{
639
- expirationDate: alepha160.TOptional<alepha160.TString>;
640
- bucket: alepha160.TOptional<alepha160.TString>;
638
+ query: alepha135.TObject<{
639
+ expirationDate: alepha135.TOptional<alepha135.TString>;
640
+ bucket: alepha135.TOptional<alepha135.TString>;
641
641
  }>;
642
- response: alepha160.TObject<{
643
- id: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_PRIMARY_KEY>, typeof alepha_orm64.PG_DEFAULT>;
644
- version: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TInteger, typeof alepha_orm64.PG_VERSION>, typeof alepha_orm64.PG_DEFAULT>;
645
- createdAt: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_CREATED_AT>, typeof alepha_orm64.PG_DEFAULT>;
646
- updatedAt: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_UPDATED_AT>, typeof alepha_orm64.PG_DEFAULT>;
647
- blobId: alepha160.TString;
648
- creator: alepha160.TOptional<alepha160.TString>;
649
- creatorRealm: alepha160.TOptional<alepha160.TString>;
650
- creatorName: alepha160.TOptional<alepha160.TString>;
651
- bucket: alepha160.TString;
652
- expirationDate: alepha160.TOptional<alepha160.TString>;
653
- name: alepha160.TString;
654
- size: alepha160.TNumber;
655
- mimeType: alepha160.TString;
656
- tags: alepha160.TOptional<alepha160.TArray<alepha160.TString>>;
657
- checksum: alepha160.TOptional<alepha160.TString>;
642
+ response: alepha135.TObject<{
643
+ id: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_PRIMARY_KEY>, typeof alepha_orm47.PG_DEFAULT>;
644
+ version: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TInteger, typeof alepha_orm47.PG_VERSION>, typeof alepha_orm47.PG_DEFAULT>;
645
+ createdAt: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_CREATED_AT>, typeof alepha_orm47.PG_DEFAULT>;
646
+ updatedAt: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_UPDATED_AT>, typeof alepha_orm47.PG_DEFAULT>;
647
+ blobId: alepha135.TString;
648
+ creator: alepha135.TOptional<alepha135.TString>;
649
+ creatorRealm: alepha135.TOptional<alepha135.TString>;
650
+ creatorName: alepha135.TOptional<alepha135.TString>;
651
+ bucket: alepha135.TString;
652
+ expirationDate: alepha135.TOptional<alepha135.TString>;
653
+ name: alepha135.TString;
654
+ size: alepha135.TNumber;
655
+ mimeType: alepha135.TString;
656
+ tags: alepha135.TOptional<alepha135.TArray<alepha135.TString>>;
657
+ checksum: alepha135.TOptional<alepha135.TString>;
658
658
  }>;
659
659
  }>;
660
660
  /**
@@ -662,30 +662,30 @@ declare class FileController {
662
662
  * Allows updating name, tags, and expiration date without modifying file content.
663
663
  */
664
664
  readonly updateFile: alepha_server0.ActionPrimitiveFn<{
665
- params: alepha160.TObject<{
666
- id: alepha160.TString;
665
+ params: alepha135.TObject<{
666
+ id: alepha135.TString;
667
667
  }>;
668
- body: alepha160.TObject<{
669
- name: alepha160.TOptional<alepha160.TString>;
670
- tags: alepha160.TOptional<alepha160.TArray<alepha160.TString>>;
671
- expirationDate: alepha160.TOptional<alepha160.TString>;
668
+ body: alepha135.TObject<{
669
+ name: alepha135.TOptional<alepha135.TString>;
670
+ tags: alepha135.TOptional<alepha135.TArray<alepha135.TString>>;
671
+ expirationDate: alepha135.TOptional<alepha135.TString>;
672
672
  }>;
673
- response: alepha160.TObject<{
674
- id: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_PRIMARY_KEY>, typeof alepha_orm64.PG_DEFAULT>;
675
- version: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TInteger, typeof alepha_orm64.PG_VERSION>, typeof alepha_orm64.PG_DEFAULT>;
676
- createdAt: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_CREATED_AT>, typeof alepha_orm64.PG_DEFAULT>;
677
- updatedAt: alepha_orm64.PgAttr<alepha_orm64.PgAttr<alepha160.TString, typeof alepha_orm64.PG_UPDATED_AT>, typeof alepha_orm64.PG_DEFAULT>;
678
- blobId: alepha160.TString;
679
- creator: alepha160.TOptional<alepha160.TString>;
680
- creatorRealm: alepha160.TOptional<alepha160.TString>;
681
- creatorName: alepha160.TOptional<alepha160.TString>;
682
- bucket: alepha160.TString;
683
- expirationDate: alepha160.TOptional<alepha160.TString>;
684
- name: alepha160.TString;
685
- size: alepha160.TNumber;
686
- mimeType: alepha160.TString;
687
- tags: alepha160.TOptional<alepha160.TArray<alepha160.TString>>;
688
- checksum: alepha160.TOptional<alepha160.TString>;
673
+ response: alepha135.TObject<{
674
+ id: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_PRIMARY_KEY>, typeof alepha_orm47.PG_DEFAULT>;
675
+ version: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TInteger, typeof alepha_orm47.PG_VERSION>, typeof alepha_orm47.PG_DEFAULT>;
676
+ createdAt: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_CREATED_AT>, typeof alepha_orm47.PG_DEFAULT>;
677
+ updatedAt: alepha_orm47.PgAttr<alepha_orm47.PgAttr<alepha135.TString, typeof alepha_orm47.PG_UPDATED_AT>, typeof alepha_orm47.PG_DEFAULT>;
678
+ blobId: alepha135.TString;
679
+ creator: alepha135.TOptional<alepha135.TString>;
680
+ creatorRealm: alepha135.TOptional<alepha135.TString>;
681
+ creatorName: alepha135.TOptional<alepha135.TString>;
682
+ bucket: alepha135.TString;
683
+ expirationDate: alepha135.TOptional<alepha135.TString>;
684
+ name: alepha135.TString;
685
+ size: alepha135.TNumber;
686
+ mimeType: alepha135.TString;
687
+ tags: alepha135.TOptional<alepha135.TArray<alepha135.TString>>;
688
+ checksum: alepha135.TOptional<alepha135.TString>;
689
689
  }>;
690
690
  }>;
691
691
  /**
@@ -694,10 +694,10 @@ declare class FileController {
694
694
  * Cached with ETag support for 1 year (immutable).
695
695
  */
696
696
  readonly streamFile: alepha_server0.ActionPrimitiveFn<{
697
- params: alepha160.TObject<{
698
- id: alepha160.TString;
697
+ params: alepha135.TObject<{
698
+ id: alepha135.TString;
699
699
  }>;
700
- response: alepha160.TFile;
700
+ response: alepha135.TFile;
701
701
  }>;
702
702
  }
703
703
  //#endregion
@@ -716,17 +716,17 @@ declare class StorageStatsController {
716
716
  * and breakdowns by bucket and MIME type.
717
717
  */
718
718
  readonly getStats: alepha_server0.ActionPrimitiveFn<{
719
- response: alepha160.TObject<{
720
- totalSize: alepha160.TNumber;
721
- totalFiles: alepha160.TNumber;
722
- byBucket: alepha160.TArray<alepha160.TObject<{
723
- bucket: alepha160.TString;
724
- totalSize: alepha160.TNumber;
725
- fileCount: alepha160.TNumber;
719
+ response: alepha135.TObject<{
720
+ totalSize: alepha135.TNumber;
721
+ totalFiles: alepha135.TNumber;
722
+ byBucket: alepha135.TArray<alepha135.TObject<{
723
+ bucket: alepha135.TString;
724
+ totalSize: alepha135.TNumber;
725
+ fileCount: alepha135.TNumber;
726
726
  }>>;
727
- byMimeType: alepha160.TArray<alepha160.TObject<{
728
- mimeType: alepha160.TString;
729
- fileCount: alepha160.TNumber;
727
+ byMimeType: alepha135.TArray<alepha135.TObject<{
728
+ mimeType: alepha135.TString;
729
+ fileCount: alepha135.TNumber;
730
730
  }>>;
731
731
  }>;
732
732
  }>;
@@ -763,7 +763,7 @@ declare module "alepha/bucket" {
763
763
  *
764
764
  * @module alepha.api.files
765
765
  */
766
- declare const AlephaApiFiles: alepha160.Service<alepha160.Module>;
766
+ declare const AlephaApiFiles: alepha135.Service<alepha135.Module>;
767
767
  //#endregion
768
768
  export { AlephaApiFiles, BucketStats, FileController, FileEntity, FileService, MimeTypeStats, StorageStats, StorageStatsController, bucketStatsSchema, files, mimeTypeStatsSchema, storageStatsSchema };
769
769
  //# sourceMappingURL=index.d.ts.map