@marcoappio/marco-config 2.0.422 → 2.0.423

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,27 +1,5 @@
1
1
  export declare const marcoZero: {
2
2
  readonly createMutators: (handlers: import("./mutators").MarcoZeroMutatorHandlers) => import("./mutators").MarcoZeroMutators;
3
- readonly permissions: Promise<{
4
- tables: Record<string, {
5
- row?: {
6
- select?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
7
- insert?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
8
- update?: {
9
- preMutation?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
10
- postMutation?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
11
- } | undefined;
12
- delete?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
13
- } | undefined;
14
- cell?: Record<string, {
15
- select?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
16
- insert?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
17
- update?: {
18
- preMutation?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
19
- postMutation?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
20
- } | undefined;
21
- delete?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
22
- }> | undefined;
23
- }>;
24
- } | undefined>;
25
3
  readonly queries: {
26
4
  readonly getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccounts", import("..").MarcoSyncedQueryContext, true, [], import("@rocicorp/zero").Query<{
27
5
  tables: {
@@ -6680,7 +6658,6 @@ export { accountMutatorDefinitions } from './mutators/account';
6680
6658
  export { draftMutatorDefinitions } from './mutators/draft';
6681
6659
  export { threadMutatorDefinitions } from './mutators/thread';
6682
6660
  export { userMutatorDefinitions } from './mutators/user';
6683
- export { permissions } from './permissions';
6684
6661
  export { getUser } from './queries';
6685
6662
  export type { MarcoZeroSchema } from './schema';
6686
6663
  export { schema, zeroTables } from './schema';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CALM,CAAA;AAEV,YAAY,EACV,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,YAAY,CAAA;AACnB,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA"}
@@ -1,10 +1,8 @@
1
1
  import { createMutators } from './mutators';
2
- import { permissions } from './permissions';
3
2
  import { getAccounts, getContacts, getDrafts, getThreads, getUser } from './queries';
4
3
  import { schema, zeroTables } from './schema';
5
4
  export const marcoZero = {
6
5
  createMutators,
7
- permissions,
8
6
  queries: {
9
7
  getAccounts,
10
8
  getContacts,
@@ -20,6 +18,5 @@ export { accountMutatorDefinitions } from './mutators/account';
20
18
  export { draftMutatorDefinitions } from './mutators/draft';
21
19
  export { threadMutatorDefinitions } from './mutators/thread';
22
20
  export { userMutatorDefinitions } from './mutators/user';
23
- export { permissions } from './permissions';
24
21
  export { getUser } from './queries';
25
22
  export { schema, zeroTables } from './schema';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.422",
3
+ "version": "2.0.423",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",
@@ -1,23 +0,0 @@
1
- export declare const permissions: Promise<{
2
- tables: Record<string, {
3
- row?: {
4
- select?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
5
- insert?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
6
- update?: {
7
- preMutation?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
8
- postMutation?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
9
- } | undefined;
10
- delete?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
11
- } | undefined;
12
- cell?: Record<string, {
13
- select?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
14
- insert?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
15
- update?: {
16
- preMutation?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
17
- postMutation?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
18
- } | undefined;
19
- delete?: ["allow", import("@rocicorp/zero").Condition][] | undefined;
20
- }> | undefined;
21
- }>;
22
- } | undefined>;
23
- //# sourceMappingURL=permissions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../src/zero/permissions.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;kBAgEhB,CAAC,mBAEL,gBAEQ;kBAIH,CAAC,mBAAmB,gBAEd;kBAKG,CAAC;2BAA+B,CAAC,mBAAmB,gBAAgC;4BAAwD,CAAC,mBAAmB,gBAAgC;;kBAAyE,CAAC,mBAAmB,gBAAgC;;;kBAAqG,CAAC,mBAAmB,gBAAgC;kBAA8C,CAAC,mBAAmB,gBAAgC;kBAA8C,CAAC;2BAA+B,CAAC,mBAAmB,gBAAgC;4BAAwD,CAAC,mBAAmB,gBAAgC;;kBAAyE,CAAC,mBAAmB,gBAAgC;;;cADn7B,CAAA"}
@@ -1,81 +0,0 @@
1
- import { definePermissions } from '@rocicorp/zero';
2
- import { schema } from './schema';
3
- export const permissions = definePermissions(schema, () => {
4
- return {
5
- account: {
6
- row: {
7
- select: [],
8
- },
9
- },
10
- accountAlias: {
11
- row: {
12
- select: [],
13
- },
14
- },
15
- accountLabel: {
16
- row: {
17
- select: [],
18
- },
19
- },
20
- contact: {
21
- row: {
22
- select: [],
23
- },
24
- },
25
- draft: {
26
- row: {
27
- select: [],
28
- },
29
- },
30
- draftAttachment: {
31
- row: {
32
- select: [],
33
- },
34
- },
35
- draftRecipient: {
36
- row: {
37
- select: [],
38
- },
39
- },
40
- thread: {
41
- row: {
42
- select: [],
43
- },
44
- },
45
- threadLabel: {
46
- row: {
47
- select: [],
48
- },
49
- },
50
- threadMessage: {
51
- row: {
52
- select: [],
53
- },
54
- },
55
- threadMessageAttachment: {
56
- row: {
57
- select: [],
58
- },
59
- },
60
- threadMessageLabel: {
61
- row: {
62
- select: [],
63
- },
64
- },
65
- threadMessageRecipient: {
66
- row: {
67
- select: [],
68
- },
69
- },
70
- user: {
71
- row: {
72
- select: [],
73
- },
74
- },
75
- userPushNotificationToken: {
76
- row: {
77
- select: [],
78
- },
79
- },
80
- };
81
- });