@marcoappio/marco-config 2.0.106 → 2.0.108

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.
@@ -7,8 +7,8 @@ export declare const account: {
7
7
  readonly host: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
8
8
  readonly password: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
9
9
  readonly port: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
10
- readonly status: v.UnionSchema<[v.LiteralSchema<"awaiting-connection", undefined>, v.LiteralSchema<"connected", undefined>, v.LiteralSchema<"disconnected", undefined>], undefined>;
11
- }, undefined>, never>;
10
+ readonly status: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED", undefined>], undefined>;
11
+ }, undefined>, undefined>;
12
12
  readonly labels: v.ArraySchema<v.ObjectSchema<{
13
13
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
14
14
  readonly name: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -9,9 +9,9 @@ export const account = {
9
9
  password: marcoSchemas.string.required(),
10
10
  port: marcoSchemas.number.minMax(1, 65535),
11
11
  status: v.union([
12
- v.literal('awaiting-connection'),
13
- v.literal('connected'),
14
- v.literal('disconnected'),
12
+ v.literal('AWAITING_CONNECTION'),
13
+ v.literal('CONNECTED'),
14
+ v.literal('CONNECTION_FAILED'),
15
15
  ]),
16
16
  })),
17
17
  labels: v.array(v.object({
@@ -4,7 +4,7 @@ export declare const contact: {
4
4
  readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
5
5
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
6
6
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
7
- readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, never>;
7
+ readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
8
8
  }, undefined>;
9
9
  mutators: {};
10
10
  name: "contact";
@@ -7,8 +7,8 @@ export declare const marcoClients: {
7
7
  readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
8
8
  readonly password: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
9
9
  readonly port: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
10
- readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"awaiting-connection", undefined>, import("valibot").LiteralSchema<"connected", undefined>, import("valibot").LiteralSchema<"disconnected", undefined>], undefined>;
11
- }, undefined>, never>;
10
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED", undefined>], undefined>;
11
+ }, undefined>, undefined>;
12
12
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
13
13
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
14
14
  readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -32,7 +32,7 @@ export declare const marcoClients: {
32
32
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
33
33
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
34
34
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
35
- readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, never>;
35
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
36
36
  }, undefined>;
37
37
  mutators: {};
38
38
  name: "contact";
package/dist/schemas.d.ts CHANGED
@@ -7,8 +7,8 @@ export declare const marcoSchemas: {
7
7
  email: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
8
8
  enum: (values: Record<string, string>) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EnumSchema<Record<string, string>, undefined>]>, undefined>;
9
9
  matches: (regex: RegExp) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
10
- nullable: () => import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, never>;
11
- optional: () => import("valibot").UndefinedableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, never>;
10
+ nullable: () => import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
11
+ optional: () => import("valibot").UndefinedableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
12
12
  required: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
13
13
  };
14
14
  };
@@ -12,8 +12,8 @@ export declare const endpoints: {
12
12
  }, undefined>, import("valibot").ObjectSchema<{
13
13
  readonly data: import("valibot").ObjectSchema<{
14
14
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
15
- readonly html: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, never>;
16
- readonly text: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, never>;
15
+ readonly html: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, undefined>;
16
+ readonly text: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, undefined>;
17
17
  }, undefined>;
18
18
  readonly status: import("valibot").LiteralSchema<200, undefined>;
19
19
  }, undefined>], undefined>>;
@@ -8,8 +8,8 @@ export declare const getText: import("../../../../types").EndpointConfig<"/v1/pv
8
8
  }, undefined>, v.ObjectSchema<{
9
9
  readonly data: v.ObjectSchema<{
10
10
  readonly hasMore: v.BooleanSchema<undefined>;
11
- readonly html: v.UndefinedableSchema<v.StringSchema<undefined>, never>;
12
- readonly text: v.UndefinedableSchema<v.StringSchema<undefined>, never>;
11
+ readonly html: v.UndefinedableSchema<v.StringSchema<undefined>, undefined>;
12
+ readonly text: v.UndefinedableSchema<v.StringSchema<undefined>, undefined>;
13
13
  }, undefined>;
14
14
  readonly status: v.LiteralSchema<200, undefined>;
15
15
  }, undefined>], undefined>>;
@@ -8,8 +8,8 @@ export declare const emailMessage: {
8
8
  }, undefined>, import("valibot").ObjectSchema<{
9
9
  readonly data: import("valibot").ObjectSchema<{
10
10
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
11
- readonly html: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, never>;
12
- readonly text: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, never>;
11
+ readonly html: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, undefined>;
12
+ readonly text: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, undefined>;
13
13
  }, undefined>;
14
14
  readonly status: import("valibot").LiteralSchema<200, undefined>;
15
15
  }, undefined>], undefined>>;
@@ -9,8 +9,8 @@ export declare const privateGroup: {
9
9
  }, undefined>, import("valibot").ObjectSchema<{
10
10
  readonly data: import("valibot").ObjectSchema<{
11
11
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
12
- readonly html: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, never>;
13
- readonly text: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, never>;
12
+ readonly html: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, undefined>;
13
+ readonly text: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, undefined>;
14
14
  }, undefined>;
15
15
  readonly status: import("valibot").LiteralSchema<200, undefined>;
16
16
  }, undefined>], undefined>>;
@@ -11,8 +11,8 @@ export declare const marcoSDK: {
11
11
  }, undefined>, import("valibot").ObjectSchema<{
12
12
  readonly data: import("valibot").ObjectSchema<{
13
13
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
14
- readonly html: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, never>;
15
- readonly text: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, never>;
14
+ readonly html: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, undefined>;
15
+ readonly text: import("valibot").UndefinedableSchema<import("valibot").StringSchema<undefined>, undefined>;
16
16
  }, undefined>;
17
17
  readonly status: import("valibot").LiteralSchema<200, undefined>;
18
18
  }, undefined>], undefined>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.106",
3
+ "version": "2.0.108",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",
@@ -30,7 +30,7 @@
30
30
  "eslint-plugin-sort-destructure-keys": "1.4.0",
31
31
  "eslint-plugin-sort-keys-fix": "1.1.2",
32
32
  "eslint-plugin-typescript-sort-keys": "2.3.0",
33
- "valibot": "0.42.1"
33
+ "valibot": "1.0.0-beta.9"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@auto-it/npm": "11.2.0",