@marcoappio/marco-config 3.0.8 → 3.0.10

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.
@@ -362,6 +362,7 @@ declare const rowSchemas: {
362
362
  readonly archived: v.BooleanSchema<undefined>;
363
363
  readonly firstMessageAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
364
364
  readonly flagged: v.BooleanSchema<undefined>;
365
+ readonly flaggedLocationCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
365
366
  readonly hasAttachments: v.BooleanSchema<undefined>;
366
367
  readonly labelIds: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
367
368
  readonly latestMessageAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
@@ -379,6 +380,7 @@ declare const rowSchemas: {
379
380
  readonly spam: v.BooleanSchema<undefined>;
380
381
  readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
381
382
  readonly trashed: v.BooleanSchema<undefined>;
383
+ readonly unseenLocationCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
382
384
  readonly userId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
383
385
  readonly $createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
384
386
  readonly $databaseId: v.LiteralSchema<"marco", undefined>;
@@ -812,6 +814,7 @@ export declare const appwrite: {
812
814
  readonly archived: v.BooleanSchema<undefined>;
813
815
  readonly firstMessageAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
814
816
  readonly flagged: v.BooleanSchema<undefined>;
817
+ readonly flaggedLocationCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
815
818
  readonly hasAttachments: v.BooleanSchema<undefined>;
816
819
  readonly labelIds: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
817
820
  readonly latestMessageAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
@@ -829,6 +832,7 @@ export declare const appwrite: {
829
832
  readonly spam: v.BooleanSchema<undefined>;
830
833
  readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
831
834
  readonly trashed: v.BooleanSchema<undefined>;
835
+ readonly unseenLocationCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
832
836
  readonly userId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
833
837
  readonly $createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
834
838
  readonly $databaseId: v.LiteralSchema<"marco", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"appwrite.d.ts","sourceRoot":"","sources":["../../src/appwrite/appwrite.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,mBAAmB,6KAA+F,CAAA;AAW/H,QAAA,MAAM,qBAAqB;;;;;aAKzB,CAAA;AAEF,QAAA,MAAM,mBAAmB;;;;;eASxB,CAAA;AACD,QAAA,MAAM,uB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsWT,CAAA;AAEV,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,UAAU,CAAA;AACtD,MAAM,MAAM,WAAW,CAAC,MAAM,SAAS,gBAAgB,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA"}
@@ -339,6 +339,7 @@ const rowSchemas = {
339
339
  archived: v.boolean(),
340
340
  firstMessageAt: v.nullable(timestampSchema),
341
341
  flagged: v.boolean(),
342
+ flaggedLocationCount: nonNegativeIntegerSchema,
342
343
  hasAttachments: v.boolean(),
343
344
  labelIds: v.array(identifierSchema),
344
345
  latestMessageAt: timestampSchema,
@@ -356,6 +357,7 @@ const rowSchemas = {
356
357
  spam: v.boolean(),
357
358
  subject: v.nullable(v.string()),
358
359
  trashed: v.boolean(),
360
+ unseenLocationCount: nonNegativeIntegerSchema,
359
361
  userId: identifierSchema,
360
362
  }),
361
363
  watcherShards: v.strictObject({
@@ -240,6 +240,7 @@ const validRows = {
240
240
  archived: false,
241
241
  firstMessageAt: '2026-07-14T00:00:00.000Z',
242
242
  flagged: false,
243
+ flaggedLocationCount: 0,
243
244
  hasAttachments: false,
244
245
  labelIds: ['label-1'],
245
246
  latestMessageAt: '2026-07-15T00:00:00.000Z',
@@ -257,6 +258,7 @@ const validRows = {
257
258
  spam: false,
258
259
  subject: null,
259
260
  trashed: false,
261
+ unseenLocationCount: 0,
260
262
  userId: 'user-1',
261
263
  },
262
264
  watcherShards: {
@@ -471,6 +471,22 @@ export declare const appwriteFunctions: {
471
471
  readonly state: v.LiteralSchema<"COMPLETED", undefined>;
472
472
  }, undefined>;
473
473
  };
474
+ readonly pollsRun: {
475
+ errorSchema: v.StrictObjectSchema<{
476
+ readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
477
+ readonly retryable: v.BooleanSchema<undefined>;
478
+ }, undefined>;
479
+ context: "internal";
480
+ method: "POST";
481
+ path: "/polls/run";
482
+ requestSchema: v.StrictObjectSchema<{
483
+ readonly scheduledFor: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>, v.CheckAction<string, undefined>]>;
484
+ readonly shardId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
485
+ }, undefined>;
486
+ responseSchema: v.StrictObjectSchema<{
487
+ readonly state: v.LiteralSchema<"COMPLETED", undefined>;
488
+ }, undefined>;
489
+ };
474
490
  readonly profileEnsure: {
475
491
  errorSchema: v.StrictObjectSchema<{
476
492
  readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
@@ -525,22 +541,6 @@ export declare const appwriteFunctions: {
525
541
  readonly state: v.LiteralSchema<"COMPLETED", undefined>;
526
542
  }, undefined>;
527
543
  };
528
- readonly pollsRun: {
529
- errorSchema: v.StrictObjectSchema<{
530
- readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
531
- readonly retryable: v.BooleanSchema<undefined>;
532
- }, undefined>;
533
- context: "internal";
534
- method: "POST";
535
- path: "/polls/run";
536
- requestSchema: v.StrictObjectSchema<{
537
- readonly scheduledFor: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>, v.CheckAction<string, undefined>]>;
538
- readonly shardId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
539
- }, undefined>;
540
- responseSchema: v.StrictObjectSchema<{
541
- readonly state: v.LiteralSchema<"COMPLETED", undefined>;
542
- }, undefined>;
543
- };
544
544
  readonly supervisor: {
545
545
  errorSchema: v.StrictObjectSchema<{
546
546
  readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
@@ -111,6 +111,16 @@ const apiRoutes = {
111
111
  }),
112
112
  responseSchema: completedSchema,
113
113
  }),
114
+ pollsRun: createRoute({
115
+ context: 'internal',
116
+ method: 'POST',
117
+ path: '/polls/run',
118
+ requestSchema: v.strictObject({
119
+ scheduledFor: timestampSchema,
120
+ shardId: appwriteRowIdSchema,
121
+ }),
122
+ responseSchema: completedSchema,
123
+ }),
114
124
  profileEnsure: createRoute({
115
125
  context: 'authenticated',
116
126
  method: 'POST',
@@ -137,16 +147,6 @@ const workerRoutes = {
137
147
  requestSchema: v.strictObject({ jobId: id.jobId.required() }),
138
148
  responseSchema: completedSchema,
139
149
  }),
140
- pollsRun: createRoute({
141
- context: 'internal',
142
- method: 'POST',
143
- path: '/polls/run',
144
- requestSchema: v.strictObject({
145
- scheduledFor: timestampSchema,
146
- shardId: appwriteRowIdSchema,
147
- }),
148
- responseSchema: completedSchema,
149
- }),
150
150
  supervisor: createRoute({
151
151
  context: 'internal',
152
152
  method: 'POST',
@@ -107,7 +107,7 @@ const routeFixtures = [
107
107
  name: 'poll runner',
108
108
  request: { scheduledFor: '2026-07-23T12:00:30.000Z', shardId: 'test-poll-shard-id-1' },
109
109
  response: { state: 'COMPLETED' },
110
- route: () => appwriteFunctions.worker.routes.pollsRun,
110
+ route: () => appwriteFunctions.api.routes.pollsRun,
111
111
  },
112
112
  {
113
113
  name: 'watcher runner',
@@ -127,9 +127,9 @@ describe('appwriteFunctions', () => {
127
127
  { functionId: appwriteFunctions.api.id, route: appwriteFunctions.api.routes.pushTokens },
128
128
  { functionId: appwriteFunctions.api.id, route: appwriteFunctions.api.routes.accountDelete },
129
129
  { functionId: appwriteFunctions.api.id, route: appwriteFunctions.api.routes.oauthWebhook },
130
+ { functionId: appwriteFunctions.api.id, route: appwriteFunctions.api.routes.pollsRun },
130
131
  { functionId: appwriteFunctions.worker.id, route: appwriteFunctions.worker.routes.supervisor },
131
132
  { functionId: appwriteFunctions.worker.id, route: appwriteFunctions.worker.routes.jobsRun },
132
- { functionId: appwriteFunctions.worker.id, route: appwriteFunctions.worker.routes.pollsRun },
133
133
  { functionId: appwriteFunctions.worker.id, route: appwriteFunctions.worker.routes.watchersRun },
134
134
  ].map(({ functionId, route }) => ({
135
135
  context: route.context,
@@ -145,9 +145,9 @@ describe('appwriteFunctions', () => {
145
145
  { context: 'authenticated', functionId: 'marco-api', method: 'POST', path: '/push-tokens' },
146
146
  { context: 'authenticated', functionId: 'marco-api', method: 'DELETE', path: '/account/delete' },
147
147
  { context: 'webhook', functionId: 'marco-api', method: 'GET', path: '/v1/wh/oauth/callback' },
148
+ { context: 'internal', functionId: 'marco-api', method: 'POST', path: '/polls/run' },
148
149
  { context: 'internal', functionId: 'marco-worker', method: 'POST', path: '/' },
149
150
  { context: 'internal', functionId: 'marco-worker', method: 'POST', path: '/jobs/run' },
150
- { context: 'internal', functionId: 'marco-worker', method: 'POST', path: '/polls/run' },
151
151
  { context: 'internal', functionId: 'marco-worker', method: 'POST', path: '/watchers/run' },
152
152
  ]);
153
153
  });
@@ -182,7 +182,7 @@ describe('appwriteFunctions', () => {
182
182
  {
183
183
  description: 'poll',
184
184
  request: { scheduledFor: '2026-07-23T12:00:30.000Z', shardId: 'test invalid shard id' },
185
- requestSchema: appwriteFunctions.worker.routes.pollsRun.requestSchema,
185
+ requestSchema: appwriteFunctions.api.routes.pollsRun.requestSchema,
186
186
  },
187
187
  {
188
188
  description: 'watcher',
@@ -219,7 +219,7 @@ describe('appwriteFunctions', () => {
219
219
  },
220
220
  ]) {
221
221
  it(`rejects a poll request with ${description}`, () => {
222
- expect(v.safeParse(appwriteFunctions.worker.routes.pollsRun.requestSchema, request).success).toBe(false);
222
+ expect(v.safeParse(appwriteFunctions.api.routes.pollsRun.requestSchema, request).success).toBe(false);
223
223
  });
224
224
  }
225
225
  it('redacts credentials from connection responses and compact errors', () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "3.0.8",
3
+ "version": "3.0.10",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",