@dimah-s3/db 0.1.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.
Files changed (46) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -0
  3. package/dist/cli.d.ts +5 -0
  4. package/dist/cli.d.ts.map +1 -0
  5. package/dist/cli.js +16 -0
  6. package/dist/cli.js.map +1 -0
  7. package/dist/client/db-client.d.ts +20 -0
  8. package/dist/client/db-client.d.ts.map +1 -0
  9. package/dist/client/index.d.ts +3 -0
  10. package/dist/client/index.d.ts.map +1 -0
  11. package/dist/client/index.js +18 -0
  12. package/dist/client/index.js.map +1 -0
  13. package/dist/errors.d.ts +16 -0
  14. package/dist/errors.d.ts.map +1 -0
  15. package/dist/fuma-db.d.ts +25 -0
  16. package/dist/fuma-db.d.ts.map +1 -0
  17. package/dist/hooks/create-object-access-guard.d.ts +34 -0
  18. package/dist/hooks/create-object-access-guard.d.ts.map +1 -0
  19. package/dist/index.d.ts +15 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +477 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/jobs/purge-stale-pending.d.ts +26 -0
  24. package/dist/jobs/purge-stale-pending.d.ts.map +1 -0
  25. package/dist/plugin/create-database-endpoints.d.ts +12 -0
  26. package/dist/plugin/create-database-endpoints.d.ts.map +1 -0
  27. package/dist/plugin/create-database-lifecycle-hooks.d.ts +18 -0
  28. package/dist/plugin/create-database-lifecycle-hooks.d.ts.map +1 -0
  29. package/dist/plugin/db.d.ts +73 -0
  30. package/dist/plugin/db.d.ts.map +1 -0
  31. package/dist/plugin/to-db-client-object.d.ts +7 -0
  32. package/dist/plugin/to-db-client-object.d.ts.map +1 -0
  33. package/dist/plugin/to-db-client-object.test.d.ts +2 -0
  34. package/dist/plugin/to-db-client-object.test.d.ts.map +1 -0
  35. package/dist/schema/v1.d.ts +29 -0
  36. package/dist/schema/v1.d.ts.map +1 -0
  37. package/dist/store/map-row.d.ts +25 -0
  38. package/dist/store/map-row.d.ts.map +1 -0
  39. package/dist/store/storage-object-store.d.ts +101 -0
  40. package/dist/store/storage-object-store.d.ts.map +1 -0
  41. package/dist/types/storage-object.d.ts +67 -0
  42. package/dist/types/storage-object.d.ts.map +1 -0
  43. package/package.json +77 -0
  44. package/src/schema/examples/README.md +10 -0
  45. package/src/schema/examples/drizzle.ts +75 -0
  46. package/src/schema/examples/schema.prisma +53 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hamidreza
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # @dimah-s3/db
2
+
3
+ Optional FumaDB persistence for [dimah-s3](https://github.com/dimah-kz/dimah-s3) — `storage_object` table via the `db()` plugin.
4
+
5
+ **Docs:** [Setup](https://dimah-s3.dev/docs/db/setup) · [Hooks](https://dimah-s3.dev/docs/db/hooks) · **Example:** [`examples/with-db`](../../examples/with-db)
6
+
7
+ ```ts
8
+ import { DimahS3DB, db } from "@dimah-s3/db";
9
+ import { dimahS3 } from "@dimah-s3/server";
10
+ import { drizzleAdapter } from "fumadb/adapters/drizzle";
11
+
12
+ export const dimahS3Db = DimahS3DB.client(
13
+ drizzleAdapter({ db: drizzleDb, provider: "sqlite" }),
14
+ );
15
+
16
+ export const s3 = dimahS3({
17
+ s3: s3Client,
18
+ defaultBucket,
19
+ upload: { enabled: true },
20
+ multipart: { enabled: true },
21
+ download: { enabled: true },
22
+ delete: { enabled: true },
23
+ plugins: [
24
+ db({
25
+ client: dimahS3Db,
26
+ resolveScope: async (request) => {
27
+ const session = await getSession(request);
28
+ return session ? `user:${session.userId}` : null;
29
+ },
30
+ }),
31
+ ],
32
+ });
33
+
34
+ s3.db.objects.listByScope({ scope });
35
+ ```
36
+
37
+ Copy-paste schemas (with indexes): [`drizzle.ts`](./src/schema/examples/drizzle.ts) · [`schema.prisma`](./src/schema/examples/schema.prisma)
package/dist/cli.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import type { InferFumaDB } from "fumadb";
2
+ import { DimahS3DB } from "./fuma-db";
3
+ /** Run the interactive FumaDB CLI (generate schema, migrate when using Kysely, etc.). */
4
+ export declare function runCli(db: InferFumaDB<typeof DimahS3DB>): Promise<void>;
5
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAItC,yFAAyF;AACzF,wBAAgB,MAAM,CAAC,EAAE,EAAE,WAAW,CAAC,OAAO,SAAS,CAAC,iBASvD"}
package/dist/cli.js ADDED
@@ -0,0 +1,16 @@
1
+ import { createCli } from 'fumadb/cli';
2
+
3
+ // src/cli.ts
4
+ function runCli(db) {
5
+ const { main } = createCli({
6
+ db,
7
+ command: "dimah-s3-db",
8
+ description: "FumaDB CLI for @dimah-s3/db",
9
+ version: "0.1.0"
10
+ });
11
+ return main();
12
+ }
13
+
14
+ export { runCli };
15
+ //# sourceMappingURL=cli.js.map
16
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/cli.ts"],"names":[],"mappings":";;;AAOO,SAAS,OAAO,EAAA,EAAmC;AACxD,EAAA,MAAM,EAAE,IAAA,EAAK,GAAI,SAAA,CAAU;AAAA,IACzB,EAAA;AAAA,IACA,OAAA,EAAS,aAAA;AAAA,IACT,WAAA,EAAa,6BAAA;AAAA,IACb,OAAA,EAAS;AAAA,GACV,CAAA;AAED,EAAA,OAAO,IAAA,EAAK;AACd","file":"cli.js","sourcesContent":["import { createCli } from \"fumadb/cli\";\nimport type { InferFumaDB } from \"fumadb\";\nimport { DimahS3DB } from \"./fuma-db\";\n\ndeclare const __DIMAH_S3_DB_VERSION__: string;\n\n/** Run the interactive FumaDB CLI (generate schema, migrate when using Kysely, etc.). */\nexport function runCli(db: InferFumaDB<typeof DimahS3DB>) {\n const { main } = createCli({\n db,\n command: \"dimah-s3-db\",\n description: \"FumaDB CLI for @dimah-s3/db\",\n version: __DIMAH_S3_DB_VERSION__,\n });\n\n return main();\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import type { DbClientListInput, DbClientListResponse } from "../types/storage-object";
2
+ export type { DbClientListInput, DbClientListResponse, DbClientObject, } from "../types/storage-object";
3
+ /**
4
+ * Client plugin for the server `db()` endpoints.
5
+ *
6
+ * ```ts
7
+ * import { createS3Client } from "@dimah-s3/react";
8
+ * import { dbClient } from "@dimah-s3/db/client";
9
+ *
10
+ * export const { api, useApi } = createS3Client({
11
+ * plugins: [dbClient()],
12
+ * });
13
+ *
14
+ * await api.db.listObjects();
15
+ * ```
16
+ */
17
+ export declare function dbClient(): import("@dimah-s3/core").S3ClientPlugin<"db", {
18
+ listObjects: (input?: DbClientListInput) => Promise<DbClientListResponse>;
19
+ }>;
20
+ //# sourceMappingURL=db-client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-client.d.ts","sourceRoot":"","sources":["../../src/client/db-client.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EACV,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,GACf,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,QAAQ;0BAII,iBAAiB;GAO5C"}
@@ -0,0 +1,3 @@
1
+ export { dbClient } from "./db-client";
2
+ export type { DbClientListInput, DbClientListResponse, DbClientObject, } from "./db-client";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,YAAY,EACV,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,GACf,MAAM,aAAa,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { defineClientPlugin, pluginEndpointPath } from '@dimah-s3/core';
2
+
3
+ // src/client/db-client.ts
4
+ function dbClient() {
5
+ return defineClientPlugin({
6
+ id: "db",
7
+ createMethods: (fetcher) => ({
8
+ listObjects: (input) => fetcher.get(
9
+ pluginEndpointPath("db", "objects"),
10
+ input
11
+ )
12
+ })
13
+ });
14
+ }
15
+
16
+ export { dbClient };
17
+ //# sourceMappingURL=index.js.map
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/client/db-client.ts"],"names":[],"mappings":";;;AA0BO,SAAS,QAAA,GAAW;AACzB,EAAA,OAAO,kBAAA,CAAmB;AAAA,IACxB,EAAA,EAAI,IAAA;AAAA,IACJ,aAAA,EAAe,CAAC,OAAA,MAAa;AAAA,MAC3B,WAAA,EAAa,CAAC,KAAA,KACZ,OAAA,CAAQ,GAAA;AAAA,QACN,kBAAA,CAAmB,MAAM,SAAS,CAAA;AAAA,QAClC;AAAA;AACF,KACJ;AAAA,GACD,CAAA;AACH","file":"index.js","sourcesContent":["import { defineClientPlugin, pluginEndpointPath } from \"@dimah-s3/core\";\nimport type {\n DbClientListInput,\n DbClientListResponse,\n} from \"../types/storage-object\";\n\nexport type {\n DbClientListInput,\n DbClientListResponse,\n DbClientObject,\n} from \"../types/storage-object\";\n\n/**\n * Client plugin for the server `db()` endpoints.\n *\n * ```ts\n * import { createS3Client } from \"@dimah-s3/react\";\n * import { dbClient } from \"@dimah-s3/db/client\";\n *\n * export const { api, useApi } = createS3Client({\n * plugins: [dbClient()],\n * });\n *\n * await api.db.listObjects();\n * ```\n */\nexport function dbClient() {\n return defineClientPlugin({\n id: \"db\",\n createMethods: (fetcher) => ({\n listObjects: (input?: DbClientListInput) =>\n fetcher.get<DbClientListResponse>(\n pluginEndpointPath(\"db\", \"objects\"),\n input,\n ),\n }),\n });\n}\n"]}
@@ -0,0 +1,16 @@
1
+ import { DimahS3Error } from "@dimah-s3/core";
2
+ /** Error codes thrown by @dimah-s3/db guards and store operations. */
3
+ export type DimahS3DbErrorCode = "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "CONFLICT";
4
+ /**
5
+ * DB-scoped error — extends {@link DimahS3Error} so the server guard runner
6
+ * maps `status` to the HTTP response, and the client fetcher preserves it.
7
+ */
8
+ export declare class DimahS3DbError extends DimahS3Error {
9
+ readonly code: DimahS3DbErrorCode;
10
+ constructor(code: DimahS3DbErrorCode, message: string);
11
+ }
12
+ export declare function unauthorized(message?: string): DimahS3DbError;
13
+ export declare function forbidden(message?: string): DimahS3DbError;
14
+ export declare function notFound(message?: string): DimahS3DbError;
15
+ export declare function conflict(message?: string): DimahS3DbError;
16
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,sEAAsE;AACtE,MAAM,MAAM,kBAAkB,GAC5B,cAAc,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU,CAAC;AAS1D;;;GAGG;AACH,qBAAa,cAAe,SAAQ,YAAY;IAC9C,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAElC,YAAY,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,EAIpD;CACF;AAED,wBAAgB,YAAY,CAAC,OAAO,SAAiB,GAAG,cAAc,CAErE;AAED,wBAAgB,SAAS,CAAC,OAAO,SAAc,GAAG,cAAc,CAE/D;AAED,wBAAgB,QAAQ,CAAC,OAAO,SAAqB,GAAG,cAAc,CAErE;AAED,wBAAgB,QAAQ,CAAC,OAAO,SAAa,GAAG,cAAc,CAE7D"}
@@ -0,0 +1,25 @@
1
+ import { v1 } from "./schema/v1";
2
+ export declare const DimahS3DB: import("fumadb").FumaDBFactory<import("fumadb/schema").Schema<"1.0.0", {
3
+ storageObject: import("fumadb/schema").Table<{
4
+ id: import("fumadb/schema").IdColumn<"varchar(255)", string | null, string>;
5
+ scope: import("fumadb/schema").Column<"string", string, string>;
6
+ bucket: import("fumadb/schema").Column<"string", string, string>;
7
+ key: import("fumadb/schema").Column<"string", string, string>;
8
+ contentType: import("fumadb/schema").Column<"string", string | null, string | null>;
9
+ size: import("fumadb/schema").Column<"bigint", bigint | null, bigint | null>;
10
+ eTag: import("fumadb/schema").Column<"string", string | null, string | null>;
11
+ filename: import("fumadb/schema").Column<"string", string | null, string | null>;
12
+ status: import("fumadb/schema").Column<"string", string, string>;
13
+ metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
14
+ acl: import("fumadb/schema").Column<"string", string | null, string | null>;
15
+ uploadId: import("fumadb/schema").Column<"string", string | null, string | null>;
16
+ declaredSize: import("fumadb/schema").Column<"bigint", bigint | null, bigint | null>;
17
+ confirmedAt: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
18
+ expiresAt: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
19
+ createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
20
+ updatedAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
21
+ deletedAt: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
22
+ }, {}>;
23
+ }>[]>;
24
+ export { v1 };
25
+ //# sourceMappingURL=fuma-db.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fuma-db.d.ts","sourceRoot":"","sources":["../src/fuma-db.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;KAGpB,CAAC;AAEH,OAAO,EAAE,EAAE,EAAE,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { type DimahS3DbClient, type StorageObjectStore } from "../store/storage-object-store";
2
+ import type { ScopeResolver, StorageObject, StorageObjectStatus } from "../types/storage-object";
3
+ /** Minimal context the guard needs — matches every key-bearing server hook context. */
4
+ export type ObjectAccessGuardContext = {
5
+ request: Request;
6
+ key: string;
7
+ bucket: string;
8
+ };
9
+ export type CreateObjectAccessGuardOptions = {
10
+ db: DimahS3DbClient | StorageObjectStore;
11
+ resolveScope: ScopeResolver;
12
+ /**
13
+ * Which rows count as accessible.
14
+ * @default "active"
15
+ */
16
+ requireStatus?: StorageObjectStatus | "any";
17
+ /**
18
+ * Replace the default `object.scope === scope` ownership check —
19
+ * e.g. also allow objects whose metadata marks them public.
20
+ */
21
+ authorize?: (object: StorageObject, context: ObjectAccessGuardContext & {
22
+ scope: string;
23
+ }) => boolean | Promise<boolean>;
24
+ };
25
+ export declare function resolveStore(db: DimahS3DbClient | StorageObjectStore): StorageObjectStore;
26
+ /**
27
+ * Guard that checks the requested object exists in the DB and belongs to the
28
+ * caller's scope. Throws `DimahS3DbError` (401 / 404 / 403) to reject.
29
+ *
30
+ * Usable as `download.presignGuard`, `delete.guard`,
31
+ * `upload.confirmGuard`, or in your own routes.
32
+ */
33
+ export declare function createObjectAccessGuard(options: CreateObjectAccessGuardOptions): (context: ObjectAccessGuardContext) => Promise<void>;
34
+ //# sourceMappingURL=create-object-access-guard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-object-access-guard.d.ts","sourceRoot":"","sources":["../../src/hooks/create-object-access-guard.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,mBAAmB,EACpB,MAAM,yBAAyB,CAAC;AAEjC,uFAAuF;AACvF,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,EAAE,EAAE,eAAe,GAAG,kBAAkB,CAAC;IACzC,YAAY,EAAE,aAAa,CAAC;IAC5B;;;OAGG;IACH,aAAa,CAAC,EAAE,mBAAmB,GAAG,KAAK,CAAC;IAC5C;;;OAGG;IACH,SAAS,CAAC,EAAE,CACV,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,wBAAwB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,KAClD,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC;AAEF,wBAAgB,YAAY,CAC1B,EAAE,EAAE,eAAe,GAAG,kBAAkB,GACvC,kBAAkB,CAEpB;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,8BAA8B,GACtC,CAAC,OAAO,EAAE,wBAAwB,KAAK,OAAO,CAAC,IAAI,CAAC,CAwBtD"}
@@ -0,0 +1,15 @@
1
+ export { DimahS3DB, v1 } from "./fuma-db";
2
+ export type { DbClientListInput, DbClientListResponse, DbClientObject, ScopeResolver, StorageObject, StorageObjectStatus, } from "./types/storage-object";
3
+ export { DimahS3DbError, conflict, forbidden, notFound, unauthorized, } from "./errors";
4
+ export type { DimahS3DbErrorCode } from "./errors";
5
+ export { createStorageObjectStore, toPendingMultipartResume, } from "./store/storage-object-store";
6
+ export type { DimahS3DbClient, FindPendingMultipartInput, ListByScopeInput, MarkActiveInput, ObjectRef, PendingMultipartResume, ScopeUsage, StorageObjectStore, UpsertPendingInput, } from "./store/storage-object-store";
7
+ export { mapStorageObjectRow } from "./store/map-row";
8
+ export type { StorageObjectRow } from "./store/map-row";
9
+ export { db } from "./plugin/db";
10
+ export type { DbPluginContext, DbPluginOptions } from "./plugin/db";
11
+ export { createObjectAccessGuard } from "./hooks/create-object-access-guard";
12
+ export type { CreateObjectAccessGuardOptions, ObjectAccessGuardContext, } from "./hooks/create-object-access-guard";
13
+ export { purgeStalePendingObjects } from "./jobs/purge-stale-pending";
14
+ export type { PurgeStalePendingOptions, PurgeStalePendingResult, } from "./jobs/purge-stale-pending";
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAG1C,YAAY,EACV,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,aAAa,EACb,mBAAmB,GACpB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,cAAc,EACd,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAY,GACb,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,OAAO,EACL,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,eAAe,EACf,yBAAyB,EACzB,gBAAgB,EAChB,eAAe,EACf,SAAS,EACT,sBAAsB,EACtB,UAAU,EACV,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,YAAY,EACV,8BAA8B,EAC9B,wBAAwB,GACzB,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EACV,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,4BAA4B,CAAC"}