ponder 0.8.0-next.2 → 0.8.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.
- package/dist/bin/ponder.d.ts +5 -1
- package/dist/bin/ponder.js +1163 -1140
- package/dist/bin/ponder.js.map +1 -1
- package/dist/{chunk-K6DOVPPV.js → chunk-3D7HS7F5.js} +23 -118
- package/dist/chunk-3D7HS7F5.js.map +1 -0
- package/dist/index.d.ts +2 -149
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/bin/commands/codegen.ts +13 -12
- package/src/bin/commands/dev.ts +87 -29
- package/src/bin/commands/list.ts +141 -0
- package/src/bin/commands/serve.ts +35 -23
- package/src/bin/commands/start.ts +51 -16
- package/src/bin/ponder.ts +21 -0
- package/src/bin/utils/run.ts +26 -28
- package/src/bin/utils/runServer.ts +5 -17
- package/src/build/configAndIndexingFunctions.ts +0 -102
- package/src/build/index.ts +715 -7
- package/src/build/pre.ts +141 -0
- package/src/build/schema.ts +6 -58
- package/src/common/options.ts +7 -1
- package/src/common/telemetry.ts +21 -10
- package/src/database/index.ts +332 -516
- package/src/drizzle/index.ts +12 -160
- package/src/drizzle/kit/index.ts +6 -37
- package/src/index.ts +0 -1
- package/src/indexing-store/historical.ts +19 -20
- package/src/indexing-store/metadata.ts +2 -30
- package/src/indexing-store/realtime.ts +9 -11
- package/src/server/index.ts +18 -28
- package/src/sync-store/migrations.ts +5 -5
- package/src/ui/graphiql.html.ts +6 -6
- package/src/utils/result.ts +24 -0
- package/dist/chunk-K6DOVPPV.js.map +0 -1
- package/dist/pglite/.s.PGSQL.5432.out +0 -0
- package/dist/pglite/public/.s.PGSQL.5432.out +0 -0
- package/dist/pglite/sync/.s.PGSQL.5432.out +0 -0
- package/src/build/service.ts +0 -812
package/dist/bin/ponder.d.ts
CHANGED
|
@@ -14,18 +14,22 @@ type GlobalOptions = {
|
|
|
14
14
|
command: "dev" | "start" | "serve" | "codegen";
|
|
15
15
|
} & ReturnType<typeof ponder.opts>;
|
|
16
16
|
declare const devCommand: Command<[], {
|
|
17
|
+
schema?: string | undefined;
|
|
17
18
|
port: number;
|
|
18
19
|
hostname?: string | undefined;
|
|
19
20
|
}>;
|
|
20
21
|
declare const startCommand: Command<[], {
|
|
22
|
+
schema?: string | undefined;
|
|
21
23
|
port: number;
|
|
22
24
|
hostname?: string | undefined;
|
|
23
25
|
}>;
|
|
24
26
|
declare const serveCommand: Command<[], {
|
|
27
|
+
schema?: string | undefined;
|
|
25
28
|
port: number;
|
|
26
29
|
hostname?: string | undefined;
|
|
27
30
|
}>;
|
|
31
|
+
declare const dbCommand: Command<[], {}>;
|
|
28
32
|
declare const codegenCommand: Command<[], {}>;
|
|
29
|
-
type CliOptions = Prettify<GlobalOptions & Partial<ReturnType<typeof devCommand.opts> & ReturnType<typeof startCommand.opts> & ReturnType<typeof serveCommand.opts> & ReturnType<typeof codegenCommand.opts>>>;
|
|
33
|
+
type CliOptions = Prettify<GlobalOptions & Partial<ReturnType<typeof devCommand.opts> & ReturnType<typeof startCommand.opts> & ReturnType<typeof serveCommand.opts> & ReturnType<typeof dbCommand.opts> & ReturnType<typeof codegenCommand.opts>>>;
|
|
30
34
|
|
|
31
35
|
export type { CliOptions };
|