@query-farm/vgi 0.44.0 → 0.46.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/README.md +8 -1
- package/dist/arrow/impl-arrowjs/index.d.ts +1 -1
- package/dist/arrow/impl-arrowjs/ipc.d.ts +6 -0
- package/dist/arrow/impl-flechette/build.d.ts +2 -2
- package/dist/arrow/impl-flechette/canonical.d.ts +2 -2
- package/dist/arrow/impl-flechette/index.d.ts +1 -1
- package/dist/arrow/impl-flechette/ipc.d.ts +6 -0
- package/dist/arrow/impl-flechette/schema.d.ts +19 -5
- package/dist/arrow/index.d.ts +1 -1
- package/dist/catalog/contents-codec.d.ts +7 -0
- package/dist/catalog/contents-digest.d.ts +2 -1
- package/dist/catalog/interface.d.ts +3 -0
- package/dist/catalog/publication-envelope.d.ts +1 -0
- package/dist/catalog/publication.d.ts +142 -0
- package/dist/catalog/s3-publication.d.ts +38 -0
- package/dist/client/client.d.ts +20 -1
- package/dist/client-entry.js +189 -37
- package/dist/client-entry.js.map +15 -12
- package/dist/codec/asd.d.ts +4 -0
- package/dist/functions/continuation.d.ts +69 -0
- package/dist/functions/table-in-out.d.ts +51 -7
- package/dist/functions/types.d.ts +20 -0
- package/dist/generated/vgi-client.d.ts +7 -14
- package/dist/generated/vgi-protocol-schemas.d.ts +2 -0
- package/dist/generated/vgi-protocol-types.d.ts +26 -3
- package/dist/generated/vgi-service.d.ts +3 -3
- package/dist/index.core.d.ts +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +981 -138
- package/dist/index.js.map +31 -25
- package/dist/protocol/dispatch.d.ts +1 -1
- package/dist/protocol/handlers/catalog/contents.d.ts +4 -4
- package/dist/serve-entry.js +643 -81
- package/dist/serve-entry.js.map +22 -18
- package/dist/util/parent-rows.d.ts +8 -0
- package/dist/worker-cf-entry.d.ts +1 -1
- package/dist/worker-cf-entry.js +821 -131
- package/dist/worker-cf-entry.js.map +29 -24
- package/package.json +4 -4
- package/src/arrow/impl-arrowjs/index.ts +1 -0
- package/src/arrow/impl-arrowjs/ipc.ts +23 -0
- package/src/arrow/impl-flechette/build.ts +4 -2
- package/src/arrow/impl-flechette/canonical.ts +14 -7
- package/src/arrow/impl-flechette/index.ts +1 -0
- package/src/arrow/impl-flechette/ipc.ts +19 -0
- package/src/arrow/index.ts +1 -1
- package/src/catalog/contents-codec.ts +77 -0
- package/src/catalog/contents-digest.ts +20 -17
- package/src/catalog/interface.ts +3 -0
- package/src/catalog/publication-envelope.ts +62 -0
- package/src/catalog/publication.ts +290 -0
- package/src/catalog/read-only.ts +6 -2
- package/src/catalog/s3-publication.ts +81 -0
- package/src/client/client.ts +82 -30
- package/src/codec/asd.ts +40 -1
- package/src/codec/conform.ts +2 -1
- package/src/filter-pushdown/collector.ts +17 -1
- package/src/functions/continuation.ts +202 -0
- package/src/functions/table-in-out.ts +131 -56
- package/src/functions/types.ts +20 -0
- package/src/generated/vgi-client.ts +8 -16
- package/src/generated/vgi-protocol-schemas.ts +14 -6
- package/src/generated/vgi-protocol-types.ts +39 -5
- package/src/generated/vgi-service.ts +4 -3
- package/src/index.core.ts +6 -0
- package/src/index.ts +5 -0
- package/src/protocol/dispatch.ts +1 -1
- package/src/protocol/handlers/catalog/admin.ts +7 -4
- package/src/protocol/handlers/catalog/contents.ts +50 -35
- package/src/protocol/handlers/function.ts +12 -0
- package/src/protocol/state-serializer.ts +7 -1
- package/src/util/parent-rows.ts +41 -0
- package/src/worker-cf-entry.ts +3 -0
|
@@ -50,7 +50,7 @@ export { VGI_PROTOCOL_NAME };
|
|
|
50
50
|
* hash covers method names, types and the params/result/header schemas only
|
|
51
51
|
* (WIRE_PROTOCOL.md §14).
|
|
52
52
|
*
|
|
53
|
-
* It changes only with vgi.v2's protocol version (currently 2.
|
|
53
|
+
* It changes only with vgi.v2's protocol version (currently 2.2.0). Asserted
|
|
54
54
|
* by src/protocol/__tests__/vgi-v2-hash.test.ts; if that test fails, the
|
|
55
55
|
* surface drifted from the reference -- fix the schemas, do not bump this.
|
|
56
56
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type CatalogContentsResponse } from "../../../generated/vgi-protocol-types.js";
|
|
2
|
+
import { ExternalRef, type CallContext } from "@query-farm/vgi-rpc";
|
|
2
3
|
import type { AttachOpaqueData, CatalogInterface } from "../../../catalog/interface.js";
|
|
3
4
|
type Wire = {
|
|
4
5
|
result: Uint8Array;
|
|
@@ -9,9 +10,8 @@ type Wire = {
|
|
|
9
10
|
* Enforces the revalidation rules: `not_modified` needs an etag equal to
|
|
10
11
|
* `ifNoneMatch` and no schemas; a catalog with no etag never yields
|
|
11
12
|
* `not_modified` (and so ignores `ifNoneMatch`). Validates the schema paths
|
|
12
|
-
* (unique, parent present) and orders them parent-first.
|
|
13
|
-
*
|
|
14
|
-
* byte-identical to catalog_schemas / catalog_schema_contents_* items.
|
|
13
|
+
* (unique, parent present) and orders them parent-first. The six collection
|
|
14
|
+
* streams retain the fields used by the existing per-schema RPC metadata.
|
|
15
15
|
*/
|
|
16
16
|
export declare function buildCatalogContents(cat: CatalogInterface, owner: CatalogInterface, attach: AttachOpaqueData, version: number, ifNoneMatch: string | null): Promise<CatalogContentsResponse>;
|
|
17
17
|
/**
|
|
@@ -23,5 +23,5 @@ export declare function buildCatalogContents(cat: CatalogInterface, owner: Catal
|
|
|
23
23
|
* serialized response bytes. A conditional call matching the cached etag is
|
|
24
24
|
* answered `not_modified` without touching the snapshot.
|
|
25
25
|
*/
|
|
26
|
-
export declare function serveCatalogContents(cat: CatalogInterface, attach: AttachOpaqueData, ifNoneMatch: string | null): Promise<Wire>;
|
|
26
|
+
export declare function serveCatalogContents(cat: CatalogInterface, attach: AttachOpaqueData, ifNoneMatch: string | null, callContext?: CallContext, sealedAttach?: Uint8Array): Promise<Wire | ExternalRef>;
|
|
27
27
|
export {};
|