@marcoappio/marco-config 4.0.24 → 4.0.26

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/appwrite/tableContract/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,6BAA6B,CAAA;AAK/C,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAGhC,MAAM,UAAU,CAAA;AAEjB,cAAc,UAAU,CAAA;AAExB,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA;AAElE,MAAM,MAAM,eAAe,CAAC,MAAM,SAAS,gBAAgB,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AAClH,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAA;AAC/C,MAAM,MAAM,WAAW,CAAC,MAAM,SAAS,gBAAgB,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AAE7G,YAAY,EAAE,wBAAwB,EAAE,CAAA"}
@@ -72,14 +72,8 @@ const appwriteTableIdentity = (tableKey) => {
72
72
  }
73
73
  throw new Error(`Unknown Appwrite table key: ${tableKey}`);
74
74
  };
75
- export function defineAppwriteTables(tables) {
76
- const createDataSchemaForTable = (fields, dataCheck) => {
77
- if (dataCheck) {
78
- return createDataSchema(fields, dataCheck);
79
- }
80
- return createDataSchema(fields);
81
- };
82
- const dataSchemas = Object.fromEntries(Object.entries(tables).map(([tableKey, table]) => [tableKey, createDataSchemaForTable(table.fields, table.dataCheck)]));
75
+ export const defineAppwriteTables = (tables) => {
76
+ const dataSchemas = Object.fromEntries(Object.entries(tables).map(([tableKey, table]) => [tableKey, createDataSchema(table.fields, table.dataCheck)]));
83
77
  const rowSchemas = Object.fromEntries(Object.entries(tables).map(([tableKey, table]) => {
84
78
  const { id } = appwriteTableIdentity(tableKey);
85
79
  return [tableKey, createRowSchema(table.fields, id, table.wirePermissions)];
@@ -93,7 +87,7 @@ export function defineAppwriteTables(tables) {
93
87
  rowSchemas,
94
88
  tables: tableDefinitions,
95
89
  };
96
- }
90
+ };
97
91
  export const appwriteTableContract = defineAppwriteTables(appwriteTableInputs);
98
92
  export const appwriteTables = appwriteTableContract.tables;
99
93
  export const appwriteDataSchemas = appwriteTableContract.dataSchemas;
@@ -97,6 +97,27 @@ describe('defineAppwriteTables', () => {
97
97
  expect(Object.fromEntries(Object.entries(contract.tables).map(([key, table]) => [key, table.id]))).toEqual(appwriteIds.tables);
98
98
  expect(Object.entries(contract.tables).every(([key, table]) => table.key === key)).toBe(true);
99
99
  });
100
+ it('defines relationship-free mailbox bulk-write tables with provider materialisation metadata', () => {
101
+ const contract = defineAppwriteTables(tableInputs);
102
+ for (const table of [contract.tables.messages, contract.tables.threadAliases, contract.tables.threadLabels, contract.tables.threads]) {
103
+ expect(table.relationships).toEqual([]);
104
+ }
105
+ for (const [schema, value] of [
106
+ [contract.dataSchemas.messages.entries.account, 'test-account-id-1'],
107
+ [contract.dataSchemas.messages.entries.thread, 'test-thread-id-1'],
108
+ [contract.dataSchemas.threadAliases.entries.alias, 'test-alias-id-1'],
109
+ [contract.dataSchemas.threadAliases.entries.thread, 'test-thread-id-1'],
110
+ [contract.dataSchemas.threadLabels.entries.label, 'test-label-id-1'],
111
+ [contract.dataSchemas.threadLabels.entries.thread, 'test-thread-id-1'],
112
+ [contract.dataSchemas.threads.entries.account, 'test-account-id-1'],
113
+ [contract.dataSchemas.messages.entries.providerHistoryId, '987654321'],
114
+ [contract.dataSchemas.messages.entries.providerThreadId, 'provider-thread-id-1'],
115
+ ]) {
116
+ expect(v.parse(schema, value)).toEqual(value);
117
+ }
118
+ expect(v.parse(contract.dataSchemas.messages.entries.providerLabelIds, ['INBOX', 'STARRED'])).toEqual(['INBOX', 'STARRED']);
119
+ expect(v.parse(contract.dataSchemas.messages.entries.materialisationGeneration, 1)).toBe(1);
120
+ });
100
121
  it('normalises Appwrite datetime wire values in generated row schemas', () => {
101
122
  const contract = defineAppwriteTables(tableInputs);
102
123
  const parsed = v.safeParse(contract.rowSchemas.jobs, validJob);
@@ -125,16 +125,16 @@ export declare const mailboxTableInputs: {
125
125
  };
126
126
  readonly messages: {
127
127
  readonly fields: {
128
- account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
129
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
130
- }, undefined>, v.TransformAction<{
131
- $id: string;
132
- }, string>]>], undefined>>;
128
+ account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
133
129
  accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
134
130
  attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
135
131
  htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
132
+ materialisationGeneration: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
136
133
  preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
134
+ providerHistoryId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
137
135
  providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
136
+ providerLabelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
137
+ providerThreadId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
138
138
  rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
139
139
  receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
140
140
  recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
@@ -145,11 +145,7 @@ export declare const mailboxTableInputs: {
145
145
  sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
146
146
  size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
147
147
  subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
148
- thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
149
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
150
- }, undefined>, v.TransformAction<{
151
- $id: string;
152
- }, string>]>], undefined>>;
148
+ thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
153
149
  threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
154
150
  };
155
151
  readonly indexes: readonly [{
@@ -169,18 +165,10 @@ export declare const mailboxTableInputs: {
169
165
  };
170
166
  readonly threadAliases: {
171
167
  readonly fields: {
172
- alias: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
173
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
174
- }, undefined>, v.TransformAction<{
175
- $id: string;
176
- }, string>]>], undefined>>;
168
+ alias: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
177
169
  aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
178
170
  latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
179
- thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
180
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
181
- }, undefined>, v.TransformAction<{
182
- $id: string;
183
- }, string>]>], undefined>>;
171
+ thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
184
172
  threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
