@marcoappio/marco-config 2.0.512 → 2.0.514

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,6 +1,18 @@
1
+ import type { schema, tables } from '../zero/schema';
1
2
  export declare enum MutationError {
2
3
  AUTHENTICATION_REQUIRED = "MutationError/AUTHENTICATION_REQUIRED",
3
4
  ALREADY_APPLIED = "MutationError/ALREADY_APPLIED",
4
5
  ENTITY_NOT_FOUND = "MutationError/ENTITY_NOT_FOUND"
5
6
  }
7
+ export type MarcoZeroSchema = typeof schema;
8
+ export type MarcoZeroTables = typeof tables;
9
+ export type MarcoZeroContext = {
10
+ userId: string;
11
+ };
12
+ declare module '@rocicorp/zero' {
13
+ interface DefaultTypes {
14
+ schema: typeof schema;
15
+ context: MarcoZeroContext;
16
+ }
17
+ }
6
18
  //# sourceMappingURL=Zero.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Zero.d.ts","sourceRoot":"","sources":["../../src/types/Zero.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,uBAAuB,0CAA0C;IACjE,eAAe,kCAAkC;IACjD,gBAAgB,mCAAmC;CACpD"}
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;IACjD,gBAAgB,mCAAmC;CACpD;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"}