@marcoappio/marco-config 2.0.515 → 2.0.516

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,3 +1,3 @@
1
- export declare const DRAFT_STATUSES: readonly ["DRAFT", "SEND_REQUESTED", "SEND_CONFIRMED", "SEND_FAILED"];
1
+ export declare const DRAFT_STATUSES: readonly ["DRAFT", "SEND_REQUESTED", "SEND_IN_PROGRESS", "SEND_CONFIRMED", "SEND_FAILED"];
2
2
  export type DraftStatus = (typeof DRAFT_STATUSES)[number];
3
3
  //# sourceMappingURL=DraftStatus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DraftStatus.d.ts","sourceRoot":"","sources":["../../src/types/DraftStatus.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,uEAAwE,CAAA;AAEnG,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"DraftStatus.d.ts","sourceRoot":"","sources":["../../src/types/DraftStatus.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,2FAA4F,CAAA;AAEvH,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA"}
@@ -1 +1 @@
1
- export const DRAFT_STATUSES = ['DRAFT', 'SEND_REQUESTED', 'SEND_CONFIRMED', 'SEND_FAILED'];
1
+ export const DRAFT_STATUSES = ['DRAFT', 'SEND_REQUESTED', 'SEND_IN_PROGRESS', 'SEND_CONFIRMED', 'SEND_FAILED'];
@@ -98,7 +98,7 @@ export declare const marcoZero: {
98
98
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
99
99
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
100
100
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
101
- readonly status: import("valibot").PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_CONFIRMED", "SEND_FAILED"], undefined>;
101
+ readonly status: import("valibot").PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_IN_PROGRESS", "SEND_CONFIRMED", "SEND_FAILED"], undefined>;
102
102
  readonly type: import("valibot").PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
103
103
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
104
104
  }, undefined>;
