@marcoappio/marco-config 2.0.539 → 2.0.541

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.
Files changed (94) hide show
  1. package/dist/constants/index.d.ts +0 -4
  2. package/dist/constants/index.d.ts.map +1 -1
  3. package/dist/constants/index.js +0 -2
  4. package/dist/index.d.ts +0 -1
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +0 -1
  7. package/dist/marcoPublicConfig.d.ts +0 -3
  8. package/dist/marcoPublicConfig.d.ts.map +1 -1
  9. package/dist/marcoPublicConfig.js +0 -9
  10. package/dist/schemas/index.d.ts +2 -0
  11. package/dist/schemas/index.d.ts.map +1 -1
  12. package/dist/schemas/index.js +2 -0
  13. package/dist/schemas/mutators/index.d.ts +2 -0
  14. package/dist/schemas/mutators/index.d.ts.map +1 -0
  15. package/dist/schemas/mutators/index.js +1 -0
  16. package/dist/{zero → schemas/mutators}/mutatorSchemas.d.ts +4 -4
  17. package/dist/{zero → schemas/mutators}/mutatorSchemas.d.ts.map +1 -1
  18. package/dist/{zero → schemas/mutators}/mutatorSchemas.js +4 -4
  19. package/dist/sdk/endpoints/private/mutations/account/createAccount.js +1 -1
  20. package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +1 -1
  21. package/dist/sdk/endpoints/private/mutations/account/createAlias.js +2 -2
  22. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +1 -1
  23. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.js +2 -2
  24. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +1 -1
  25. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.js +2 -2
  26. package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +1 -1
  27. package/dist/sdk/endpoints/private/mutations/account/setAliasName.js +2 -2
  28. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +1 -1
  29. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.js +2 -2
  30. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +1 -1
  31. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.js +2 -2
  32. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +1 -1
  33. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.js +2 -2
  34. package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +1 -1
  35. package/dist/sdk/endpoints/private/mutations/account/setSettings.js +2 -2
  36. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +1 -1
  37. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.js +2 -2
  38. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +1 -1
  39. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.js +2 -2
  40. package/dist/sdk/endpoints/private/mutations/draft/createDraft.js +1 -1
  41. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +1 -1
  42. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.js +2 -2
  43. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +1 -1
  44. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.js +2 -2
  45. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +1 -1
  46. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.js +2 -2
  47. package/dist/sdk/endpoints/private/mutations/draft/setContent.d.ts +1 -1
  48. package/dist/sdk/endpoints/private/mutations/draft/setContent.js +2 -2
  49. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +3 -3
  50. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.js +2 -2
  51. package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +1 -1
  52. package/dist/sdk/endpoints/private/mutations/draft/setFrom.js +2 -2
  53. package/dist/sdk/endpoints/private/mutations/thread/addLabel.js +1 -1
  54. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.js +1 -1
  55. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.js +1 -1
  56. package/dist/sdk/endpoints/private/mutations/thread/setArchive.js +1 -1
  57. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.js +1 -1
  58. package/dist/sdk/endpoints/private/mutations/thread/setInbox.js +1 -1
  59. package/dist/sdk/endpoints/private/mutations/thread/setSeen.js +1 -1
  60. package/dist/sdk/endpoints/private/mutations/thread/setSpam.js +1 -1
  61. package/dist/sdk/endpoints/private/mutations/thread/setTrash.js +1 -1
  62. package/dist/sdk/endpoints/private/mutations/user/createView.js +1 -1
  63. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.js +1 -1
  64. package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +1 -1
  65. package/dist/sdk/endpoints/private/mutations/user/deleteView.js +2 -2
  66. package/dist/sdk/endpoints/private/mutations/user/setPushToken.js +1 -1
  67. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.js +1 -1
  68. package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +1 -1
  69. package/dist/sdk/endpoints/private/mutations/user/updateView.js +2 -2
  70. package/dist/types/index.d.ts +0 -1
  71. package/dist/types/index.d.ts.map +1 -1
  72. package/dist/types/index.js +0 -1
  73. package/package.json +1 -2
  74. package/dist/constants/zero.d.ts +0 -5
  75. package/dist/constants/zero.d.ts.map +0 -1
  76. package/dist/constants/zero.js +0 -4
  77. package/dist/types/Zero.d.ts +0 -17
  78. package/dist/types/Zero.d.ts.map +0 -1
  79. package/dist/types/Zero.js +0 -5
  80. package/dist/zero/index.d.ts +0 -5072
  81. package/dist/zero/index.d.ts.map +0 -1
  82. package/dist/zero/index.js +0 -12
  83. package/dist/zero/mutators.d.ts +0 -1523
  84. package/dist/zero/mutators.d.ts.map +0 -1
  85. package/dist/zero/mutators.js +0 -560
  86. package/dist/zero/mutators.test.d.ts +0 -2
  87. package/dist/zero/mutators.test.d.ts.map +0 -1
  88. package/dist/zero/mutators.test.js +0 -1158
  89. package/dist/zero/queries.d.ts +0 -1372
  90. package/dist/zero/queries.d.ts.map +0 -1
  91. package/dist/zero/queries.js +0 -173
  92. package/dist/zero/schema.d.ts +0 -1821
  93. package/dist/zero/schema.d.ts.map +0 -1
  94. package/dist/zero/schema.js +0 -434
