@eventualize/postgres-storage-adapter 1.0.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 (57) hide show
  1. package/dist/EvDbPostgresPrismaClientFactory.d.ts +3 -0
  2. package/dist/EvDbPostgresPrismaClientFactory.js +10 -0
  3. package/dist/EvDbPostgresPrismaClientFactory.js.map +1 -0
  4. package/dist/generated/prisma/browser.d.ts +19 -0
  5. package/dist/generated/prisma/browser.js +18 -0
  6. package/dist/generated/prisma/browser.js.map +1 -0
  7. package/dist/generated/prisma/client.d.ts +36 -0
  8. package/dist/generated/prisma/client.js +33 -0
  9. package/dist/generated/prisma/client.js.map +1 -0
  10. package/dist/generated/prisma/commonInputTypes.d.ts +378 -0
  11. package/dist/generated/prisma/commonInputTypes.js +11 -0
  12. package/dist/generated/prisma/commonInputTypes.js.map +1 -0
  13. package/dist/generated/prisma/enums.d.ts +1 -0
  14. package/dist/generated/prisma/enums.js +11 -0
  15. package/dist/generated/prisma/enums.js.map +1 -0
  16. package/dist/generated/prisma/internal/class.d.ts +148 -0
  17. package/dist/generated/prisma/internal/class.js +41 -0
  18. package/dist/generated/prisma/internal/class.js.map +1 -0
  19. package/dist/generated/prisma/internal/prismaNamespace.d.ts +759 -0
  20. package/dist/generated/prisma/internal/prismaNamespace.js +144 -0
  21. package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -0
  22. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +109 -0
  23. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +115 -0
  24. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
  25. package/dist/generated/prisma/models/events.d.ts +1178 -0
  26. package/dist/generated/prisma/models/events.js +2 -0
  27. package/dist/generated/prisma/models/events.js.map +1 -0
  28. package/dist/generated/prisma/models/outbox.d.ts +1261 -0
  29. package/dist/generated/prisma/models/outbox.js +2 -0
  30. package/dist/generated/prisma/models/outbox.js.map +1 -0
  31. package/dist/generated/prisma/models/snapshot.d.ts +1088 -0
  32. package/dist/generated/prisma/models/snapshot.js +2 -0
  33. package/dist/generated/prisma/models/snapshot.js.map +1 -0
  34. package/dist/generated/prisma/models.d.ts +4 -0
  35. package/dist/generated/prisma/models.js +2 -0
  36. package/dist/generated/prisma/models.js.map +1 -0
  37. package/package.json +31 -0
  38. package/prisma/migrations/20251211113311_change_outbox_payload_to_json/migration.sql +62 -0
  39. package/prisma/migrations/migration_lock.toml +3 -0
  40. package/prisma/schema.prisma +61 -0
  41. package/prisma.config.d.ts +3 -0
  42. package/prisma.config.js +14 -0
  43. package/prisma.config.js.map +1 -0
  44. package/prisma.config.ts +14 -0
  45. package/src/EvDbPostgresPrismaClientFactory.ts +12 -0
  46. package/src/generated/prisma/browser.ts +34 -0
  47. package/src/generated/prisma/client.ts +56 -0
  48. package/src/generated/prisma/commonInputTypes.ts +459 -0
  49. package/src/generated/prisma/enums.ts +15 -0
  50. package/src/generated/prisma/internal/class.ts +210 -0
  51. package/src/generated/prisma/internal/prismaNamespace.ts +1029 -0
  52. package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +169 -0
  53. package/src/generated/prisma/models/events.ts +1339 -0
  54. package/src/generated/prisma/models/outbox.ts +1420 -0
  55. package/src/generated/prisma/models/snapshot.ts +1246 -0
  56. package/src/generated/prisma/models.ts +14 -0
  57. package/tsconfig.json +19 -0