@@ -443,7 +443,7 @@ export declare const marcoZero: {
443
443
  id: string;
444
444
  referencedMessageId: string | null;
445
445
  scheduledFor: number | null;
446
- status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
446
+ status: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
447
447
  type: "NEW" | "REPLY" | "FORWARD";
448
448
  updatedAt: number;
449
449
  }, {
@@ -468,7 +468,7 @@ export declare const marcoZero: {
468
468
  id: string;
469
469
  referencedMessageId: string | null;
470
470
  scheduledFor: number | null;
471
- status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
471
+ status: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
472
472
  type: "NEW" | "REPLY" | "FORWARD";
473
473
  updatedAt: number;
474
474
  }, {
@@ -1097,7 +1097,7 @@ export declare const marcoZero: {
1097
1097
  readonly status: {
1098
1098
  type: "string";
1099
1099
  optional: false;
1100
- customType: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
1100
+ customType: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
1101
1101
  };
1102
1102
  readonly subject: Omit<{
1103
1103
  type: "string";
@@ -1844,11 +1844,11 @@ export declare const marcoZero: {
1844
1844
  readonly getDrafts: import("@rocicorp/zero").QueryDefinition<"draft", {
1845
1845
  accountId?: string | undefined;
1846
1846
  limit?: number | undefined;
1847
- status?: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
1847
+ status?: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
1848
1848
  }, {
1849
1849
  accountId?: string | undefined;
1850
1850
  limit: number;
1851
- status?: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
1851
+ status?: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
1852
1852
  }, {
1853
1853
  readonly accountId: string;
1854
1854
  readonly body: {
@@ -1864,7 +1864,7 @@ export declare const marcoZero: {
1864
1864
  readonly id: string;
1865
1865
  readonly referencedMessageId: string | null;
1866
1866
  readonly scheduledFor: number | null;
1867
- readonly status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
1867
+ readonly status: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
1868
1868
  readonly subject: string | null;
1869
1869
  readonly type: "NEW" | "REPLY" | "FORWARD";
1870
1870
  readonly updatedAt: number;
@@ -2480,7 +2480,7 @@ export declare const marcoZero: {
2480
2480
  readonly status: {
2481
2481
  type: "string";
2482
2482
  optional: false;
2483
- customType: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
2483
+ customType: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
2484
2484
  };
2485
2485
  readonly subject: Omit<{
2486
2486
  type: "string";
@@ -3503,7 +3503,7 @@ export declare const marcoZero: {
3503
3503
  readonly status: {
3504
3504
  type: "string";
3505
3505
  optional: false;
3506
- customType: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
3506
+ customType: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
3507
3507
  };
3508
3508
  readonly subject: Omit<{
3509
3509
  type: "string";
@@ -4457,7 +4457,7 @@ export declare const marcoZero: {
4457
4457
  readonly status: {
4458
4458
  type: "string";
4459
4459
  optional: false;
4460
- customType: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
4460
+ customType: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
4461
4461
  };
4462
4462
  readonly subject: Omit<{
4463
4463
  type: "string";
@@ -98,7 +98,7 @@ export declare const mutatorSchemas: {
98
98
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
99
99
  readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
100
100
  readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
101
- readonly status: v.PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_CONFIRMED", "SEND_FAILED"], undefined>;
101
+ readonly status: v.PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_IN_PROGRESS", "SEND_CONFIRMED", "SEND_FAILED"], undefined>;
102
102
  readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
103
103
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
104
104
  }, undefined>;
@@ -162,7 +162,7 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
162
162
  id: string;
163
163
  referencedMessageId: string | null;
164
164
  scheduledFor: number | null;
165
- status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
165
+ status: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
166
166
  type: "NEW" | "REPLY" | "FORWARD";
167
167
  updatedAt: number;
168
168
  }, {
@@ -187,7 +187,7 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
187
187
  id: string;
188
188
  referencedMessageId: string | null;
189
189
  scheduledFor: number | null;
190
- status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
190
+ status: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
191
191
  type: "NEW" | "REPLY" | "FORWARD";
192
192
  updatedAt: number;
193
193
  }, Context, unknown>;
@@ -778,7 +778,7 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
778
778
  readonly status: {
779
779
  type: "string";
780
780
  optional: false;
781
- customType: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
781
+ customType: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
782
782
  };
783
783
  readonly subject: Omit<{
784
784
  type: "string";
@@ -63,11 +63,11 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
63
63
  readonly getDrafts: import("@rocicorp/zero").QueryDefinition<"draft", {
64
64
  accountId?: string | undefined;
65
65
  limit?: number | undefined;
66
- status?: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
66
+ status?: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
67
67
  }, {
68
68
  accountId?: string | undefined;
69
69
  limit: number;
70
- status?: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
70
+ status?: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
71
71
  }, {
72
72
  readonly accountId: string;
73
73
  readonly body: {
@@ -83,7 +83,7 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
83
83
  readonly id: string;
84
84
  readonly referencedMessageId: string | null;
85
85
  readonly scheduledFor: number | null;
86
- readonly status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
86
+ readonly status: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
87
87
  readonly subject: string | null;
88
88
  readonly type: "NEW" | "REPLY" | "FORWARD";
89
89
  readonly updatedAt: number;
@@ -687,7 +687,7 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
687
687
  readonly status: {
688
688
  type: "string";
689
689
  optional: false;
690
- customType: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
690
+ customType: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
691
691
  };
692
692
  readonly subject: Omit<{
693
693
  type: "string";
@@ -340,7 +340,7 @@ export declare const schema: {
340
340
  readonly status: {
341
341
  type: "string";
342
342
  optional: false;
343
- customType: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
343
+ customType: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
344
344
  };
345
345
  readonly subject: Omit<{
346
346
  type: "string";
@@ -1294,7 +1294,7 @@ export declare const tables: {
1294
1294
  readonly status: {
1295
1295
  type: "string";
1296
1296
  optional: false;
1297
- customType: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
1297
+ customType: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
1298
1298
  };
1299
1299
  readonly subject: Omit<{
1300
1300
  type: "string";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.515",
3
+ "version": "2.0.516",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",