@blitznocode/blitz-orm 0.11.1 → 0.11.2

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.
package/dist/index.d.mts CHANGED
@@ -577,7 +577,7 @@ type EnrichedBQLMutationBlock = {
577
577
  $op: BormOperation;
578
578
  $thing: string;
579
579
  $thingType: 'entity' | 'relation';
580
- [EdgeSchema]?: EnrichedDataField | EnrichedLinkField | EnrichedRoleField;
580
+ [EdgeSchema]?: EnrichedLinkField | EnrichedRoleField;
581
581
  [EdgeType]?: 'linkField' | 'roleField';
582
582
  [DBNode]?: EnrichedBQLMutationBlock | Record<string, never>;
583
583
  };
@@ -707,8 +707,10 @@ declare class BormClient {
707
707
  init: () => Promise<void>;
708
708
  introspect: () => Promise<BormSchema>;
709
709
  define: () => Promise<{
710
- typeDB: Map<string | undefined, string | undefined>;
711
- surrealDB: Map<string, string>;
710
+ typeDB: any;
711
+ surrealDB: {
712
+ [k: string]: string;
713
+ };
712
714
  }>;
713
715
  query: (query: RawBQLQuery | RawBQLQuery[], queryConfig?: QueryConfig) => Promise<BQLResponseSingle | BQLResponse[]>;
714
716
  mutate: (mutation: BQLMutation, mutationConfig?: MutationConfig) => Promise<BQLResponseMulti>;