postgresdk 0.1.1-alpha.1 → 0.1.2-alpha.0

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.
@@ -0,0 +1,2 @@
1
+ import type { AuthConfig } from "./types";
2
+ export declare function emitAuth(cfgAuth: AuthConfig | undefined): string;
@@ -17,4 +17,5 @@ import type { Graph } from "./rel-classify";
17
17
  export declare function emitRoutes(table: Table, _graph: Graph, opts: {
18
18
  softDeleteColumn: string | null;
19
19
  includeDepthLimit: number;
20
+ authStrategy?: string;
20
21
  }): string;
@@ -0,0 +1,5 @@
1
+ import type { Table } from "./introspect";
2
+ /**
3
+ * Emits the server index file that exports helper functions for route registration
4
+ */
5
+ export declare function emitServerIndex(tables: Table[], hasAuth: boolean): string;