185
173
  };
186
174
  readonly indexes: readonly [{
@@ -196,19 +184,11 @@ export declare const mailboxTableInputs: {
196
184
  };
197
185
  readonly threadLabels: {
198
186
  readonly fields: {
199
- label: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
200
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
201
- }, undefined>, v.TransformAction<{
202
- $id: string;
203
- }, string>]>], undefined>>;
187
+ label: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
204
188
  labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
205
189
  latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
206
190
  locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
207
- thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
208
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
209
- }, undefined>, v.TransformAction<{
210
- $id: string;
211
- }, string>]>], undefined>>;
191
+ thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
212
192
  threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
213
193
  };
214
194
  readonly indexes: readonly [{
@@ -224,11 +204,7 @@ export declare const mailboxTableInputs: {
224
204
  };
225
205
  readonly threads: {
226
206
  readonly fields: {
227
- account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
228
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
229
- }, undefined>, v.TransformAction<{
230
- $id: string;
231
- }, string>]>], undefined>>;
207
+ account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
232
208
  accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
233
209
  archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
234
210
  firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"mailbox.d.ts","sourceRoot":"","sources":["../../../src/appwrite/tableContract/mailbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,6BAA6B,CAAA;AAE/C,OAAO,EAUL,8BAA8B,EAI/B,MAAM,UAAU,CAAA;AAIjB,eAAO,MAAM,kBAAkB;;;YAGzB,WAAW;YACX,eAAe;YACf,YAAY;YACZ,iBAAiB;YACjB,OAAO;;;;;YACP,oBAAoB;YACpB,UAAU;;;;;;;;;;;;;;;;;;;YAmBV,OAAO;;;;;YACP,oBAAoB;YACpB,kBAAkB;YAClB,WAAW;YACX,QAAQ;YACR,SAAS;YACT,uBAAuB;YACvB,gBAAgB;YAChB,SAAS;;;;;YACT,IAAI;YACJ,iBAAiB;;;;;YACjB,QAAQ;YACR,WAAW;YACX,QAAQ;YACR,MAAM;YACN,IAAI;;;;;;;;;;;;;;;;;;;;YAoBJ,OAAO;;;;;YACP,oBAAoB;YACpB,OAAO;YACP,KAAK;;;;;YACL,kBAAkB;YAClB,OAAO;;;;;YACP,SAAS;YACT,IAAI;YACJ,MAAM;;;;;YACN,mBAAmB;YACnB,GAAG;YACH,WAAW;;;;;;;;;;;;;;;;;;;YAuBX,OAAO;;;;;YACP,oBAAoB;YACpB,kBAAkB;YAClB,UAAU;YACV,OAAO;YACP,UAAU;YACV,SAAS;YACT,UAAU;YACV,UAAU;YACV,QAAQ;YACR,YAAY;YACZ,MAAM;YACN,UAAU;YACV,MAAM;YACN,IAAI;YACJ,OAAO;YACP,MAAM;;;;;YACN,mBAAmB;;;;;;;;;;;;;;;;;;;YAuBnB,KAAK;;;;;YACL,kBAAkB;YAClB,eAAe;YACf,MAAM;;;;;YACN,mBAAmB;;;;;;;;;;;;;;;YAkBnB,KAAK;;;;;YACL,kBAAkB;YAClB,eAAe;YACf,aAAa;YACb,MAAM;;;;;YACN,mBAAmB;;;;;;;;;;;;;;;YAkBnB,OAAO;;;;;YACP,oBAAoB;YACpB,QAAQ;YACR,cAAc;YACd,OAAO;YACP,oBAAoB;YACpB,cAAc;YACd,QAAQ;YACR,eAAe;YACf,eAAe;YACf,YAAY;YACZ,YAAY;YACZ,OAAO;YACP,UAAU;YACV,QAAQ;YACR,UAAU;YACV,IAAI;YACJ,WAAW;YACX,UAAU;YACV,YAAY;YACZ,IAAI;YACJ,OAAO;YACP,OAAO;YACP,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDvB,CAAA"}
1
+ {"version":3,"file":"mailbox.d.ts","sourceRoot":"","sources":["../../../src/appwrite/tableContract/mailbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,6BAA6B,CAAA;AAE/C,OAAO,EAUL,8BAA8B,EAI/B,MAAM,UAAU,CAAA;AAIjB,eAAO,MAAM,kBAAkB;;;YAGzB,WAAW;YACX,eAAe;YACf,YAAY;YACZ,iBAAiB;YACjB,OAAO;;;;;YACP,oBAAoB;YACpB,UAAU;;;;;;;;;;;;;;;;;;;YAmBV,OAAO;;;;;YACP,oBAAoB;YACpB,kBAAkB;YAClB,WAAW;YACX,QAAQ;YACR,SAAS;YACT,uBAAuB;YACvB,gBAAgB;YAChB,SAAS;;;;;YACT,IAAI;YACJ,iBAAiB;;;;;YACjB,QAAQ;YACR,WAAW;YACX,QAAQ;YACR,MAAM;YACN,IAAI;;;;;;;;;;;;;;;;;;;;YAoBJ,OAAO;;;;;YACP,oBAAoB;YACpB,OAAO;YACP,KAAK;;;;;YACL,kBAAkB;YAClB,OAAO;;;;;YACP,SAAS;YACT,IAAI;YACJ,MAAM;;;;;YACN,mBAAmB;YACnB,GAAG;YACH,WAAW;;;;;;;;;;;;;;;;;;;YAuBX,OAAO;YACP,oBAAoB;YACpB,kBAAkB;YAClB,UAAU;YACV,yBAAyB;YACzB,OAAO;YACP,iBAAiB;YACjB,UAAU;YACV,gBAAgB;YAChB,gBAAgB;YAChB,SAAS;YACT,UAAU;YACV,UAAU;YACV,QAAQ;YACR,YAAY;YACZ,MAAM;YACN,UAAU;YACV,MAAM;YACN,IAAI;YACJ,OAAO;YACP,MAAM;YACN,mBAAmB;;;;;;;;;;;;;;;;;;;YAuBnB,KAAK;YACL,kBAAkB;YAClB,eAAe;YACf,MAAM;YACN,mBAAmB;;;;;;;;;;;;;;;YAkBnB,KAAK;YACL,kBAAkB;YAClB,eAAe;YACf,aAAa;YACb,MAAM;YACN,mBAAmB;;;;;;;;;;;;;;;YAkBnB,OAAO;YACP,oBAAoB;YACpB,QAAQ;YACR,cAAc;YACd,OAAO;YACP,oBAAoB;YACpB,cAAc;YACd,QAAQ;YACR,eAAe;YACf,eAAe;YACf,YAAY;YACZ,YAAY;YACZ,OAAO;YACP,UAAU;YACV,QAAQ;YACR,UAAU;YACV,IAAI;YACJ,WAAW;YACX,UAAU;YACV,YAAY;YACZ,IAAI;YACJ,OAAO;YACP,OAAO;YACP,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDvB,CAAA"}
@@ -98,12 +98,16 @@ export const mailboxTableInputs = defineAppwriteTableGroup({
98
98
  },
99
99
  messages: {
100
100
  fields: {
101
- account: appwriteRelationship(appwriteRelationshipIdSchema, 'accounts'),
101
+ account: identifier(identifierSchema),
102
102
  accountAssignmentKey: identifier(identifierSchema),
103
103
  attachmentMetadata: longText(v.string()),
104
104
  htmlFileId: stringColumn(v.nullable(identifierSchema), false),
105
+ materialisationGeneration: integer(nonNegativeIntegerSchema),
105
106
  preview: text(v.nullable(v.string()), false),
107
+ providerHistoryId: stringColumn(identifierSchema),
106
108
  providerId: stringColumn(identifierSchema),
109
+ providerLabelIds: stringArray(v.array(identifierSchema)),
110
+ providerThreadId: stringColumn(identifierSchema),
107
111
  rawFileId: stringColumn(v.nullable(identifierSchema), false),
108
112
  receivedAt: dateTime(v.nullable(isoTimestampSchema), false),
109
113
  recipients: text(v.nullable(v.string()), false),
@@ -114,7 +118,7 @@ export const mailboxTableInputs = defineAppwriteTableGroup({
114
118
  sentAt: dateTime(isoTimestampSchema),
115
119
  size: integer(nonNegativeIntegerSchema),
116
120
  subject: text(v.nullable(v.string()), false),
117
- thread: appwriteRelationship(appwriteRelationshipIdSchema, 'threads'),
121
+ thread: identifier(identifierSchema),
118
122
  threadAssignmentKey: identifier(identifierSchema),
119
123
  },
120
124
  indexes: [
@@ -138,10 +142,10 @@ export const mailboxTableInputs = defineAppwriteTableGroup({
138
142
  },
139
143
  threadAliases: {
140
144
  fields: {
141
- alias: appwriteRelationship(appwriteRelationshipIdSchema, 'aliases'),
145
+ alias: identifier(identifierSchema),
142
146
  aliasAssignmentKey: identifier(identifierSchema),
143
147
  latestMessageAt: dateTime(isoTimestampSchema),
144
- thread: appwriteRelationship(appwriteRelationshipIdSchema, 'threads'),
148
+ thread: identifier(identifierSchema),
145
149
  threadAssignmentKey: identifier(identifierSchema),
146
150
  },
147
151
  indexes: [
@@ -160,11 +164,11 @@ export const mailboxTableInputs = defineAppwriteTableGroup({
160
164
  },
161
165
  threadLabels: {
162
166
  fields: {
163
- label: appwriteRelationship(appwriteRelationshipIdSchema, 'labels'),
167
+ label: identifier(identifierSchema),
164
168
  labelAssignmentKey: identifier(identifierSchema),
165
169
  latestMessageAt: dateTime(isoTimestampSchema),
166
170
  locationCount: integer(nonNegativeIntegerSchema),
167
- thread: appwriteRelationship(appwriteRelationshipIdSchema, 'threads'),
171
+ thread: identifier(identifierSchema),
168
172
  threadAssignmentKey: identifier(identifierSchema),
169
173
  },
170
174
  indexes: [
@@ -183,7 +187,7 @@ export const mailboxTableInputs = defineAppwriteTableGroup({
183
187
  },
184
188
  threads: {
185
189
  fields: {
186
- account: appwriteRelationship(appwriteRelationshipIdSchema, 'accounts'),
190
+ account: identifier(identifierSchema),
187
191
  accountAssignmentKey: identifier(identifierSchema),
188
192
  archived: boolean(v.boolean()),
189
193
  firstMessageAt: dateTime(v.nullable(isoTimestampSchema), false),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "4.0.24",
3
+ "version": "4.0.26",
4
4
  "author": "team@marcoapp.io",
5
5
  "exports": {
6
6
  ".": {