@@ -1,11 +1,11 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, draftNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setEnvelope = createEndpoint({
6
6
  body: mutatorSchemas.draft.setEnvelope,
7
7
  method: 'PATCH',
8
- path: '/v1/pv/models/drafts/:draftId/set-envelope',
8
+ path: '/v1/pv/models/draft/:draftId/set-envelope',
9
9
  response: v.union([
10
10
  authFailedErrorSchema,
11
11
  userNotFoundErrorSchema,
@@ -1,5 +1,5 @@
1
1
  import * as v from 'valibot';
2
- export declare const setFrom: import("../../../../..").EndpointConfig<"/v1/pv/models/drafts/:draftId/set-from", v.ObjectSchema<{
2
+ export declare const setFrom: import("../../../../..").EndpointConfig<"/v1/pv/models/draft/:draftId/set-from", v.ObjectSchema<{
3
3
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
4
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
5
5
  readonly from: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
@@ -1,11 +1,11 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { aliasNotFoundErrorSchema, authFailedErrorSchema, draftNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setFrom = createEndpoint({
6
6
  body: mutatorSchemas.draft.setFrom,
7
7
  method: 'PATCH',
8
- path: '/v1/pv/models/drafts/:draftId/set-from',
8
+ path: '/v1/pv/models/draft/:draftId/set-from',
9
9
  response: v.union([
10
10
  authFailedErrorSchema,
11
11
  userNotFoundErrorSchema,
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, labelNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const addLabel = createEndpoint({
6
6
  body: mutatorSchemas.thread.addLabel,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const deleteThreads = createEndpoint({
6
6
  body: mutatorSchemas.thread.delete,
7
7
  method: 'DELETE',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, labelNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const removeLabel = createEndpoint({
6
6
  body: mutatorSchemas.thread.removeLabel,
7
7
  method: 'DELETE',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setArchive = createEndpoint({
6
6
  body: mutatorSchemas.thread.setArchive,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setFlagged = createEndpoint({
6
6
  body: mutatorSchemas.thread.setFlagged,
7
7
  method: 'PATCH',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setInbox = createEndpoint({
6
6
  body: mutatorSchemas.thread.setInbox,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setSeen = createEndpoint({
6
6
  body: mutatorSchemas.thread.setSeen,
7
7
  method: 'PATCH',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setSpam = createEndpoint({
6
6
  body: mutatorSchemas.thread.setSpam,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setTrash = createEndpoint({
6
6
  body: mutatorSchemas.thread.setTrash,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const createView = createEndpoint({
6
6
  body: mutatorSchemas.user.createView,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const deletePushToken = createEndpoint({
6
6
  body: mutatorSchemas.user.deleteSettingsPushNotificationToken,
7
7
  method: 'DELETE',
@@ -1,5 +1,5 @@
1
1
  import * as v from 'valibot';
2
- export declare const deleteView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/views/:viewId/delete", v.ObjectSchema<{
2
+ export declare const deleteView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/view/:viewId/delete", v.ObjectSchema<{
3
3
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
4
  readonly viewId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
5
5
  }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
@@ -1,11 +1,11 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, viewNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const deleteView = createEndpoint({
6
6
  body: mutatorSchemas.user.deleteView,
7
7
  method: 'DELETE',
8
- path: '/v1/pv/models/user/views/:viewId/delete',
8
+ path: '/v1/pv/models/user/view/:viewId/delete',
9
9
  response: v.union([
10
10
  authFailedErrorSchema,
11
11
  userNotFoundErrorSchema,
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setPushToken = createEndpoint({
6
6
  body: mutatorSchemas.user.setSettingsPushNotificationToken,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setSettingsName = createEndpoint({
6
6
  body: mutatorSchemas.user.setSettingsName,
7
7
  method: 'PATCH',
@@ -1,5 +1,5 @@
1
1
  import * as v from 'valibot';
2
- export declare const updateView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/views/:viewId/update", v.ObjectSchema<{
2
+ export declare const updateView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/view/:viewId/update", v.ObjectSchema<{
3
3
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
4
  readonly view: v.ObjectSchema<{
5
5
  readonly aliasEmails: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>, undefined>, v.MinLengthAction<string[], 2, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
@@ -1,11 +1,11 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, viewNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const updateView = createEndpoint({
6
6
  body: mutatorSchemas.user.updateView,
7
7
  method: 'PATCH',
8
- path: '/v1/pv/models/user/views/:viewId/update',
8
+ path: '/v1/pv/models/user/view/:viewId/update',
9
9
  response: v.union([
10
10
  authFailedErrorSchema,
11
11
  userNotFoundErrorSchema,
@@ -13,5 +13,4 @@ export * from './OAuthProvider';
13
13
  export * from './PokeEvent';
14
14
  export * from './SDKError';
15
15
  export * from './UserSettings';
16
- export * from './Zero';
17
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA"}
@@ -13,4 +13,3 @@ export * from './OAuthProvider';
13
13
  export * from './PokeEvent';
14
14
  export * from './SDKError';
15
15
  export * from './UserSettings';
16
- export * from './Zero';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.539",
3
+ "version": "2.0.541",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",
@@ -27,7 +27,6 @@
27
27
  "dependencies": {
28
28
  "@orama/stemmers": "3.1.16",
29
29
  "@orama/stopwords": "3.1.16",
30
- "@rocicorp/zero": "0.25.9",
31
30
  "diff": "8.0.2",
32
31
  "valibot": "1.1.0"
33
32
  },
@@ -1,5 +0,0 @@
1
- export declare const zero: {
2
- mutateURL: string;
3
- queryURL: string;
4
- };
5
- //# sourceMappingURL=zero.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"zero.d.ts","sourceRoot":"","sources":["../../src/constants/zero.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;CAGhB,CAAA"}
@@ -1,4 +0,0 @@
1
- export const zero = {
2
- mutateURL: 'http://marco-backend.railway.internal:3000/v1/pv/zero/push',
3
- queryURL: 'http://marco-backend.railway.internal:3000/v1/pv/zero/queries',
4
- };
@@ -1,17 +0,0 @@
1
- import type { schema, tables } from '../zero/schema';
2
- export declare enum MutationError {
3
- AUTHENTICATION_REQUIRED = "MutationError/AUTHENTICATION_REQUIRED",
4
- ALREADY_APPLIED = "MutationError/ALREADY_APPLIED"
5
- }
6
- export type MarcoZeroSchema = typeof schema;
7
- export type MarcoZeroTables = typeof tables;
8
- export type MarcoZeroContext = {
9
- userId: string;
10
- };
11
- declare module '@rocicorp/zero' {
12
- interface DefaultTypes {
13
- schema: typeof schema;
14
- context: MarcoZeroContext;
15
- }
16
- }
17
- //# sourceMappingURL=Zero.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Zero.d.ts","sourceRoot":"","sources":["../../src/types/Zero.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAE/D,oBAAY,aAAa;IACvB,uBAAuB,0CAA0C;IACjE,eAAe,kCAAkC;CAClD;AAED,MAAM,MAAM,eAAe,GAAG,OAAO,MAAM,CAAA;AAC3C,MAAM,MAAM,eAAe,GAAG,OAAO,MAAM,CAAA;AAC3C,MAAM,MAAM,gBAAgB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAA;AAEjD,OAAO,QAAQ,gBAAgB,CAAC;IAC9B,UAAU,YAAY;QACpB,MAAM,EAAE,OAAO,MAAM,CAAA;QACrB,OAAO,EAAE,gBAAgB,CAAA;KAC1B;CACF"}
@@ -1,5 +0,0 @@
1
- export var MutationError;
2
- (function (MutationError) {
3
- MutationError["AUTHENTICATION_REQUIRED"] = "MutationError/AUTHENTICATION_REQUIRED";
4
- MutationError["ALREADY_APPLIED"] = "MutationError/ALREADY_APPLIED";
5
- })(MutationError || (MutationError = {}));