@query-farm/vgi 0.48.4 → 0.49.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.
Files changed (60) hide show
  1. package/README.md +52 -1
  2. package/dist/attach-secret-keyfile.d.ts +11 -0
  3. package/dist/attach-secret-options.d.ts +96 -0
  4. package/dist/catalog/attach-option.d.ts +6 -0
  5. package/dist/catalog/composite.d.ts +2 -0
  6. package/dist/catalog/descriptors.d.ts +11 -0
  7. package/dist/catalog/interface.d.ts +54 -2
  8. package/dist/catalog/scan-planning.d.ts +76 -0
  9. package/dist/client-entry.js +32 -4
  10. package/dist/client-entry.js.map +9 -8
  11. package/dist/generated/vgi-client.d.ts +1 -0
  12. package/dist/generated/vgi-protocol-schemas.d.ts +1 -1
  13. package/dist/generated/vgi-service.d.ts +5 -1
  14. package/dist/index.core.d.ts +3 -0
  15. package/dist/index.js +3245 -2538
  16. package/dist/index.js.map +32 -29
  17. package/dist/protocol/dispatch.d.ts +13 -2
  18. package/dist/protocol/handlers/catalog/admin.d.ts +1 -1
  19. package/dist/protocol/handlers/catalog/index.d.ts +1 -1
  20. package/dist/protocol/handlers/catalog/index_methods.d.ts +1 -1
  21. package/dist/protocol/handlers/catalog/macro.d.ts +1 -1
  22. package/dist/protocol/handlers/catalog/shared.d.ts +28 -3
  23. package/dist/protocol/handlers/catalog/table.d.ts +1 -1
  24. package/dist/protocol/handlers/catalog/view.d.ts +1 -1
  25. package/dist/protocol/handlers/function.d.ts +2 -0
  26. package/dist/protocol/handlers/table-buffering.d.ts +1 -1
  27. package/dist/serve-entry.d.ts +5 -0
  28. package/dist/serve-entry.js +2026 -101
  29. package/dist/serve-entry.js.map +27 -20
  30. package/dist/worker-cf-entry.d.ts +2 -2
  31. package/dist/worker-cf-entry.js +823 -103
  32. package/dist/worker-cf-entry.js.map +27 -24
  33. package/dist/worker.d.ts +10 -0
  34. package/package.json +1 -1
  35. package/src/attach-secret-keyfile.ts +185 -0
  36. package/src/attach-secret-options.ts +418 -0
  37. package/src/catalog/attach-option.ts +6 -0
  38. package/src/catalog/column-metadata.ts +7 -0
  39. package/src/catalog/composite.ts +5 -0
  40. package/src/catalog/descriptors.ts +11 -0
  41. package/src/catalog/interface.ts +97 -2
  42. package/src/catalog/read-only.ts +14 -1
  43. package/src/catalog/scan-planning.ts +314 -0
  44. package/src/generated/vgi-client.ts +2 -1
  45. package/src/generated/vgi-protocol-schemas.ts +6 -2
  46. package/src/generated/vgi-service.ts +7 -2
  47. package/src/index.core.ts +21 -0
  48. package/src/protocol/dispatch.ts +16 -4
  49. package/src/protocol/handlers/catalog/admin.ts +33 -18
  50. package/src/protocol/handlers/catalog/index.ts +6 -5
  51. package/src/protocol/handlers/catalog/index_methods.ts +5 -3
  52. package/src/protocol/handlers/catalog/macro.ts +7 -5
  53. package/src/protocol/handlers/catalog/shared.ts +52 -6
  54. package/src/protocol/handlers/catalog/table.ts +43 -30
  55. package/src/protocol/handlers/catalog/view.ts +9 -7
  56. package/src/protocol/handlers/function.ts +11 -5
  57. package/src/protocol/handlers/table-buffering.ts +2 -1
  58. package/src/serve-entry.ts +6 -1
  59. package/src/worker-cf-entry.ts +9 -0
  60. package/src/worker.ts +12 -0
@@ -3,9 +3,9 @@ export type { VgiFetchOptions } from "./http/fetch.js";
3
3
  export type { HostingOptions } from "./rpc-server.js";
4
4
  export { AuthUnavailableError, GrantKeys, GrantRefusedError, IdentityUnavailableError, StatusError, } from "@query-farm/vgi-rpc";
5
5
  export type { GrantMinter, IssuedGrant, TokenIdentity, TokenResolver } from "@query-farm/vgi-rpc";
6
- export { defineScalarFunction, defineTableFunction, defineAggregate, defineTableInOutFunction, defineRowTransformFunction, parentRowsMetadata, PARENT_ROW_METADATA_KEY, moreOutputMetadata, constraintSpecFields, cacheControlMetadata, FunctionRegistry, ReadOnlyCatalogInterface, CompositeCatalogInterface, CatalogInterface, Arguments, FunctionType, serializeAttachOptionSpec, serializeAttachOptionSpecs, serializeColumnStatistics, BindResultSchema, ScanFunctionResultSchema, secretType, secretsOfType, secretOfType, requireSecretOfType, secretByName, secretForScope, secretForScopeOfType, normalizeRequiredSecrets, } from "./index.core.js";
6
+ 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";
7
7
  export * from "./catalog/public-codecs.js";
8
- export type { CacheControl, CacheScope, AttachOptionSpec, ColumnStatistics, CatalogAttachResult, CatalogDescriptor, CatalogInfo, TableInfo, AttachOpaqueData, TransactionOpaqueData, SchemaInfo, VgiFunction, TableProcessParams, ArgumentSpec, ArgumentConstraints, RowTransformConfig, RowTransformProcessParams, TableInOutBindParams, ConstraintRecordSpec, ConstraintRecordView, SecretFields, SecretsDict, RequiredSecret, SecretRequirement, SecretRequirementSpec, } from "./index.core.js";
8
+ export type { CacheControl, CacheScope, AttachOptionSpec, ColumnStatistics, ScanBranchInput, ScanPlanningMode, ScanCandidateStatistics, CatalogAttachResult, CatalogDescriptor, CatalogInfo, TableInfo, AttachOpaqueData, TransactionOpaqueData, SchemaInfo, VgiFunction, TableProcessParams, ArgumentSpec, ArgumentConstraints, RowTransformConfig, RowTransformProcessParams, TableInOutBindParams, ConstraintRecordSpec, ConstraintRecordView, SecretFields, SecretsDict, RequiredSecret, SecretRequirement, SecretRequirementSpec, } from "./index.core.js";
9
9
  export type { ProtocolConfig } from "./protocol/dispatch.js";
10
10
  export type { LandingInfo } from "./http/landing.js";
11
11
  export { createLandingRoutes } from "./http/landing.js";