@marcoappio/marco-config 2.0.112 → 2.0.114

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.
@@ -85,7 +85,20 @@ export declare const marcoClients: {
85
85
  }, undefined>, undefined>;
86
86
  }, undefined>, undefined>;
87
87
  }, undefined>;
88
- mutators: {};
88
+ mutators: {
89
+ delete: {
90
+ delta: import("valibot").ObjectSchema<{
91
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
92
+ }, undefined>;
93
+ };
94
+ setMessageSeen: {
95
+ delta: import("valibot").ObjectSchema<{
96
+ readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
97
+ readonly seen: import("valibot").BooleanSchema<undefined>;
98
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
99
+ }, undefined>;
100
+ };
101
+ };
89
102
  name: "thread";
90
103
  pullURL: "/v1/pv/sync/pull/thread";
91
104
  pushURL: "/v1/pv/sync/push/thread";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIc,CAAA"}
@@ -33,7 +33,20 @@ export declare const thread: {
33
33
  }, undefined>, undefined>;
34
34
  }, undefined>, undefined>;
35
35
  }, undefined>;
36
- mutators: {};
36
+ mutators: {
37
+ delete: {
38
+ delta: v.ObjectSchema<{
39
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
40
+ }, undefined>;
41
+ };
42
+ setMessageSeen: {
43
+ delta: v.ObjectSchema<{
44
+ readonly messageId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
45
+ readonly seen: v.BooleanSchema<undefined>;
46
+ readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
47
+ }, undefined>;
48
+ };
49
+ };
37
50
  name: "thread";
38
51
  pullURL: "/v1/pv/sync/pull/thread";
39
52
  pushURL: "/v1/pv/sync/push/thread";
@@ -1 +1 @@
1
- {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/clients/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BI,CAAA"}
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/clients/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCI,CAAA"}
@@ -23,7 +23,20 @@ export const thread = {
23
23
  to: v.array(inlineContact),
24
24
  })),
25
25
  }),
26
- mutators: {},
26
+ mutators: {
27
+ delete: {
28
+ delta: v.object({
29
+ id: marcoSchemas.string.required(),
30
+ }),
31
+ },
32
+ setMessageSeen: {
33
+ delta: v.object({
34
+ messageId: marcoSchemas.string.required(),
35
+ seen: v.boolean(),
36
+ threadId: marcoSchemas.string.required(),
37
+ }),
38
+ },
39
+ },
27
40
  name: 'thread',
28
41
  pullURL: '/v1/pv/sync/pull/thread',
29
42
  pushURL: '/v1/pv/sync/push/thread',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.112",
3
+ "version": "2.0.114",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",