@marcoappio/marco-config 2.0.141 → 2.0.142

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.
@@ -250,7 +250,10 @@ export declare const endpoints: {
250
250
  readonly data: import("valibot").ObjectSchema<{
251
251
  readonly accessToken: import("valibot").StringSchema<undefined>;
252
252
  readonly refreshToken: import("valibot").StringSchema<undefined>;
253
- readonly userId: import("valibot").StringSchema<undefined>;
253
+ readonly user: import("valibot").ObjectSchema<{
254
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
255
+ readonly id: import("valibot").StringSchema<undefined>;
256
+ }, undefined>;
254
257
  }, undefined>;
255
258
  readonly status: import("valibot").LiteralSchema<200, undefined>;
256
259
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -32,7 +32,10 @@ export declare const auth: {
32
32
  readonly data: import("valibot").ObjectSchema<{
33
33
  readonly accessToken: import("valibot").StringSchema<undefined>;
34
34
  readonly refreshToken: import("valibot").StringSchema<undefined>;
35
- readonly userId: import("valibot").StringSchema<undefined>;
35
+ readonly user: import("valibot").ObjectSchema<{
36
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
37
+ readonly id: import("valibot").StringSchema<undefined>;
38
+ }, undefined>;
36
39
  }, undefined>;
37
40
  readonly status: import("valibot").LiteralSchema<200, undefined>;
38
41
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGhB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGhB,CAAA"}
@@ -21,7 +21,10 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
21
21
  readonly data: v.ObjectSchema<{
22
22
  readonly accessToken: v.StringSchema<undefined>;
23
23
  readonly refreshToken: v.StringSchema<undefined>;
24
- readonly userId: v.StringSchema<undefined>;
24
+ readonly user: v.ObjectSchema<{
25
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
26
+ readonly id: v.StringSchema<undefined>;
27
+ }, undefined>;
25
28
  }, undefined>;
26
29
  readonly status: v.LiteralSchema<200, undefined>;
27
30
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;2BAsBzB,CAAA"}
1
+ {"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyBzB,CAAA"}
@@ -19,7 +19,10 @@ export const verifyAuthCode = createEndpoint({
19
19
  data: v.object({
20
20
  accessToken: v.string(),
21
21
  refreshToken: v.string(),
22
- userId: v.string(),
22
+ user: v.object({
23
+ email: marcoSchemas.string.email(),
24
+ id: v.string(),
25
+ }),
23
26
  }),
24
27
  status: v.literal(200),
25
28
  }),
@@ -33,7 +33,10 @@ export declare const publicGroup: {
33
33
  readonly data: import("valibot").ObjectSchema<{
34
34
  readonly accessToken: import("valibot").StringSchema<undefined>;
35
35
  readonly refreshToken: import("valibot").StringSchema<undefined>;
36
- readonly userId: import("valibot").StringSchema<undefined>;
36
+ readonly user: import("valibot").ObjectSchema<{
37
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
38
+ readonly id: import("valibot").StringSchema<undefined>;
39
+ }, undefined>;
37
40
  }, undefined>;
38
41
  readonly status: import("valibot").LiteralSchema<200, undefined>;
39
42
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
@@ -249,7 +249,10 @@ export declare const marcoSDK: {
249
249
  readonly data: import("valibot").ObjectSchema<{
250
250
  readonly accessToken: import("valibot").StringSchema<undefined>;
251
251
  readonly refreshToken: import("valibot").StringSchema<undefined>;
252
- readonly userId: import("valibot").StringSchema<undefined>;
252
+ readonly user: import("valibot").ObjectSchema<{
253
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
254
+ readonly id: import("valibot").StringSchema<undefined>;
255
+ }, undefined>;
253
256
  }, undefined>;
254
257
  readonly status: import("valibot").LiteralSchema<200, undefined>;
255
258
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.141",
3
+ "version": "2.0.142",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",