@query-farm/vgi 0.51.0 → 0.52.1
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 +45 -3
- package/dist/arrow/impl-flechette/ipc.d.ts +9 -1
- package/dist/client-entry.js +833 -775
- package/dist/client-entry.js.map +10 -10
- package/dist/functions/storage-blobs.d.ts +173 -0
- package/dist/functions/storage-cf-do.d.ts +12 -0
- package/dist/functions/storage.d.ts +22 -0
- package/dist/functions/table.d.ts +6 -1
- package/dist/generated/vgi-client.d.ts +7 -1
- package/dist/generated/vgi-protocol-schemas.d.ts +10 -9
- package/dist/generated/vgi-protocol-types.d.ts +244 -2
- package/dist/generated/vgi-service.d.ts +1 -1
- package/dist/hosted.d.ts +117 -0
- package/dist/http/blob-vendor.d.ts +33 -0
- package/dist/http/fetch.d.ts +53 -2
- package/dist/http/hosted-auth.d.ts +45 -0
- package/dist/index.core.d.ts +9 -2
- package/dist/index.js +5238 -3619
- package/dist/index.js.map +44 -28
- package/dist/protocol/arguments-ref.d.ts +107 -0
- package/dist/protocol/dispatch.d.ts +3 -2
- package/dist/protocol/handlers/function.d.ts +21 -0
- package/dist/protocol/serialize.d.ts +1 -1
- package/dist/protocol/serializers/bind.d.ts +27 -1
- package/dist/protocol/serializers/cardinality.d.ts +1 -1
- package/dist/protocol/serializers/splits.d.ts +7 -0
- package/dist/protocol/state-serializer.d.ts +8 -7
- package/dist/protocol/stream-init.d.ts +17 -0
- package/dist/protocol/types.d.ts +24 -0
- package/dist/secrets/lookups.d.ts +31 -0
- package/dist/serve-entry.d.ts +25 -4
- package/dist/serve-entry.js +2940 -1219
- package/dist/serve-entry.js.map +44 -29
- package/dist/worker-cf-entry.d.ts +5 -0
- package/dist/worker-cf-entry.js +2928 -1223
- package/dist/worker-cf-entry.js.map +47 -31
- package/package.json +5 -4
- package/src/arrow/impl-flechette/ipc.ts +9 -1
- package/src/functions/storage-blobs.ts +654 -0
- package/src/functions/storage-cf-do.ts +24 -0
- package/src/functions/storage.ts +54 -5
- package/src/functions/table-buffering.ts +14 -4
- package/src/functions/table.ts +8 -4
- package/src/generated/vgi-client.ts +9 -2
- package/src/generated/vgi-protocol-schemas.ts +115 -107
- package/src/generated/vgi-protocol-types.ts +640 -3
- package/src/generated/vgi-service.ts +2 -2
- package/src/hosted.ts +254 -0
- package/src/http/blob-vendor.ts +80 -0
- package/src/http/fetch.ts +170 -8
- package/src/http/hosted-auth.ts +326 -0
- package/src/index.core.ts +64 -1
- package/src/protocol/arguments-ref.ts +260 -0
- package/src/protocol/dispatch.ts +3 -2
- package/src/protocol/handlers/function.ts +109 -60
- package/src/protocol/handlers/table-buffering.ts +5 -0
- package/src/protocol/serialize.ts +3 -0
- package/src/protocol/serializers/bind.ts +96 -69
- package/src/protocol/serializers/cardinality.ts +4 -7
- package/src/protocol/serializers/init.ts +5 -11
- package/src/protocol/serializers/splits.ts +31 -4
- package/src/protocol/state-serializer.ts +27 -39
- package/src/protocol/stream-init.ts +87 -0
- package/src/protocol/types.ts +25 -0
- package/src/secrets/lookups.ts +53 -0
- package/src/serve-entry.ts +105 -8
- package/src/worker-cf-entry.ts +33 -0
- package/src/worker.ts +25 -0
- package/dist/protocol/carried-init-request.d.ts +0 -28
- package/dist/util/zstd-sync.d.ts +0 -7
- package/src/protocol/carried-init-request.ts +0 -139
- package/src/util/zstd-sync.ts +0 -50
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
export { createVgiFetch } from "./http/fetch.js";
|
|
2
2
|
export type { VgiFetchOptions } from "./http/fetch.js";
|
|
3
|
+
export { blobVendorHttpConfigFromEnv } from "./http/blob-vendor.js";
|
|
4
|
+
export type { BlobVendorEnv, BlobVendorHttpConfig } from "./http/blob-vendor.js";
|
|
5
|
+
export { FunctionStorageCfDo, CF_DO_MAX_VALUE_BYTES, ExternalizingStorage, wrapStorageFromEnv, setStorage, StorageBlobError, StorageBlobIntegrityError, StorageBlobMissingError, StorageEnvelopeError, StorageValueTooLargeError, } from "./index.core.js";
|
|
3
6
|
export type { HostingOptions } from "./rpc-server.js";
|
|
7
|
+
export { HOSTED_ENV, HOSTED_CHALLENGE, HOSTED_AUTH_DOMAIN, OrchardHostedConfigError, hostedModeEnabled, resolveHostedConfig, orchardHostedFromEnv, checkHostedEnvironment, checkHostedSigningKey, type HostedConfig, type HostedEnv, } from "./hosted.js";
|
|
8
|
+
export { hostedAuthenticate, isHostedAuthenticate, type HostedVerifierDeps } from "./http/hosted-auth.js";
|
|
4
9
|
export { AuthUnavailableError, GrantKeys, GrantRefusedError, IdentityUnavailableError, StatusError, } from "@query-farm/vgi-rpc";
|
|
5
10
|
export type { GrantMinter, IssuedGrant, TokenIdentity, TokenResolver } from "@query-farm/vgi-rpc";
|
|
6
11
|
export { defineScalarFunction, defineTableFunction, defineAggregate, defineTableInOutFunction, defineRowTransformFunction, parentRowsMetadata, PARENT_ROW_METADATA_KEY, moreOutputMetadata, constraintSpecFields, cacheControlMetadata, FunctionRegistry, ReadOnlyCatalogInterface, CompositeCatalogInterface, CatalogInterface, Arguments, FunctionType, serializeAttachOptionSpec, serializeAttachOptionSpecs, serializeColumnStatistics, buildScanBranchesResult, ScanPlanningFilters, filtersMayMatch, SCAN_PLANNING_BIND, SCAN_PLANNING_FILTERED, BindResultSchema, ScanFunctionResultSchema, secretType, secretsOfType, secretOfType, requireSecretOfType, secretByName, secretForScope, secretForScopeOfType, normalizeRequiredSecrets, } from "./index.core.js";
|