@@ -0,0 +1,144 @@
1
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
+ /* eslint-disable */
3
+ // biome-ignore-all lint: generated file
4
+ // @ts-nocheck
5
+ /*
6
+ * WARNING: This is an internal file that is subject to change!
7
+ *
8
+ * 🛑 Under no circumstances should you import this file directly! 🛑
9
+ *
10
+ * All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file.
11
+ * While this enables partial backward compatibility, it is not part of the stable public API.
12
+ *
13
+ * If you are looking for your Models, Enums, and Input Types, please import them from the respective
14
+ * model files in the `model` directory!
15
+ */
16
+ import * as runtime from "@prisma/client/runtime/client";
17
+ /**
18
+ * Prisma Errors
19
+ */
20
+ export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
21
+ export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
22
+ export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
23
+ export const PrismaClientInitializationError = runtime.PrismaClientInitializationError;
24
+ export const PrismaClientValidationError = runtime.PrismaClientValidationError;
25
+ /**
26
+ * Re-export of sql-template-tag
27
+ */
28
+ export const sql = runtime.sqltag;
29
+ export const empty = runtime.empty;
30
+ export const join = runtime.join;
31
+ export const raw = runtime.raw;
32
+ export const Sql = runtime.Sql;
33
+ /**
34
+ * Decimal.js
35
+ */
36
+ export const Decimal = runtime.Decimal;
37
+ export const getExtensionContext = runtime.Extensions.getExtensionContext;
38
+ /**
39
+ * Prisma Client JS version: 7.1.0
40
+ * Query Engine version: ab635e6b9d606fa5c8fb8b1a7f909c3c3c1c98ba
41
+ */
42
+ export const prismaVersion = {
43
+ client: "7.1.0",
44
+ engine: "ab635e6b9d606fa5c8fb8b1a7f909c3c3c1c98ba"
45
+ };
46
+ export const NullTypes = {
47
+ DbNull: runtime.NullTypes.DbNull,
48
+ JsonNull: runtime.NullTypes.JsonNull,
49
+ AnyNull: runtime.NullTypes.AnyNull,
50
+ };
51
+ /**
52
+ * Helper for filtering JSON entries that have `null` on the database (empty on the db)
53
+ *
54
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
55
+ */
56
+ export const DbNull = runtime.DbNull;
57
+ /**
58
+ * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
59
+ *
60
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
61
+ */
62
+ export const JsonNull = runtime.JsonNull;
63
+ /**
64
+ * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
65
+ *
66
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
67
+ */
68
+ export const AnyNull = runtime.AnyNull;
69
+ export const ModelName = {
70
+ events: 'events',
71
+ outbox: 'outbox',
72
+ snapshot: 'snapshot'
73
+ };
74
+ /**
75
+ * Enums
76
+ */
77
+ export const TransactionIsolationLevel = runtime.makeStrictEnum({
78
+ ReadUncommitted: 'ReadUncommitted',
79
+ ReadCommitted: 'ReadCommitted',
80
+ RepeatableRead: 'RepeatableRead',
81
+ Serializable: 'Serializable'
82
+ });
83
+ export const EventsScalarFieldEnum = {
84
+ id: 'id',
85
+ stream_type: 'stream_type',
86
+ stream_id: 'stream_id',
87
+ offset: 'offset',
88
+ event_type: 'event_type',
89
+ telemetry_context: 'telemetry_context',
90
+ captured_by: 'captured_by',
91
+ captured_at: 'captured_at',
92
+ stored_at: 'stored_at',
93
+ payload: 'payload'
94
+ };
95
+ export const OutboxScalarFieldEnum = {
96
+ id: 'id',
97
+ stream_type: 'stream_type',
98
+ stream_id: 'stream_id',
99
+ offset: 'offset',
100
+ event_type: 'event_type',
101
+ channel: 'channel',
102
+ message_type: 'message_type',
103
+ serialize_type: 'serialize_type',
104
+ telemetry_context: 'telemetry_context',
105
+ captured_by: 'captured_by',
106
+ captured_at: 'captured_at',
107
+ stored_at: 'stored_at',
108
+ payload: 'payload'
109
+ };
110
+ export const SnapshotScalarFieldEnum = {
111
+ id: 'id',
112
+ stream_type: 'stream_type',
113
+ stream_id: 'stream_id',
114
+ view_name: 'view_name',
115
+ offset: 'offset',
116
+ state: 'state',
117
+ stored_at: 'stored_at'
118
+ };
119
+ export const SortOrder = {
120
+ asc: 'asc',
121
+ desc: 'desc'
122
+ };
123
+ export const NullableJsonNullValueInput = {
124
+ DbNull: DbNull,
125
+ JsonNull: JsonNull
126
+ };
127
+ export const JsonNullValueInput = {
128
+ JsonNull: JsonNull
129
+ };
130
+ export const QueryMode = {
131
+ default: 'default',
132
+ insensitive: 'insensitive'
133
+ };
134
+ export const JsonNullValueFilter = {
135
+ DbNull: DbNull,
136
+ JsonNull: JsonNull,
137
+ AnyNull: AnyNull
138
+ };
139
+ export const NullsOrder = {
140
+ first: 'first',
141
+ last: 'last'
142
+ };
143
+ export const defineExtension = runtime.Extensions.defineExtension;
144
+ //# sourceMappingURL=prismaNamespace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prismaNamespace.js","sourceRoot":"","sources":["../../../../src/generated/prisma/internal/prismaNamespace.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AAUxD;;GAEG;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,OAAO,CAAC,6BAA6B,CAAA;AAGlF,MAAM,CAAC,MAAM,+BAA+B,GAAG,OAAO,CAAC,+BAA+B,CAAA;AAGtF,MAAM,CAAC,MAAM,0BAA0B,GAAG,OAAO,CAAC,0BAA0B,CAAA;AAG5E,MAAM,CAAC,MAAM,+BAA+B,GAAG,OAAO,CAAC,+BAA+B,CAAA;AAGtF,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC,2BAA2B,CAAA;AAG9E;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAA;AACjC,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;AAClC,MAAM,CAAC,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;AAChC,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;AAC9B,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;AAK9B;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AAStC,MAAM,CAAC,MAAM,mBAAmB,GAAG,OAAO,CAAC,UAAU,CAAC,mBAA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/runtime/index-browser";
2
+ export type * from '../models.js';
3
+ export type * from './prismaNamespace.js';
4
+ export declare const Decimal: typeof runtime.Decimal;
5
+ export declare const NullTypes: {
6
+ DbNull: (new (secret: never) => typeof runtime.DbNull);
7
+ JsonNull: (new (secret: never) => typeof runtime.JsonNull);
8
+ AnyNull: (new (secret: never) => typeof runtime.AnyNull);
9
+ };
10
+ /**
11
+ * Helper for filtering JSON entries that have `null` on the database (empty on the db)
12
+ *
13
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
14
+ */
15
+ export declare const DbNull: import("@prisma/client-runtime-utils").DbNullClass;
16
+ /**
17
+ * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
18
+ *
19
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
20
+ */
21
+ export declare const JsonNull: import("@prisma/client-runtime-utils").JsonNullClass;
22
+ /**
23
+ * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
24
+ *
25
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
26
+ */
27
+ export declare const AnyNull: import("@prisma/client-runtime-utils").AnyNullClass;
28
+ export declare const ModelName: {
29
+ readonly events: "events";
30
+ readonly outbox: "outbox";
31
+ readonly snapshot: "snapshot";
32
+ };
33
+ export type ModelName = (typeof ModelName)[keyof typeof ModelName];
34
+ export declare const TransactionIsolationLevel: {
35
+ readonly ReadUncommitted: "ReadUncommitted";
36
+ readonly ReadCommitted: "ReadCommitted";
37
+ readonly RepeatableRead: "RepeatableRead";
38
+ readonly Serializable: "Serializable";
39
+ };
40
+ export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
41
+ export declare const EventsScalarFieldEnum: {
42
+ readonly id: "id";
43
+ readonly stream_type: "stream_type";
44
+ readonly stream_id: "stream_id";
45
+ readonly offset: "offset";
46
+ readonly event_type: "event_type";
47
+ readonly telemetry_context: "telemetry_context";
48
+ readonly captured_by: "captured_by";
49
+ readonly captured_at: "captured_at";
50
+ readonly stored_at: "stored_at";
51
+ readonly payload: "payload";
52
+ };
53
+ export type EventsScalarFieldEnum = (typeof EventsScalarFieldEnum)[keyof typeof EventsScalarFieldEnum];
54
+ export declare const OutboxScalarFieldEnum: {
55
+ readonly id: "id";
56
+ readonly stream_type: "stream_type";
57
+ readonly stream_id: "stream_id";
58
+ readonly offset: "offset";
59
+ readonly event_type: "event_type";
60
+ readonly channel: "channel";
61
+ readonly message_type: "message_type";
62
+ readonly serialize_type: "serialize_type";
63
+ readonly telemetry_context: "telemetry_context";
64
+ readonly captured_by: "captured_by";
65
+ readonly captured_at: "captured_at";
66
+ readonly stored_at: "stored_at";
67
+ readonly payload: "payload";
68
+ };
69
+ export type OutboxScalarFieldEnum = (typeof OutboxScalarFieldEnum)[keyof typeof OutboxScalarFieldEnum];
70
+ export declare const SnapshotScalarFieldEnum: {
71
+ readonly id: "id";
72
+ readonly stream_type: "stream_type";
73
+ readonly stream_id: "stream_id";
74
+ readonly view_name: "view_name";
75
+ readonly offset: "offset";
76
+ readonly state: "state";
77
+ readonly stored_at: "stored_at";
78
+ };
79
+ export type SnapshotScalarFieldEnum = (typeof SnapshotScalarFieldEnum)[keyof typeof SnapshotScalarFieldEnum];
80
+ export declare const SortOrder: {
81
+ readonly asc: "asc";
82
+ readonly desc: "desc";
83
+ };
84
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
85
+ export declare const NullableJsonNullValueInput: {
86
+ readonly DbNull: "DbNull";
87
+ readonly JsonNull: "JsonNull";
88
+ };
89
+ export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput];
90
+ export declare const JsonNullValueInput: {
91
+ readonly JsonNull: "JsonNull";
92
+ };
93
+ export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput];
94
+ export declare const QueryMode: {
95
+ readonly default: "default";
96
+ readonly insensitive: "insensitive";
97
+ };
98
+ export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode];
99
+ export declare const JsonNullValueFilter: {
100
+ readonly DbNull: "DbNull";
101
+ readonly JsonNull: "JsonNull";
102
+ readonly AnyNull: "AnyNull";
103
+ };
104
+ export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter];
105
+ export declare const NullsOrder: {
106
+ readonly first: "first";
107
+ readonly last: "last";
108
+ };
109
+ export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder];
@@ -0,0 +1,115 @@
1
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
+ /* eslint-disable */
3
+ // biome-ignore-all lint: generated file
4
+ // @ts-nocheck
5
+ /*
6
+ * WARNING: This is an internal file that is subject to change!
7
+ *
8
+ * 🛑 Under no circumstances should you import this file directly! 🛑
9
+ *
10
+ * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
11
+ * While this enables partial backward compatibility, it is not part of the stable public API.
12
+ *
13
+ * If you are looking for your Models, Enums, and Input Types, please import them from the respective
14
+ * model files in the `model` directory!
15
+ */
16
+ import * as runtime from "@prisma/client/runtime/index-browser";
17
+ export const Decimal = runtime.Decimal;
18
+ export const NullTypes = {
19
+ DbNull: runtime.NullTypes.DbNull,
20
+ JsonNull: runtime.NullTypes.JsonNull,
21
+ AnyNull: runtime.NullTypes.AnyNull,
22
+ };
23
+ /**
24
+ * Helper for filtering JSON entries that have `null` on the database (empty on the db)
25
+ *
26
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
27
+ */
28
+ export const DbNull = runtime.DbNull;
29
+ /**
30
+ * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
31
+ *
32
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
33
+ */
34
+ export const JsonNull = runtime.JsonNull;
35
+ /**
36
+ * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
37
+ *
38
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
39
+ */
40
+ export const AnyNull = runtime.AnyNull;
41
+ export const ModelName = {
42
+ events: 'events',
43
+ outbox: 'outbox',
44
+ snapshot: 'snapshot'
45
+ };
46
+ /*
47
+ * Enums
48
+ */
49
+ export const TransactionIsolationLevel = {
50
+ ReadUncommitted: 'ReadUncommitted',
51
+ ReadCommitted: 'ReadCommitted',
52
+ RepeatableRead: 'RepeatableRead',
53
+ Serializable: 'Serializable'
54
+ };
55
+ export const EventsScalarFieldEnum = {
56
+ id: 'id',
57
+ stream_type: 'stream_type',
58
+ stream_id: 'stream_id',
59
+ offset: 'offset',
60
+ event_type: 'event_type',
61
+ telemetry_context: 'telemetry_context',
62
+ captured_by: 'captured_by',
63
+ captured_at: 'captured_at',
64
+ stored_at: 'stored_at',
65
+ payload: 'payload'
66
+ };
67
+ export const OutboxScalarFieldEnum = {
68
+ id: 'id',
69
+ stream_type: 'stream_type',
70
+ stream_id: 'stream_id',
71
+ offset: 'offset',
72
+ event_type: 'event_type',
73
+ channel: 'channel',
74
+ message_type: 'message_type',
75
+ serialize_type: 'serialize_type',
76
+ telemetry_context: 'telemetry_context',
77
+ captured_by: 'captured_by',
78
+ captured_at: 'captured_at',
79
+ stored_at: 'stored_at',
80
+ payload: 'payload'
81
+ };
82
+ export const SnapshotScalarFieldEnum = {
83
+ id: 'id',
84
+ stream_type: 'stream_type',
85
+ stream_id: 'stream_id',
86
+ view_name: 'view_name',
87
+ offset: 'offset',
88
+ state: 'state',
89
+ stored_at: 'stored_at'
90
+ };
91
+ export const SortOrder = {
92
+ asc: 'asc',
93
+ desc: 'desc'
94
+ };
95
+ export const NullableJsonNullValueInput = {
96
+ DbNull: 'DbNull',
97
+ JsonNull: 'JsonNull'
98
+ };
99
+ export const JsonNullValueInput = {
100
+ JsonNull: 'JsonNull'
101
+ };
102
+ export const QueryMode = {
103
+ default: 'default',
104
+ insensitive: 'insensitive'
105
+ };
106
+ export const JsonNullValueFilter = {
107
+ DbNull: 'DbNull',
108
+ JsonNull: 'JsonNull',
109
+ AnyNull: 'AnyNull'
110
+ };
111
+ export const NullsOrder = {
112
+ first: 'first',
113
+ last: 'last'
114
+ };
115
+ //# sourceMappingURL=prismaNamespaceBrowser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prismaNamespaceBrowser.js","sourceRoot":"","sources":["../../../../src/generated/prisma/internal/prismaNamespaceBrowser.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,sCAAsC,CAAA;AAK/D,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AAGtC,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,MAAwD;IAClF,QAAQ,EAAE,OAAO,CAAC,SAAS,CAAC,QAA4D;IACxF,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,OAA0D;CACtF,CAAA;AACD;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;AAEpC;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAA;AAExC;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AAGtC,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACZ,CAAA;AAIV;;GAEG;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,eAAe,EAAE,iBAAiB;IAClC,aAAa,EAAE,eAAe;IAC9B,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