@tinycloud/sdk-services 2.4.2 → 2.6.0-beta.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/index.d.cts CHANGED
@@ -1231,6 +1231,9 @@ interface ViewInfo {
1231
1231
  }
1232
1232
  /**
1233
1233
  * DuckDB service action types.
1234
+ *
1235
+ * URNs derive from the canonical capability registry in `@tinycloud/bootstrap`
1236
+ * (TC-112 single source of truth).
1234
1237
  */
1235
1238
  declare const DuckDbAction: {
1236
1239
  readonly READ: "tinycloud.duckdb/read";
package/dist/index.d.ts CHANGED
@@ -1231,6 +1231,9 @@ interface ViewInfo {
1231
1231
  }
1232
1232
  /**
1233
1233
  * DuckDB service action types.
1234
+ *
1235
+ * URNs derive from the canonical capability registry in `@tinycloud/bootstrap`
1236
+ * (TC-112 single source of truth).
1234
1237
  */
1235
1238
  declare const DuckDbAction: {
1236
1239
  readonly READ: "tinycloud.duckdb/read";
package/dist/index.js CHANGED
@@ -2027,18 +2027,16 @@ var DatabaseHandle = class {
2027
2027
  };
2028
2028
 
2029
2029
  // src/sql/types.ts
2030
+ import { SQL } from "@tinycloud/bootstrap";
2030
2031
  var SQLAction = {
2031
- READ: "tinycloud.sql/read",
2032
- WRITE: "tinycloud.sql/write",
2033
- SCHEMA: "tinycloud.sql/schema",
2034
- ADMIN: "tinycloud.sql/admin",
2035
- SELECT: "tinycloud.sql/select",
2036
- INSERT: "tinycloud.sql/insert",
2037
- UPDATE: "tinycloud.sql/update",
2038
- DELETE: "tinycloud.sql/delete",
2039
- EXECUTE: "tinycloud.sql/execute",
2040
- EXPORT: "tinycloud.sql/export",
2041
- ALL: "tinycloud.sql/*"
2032
+ READ: SQL.READ,
2033
+ WRITE: SQL.WRITE,
2034
+ SCHEMA: SQL.SCHEMA,
2035
+ ADMIN: SQL.ADMIN,
2036
+ SELECT: SQL.SELECT,
2037
+ EXECUTE: SQL.EXECUTE,
2038
+ EXPORT: SQL.EXPORT,
2039
+ ALL: SQL.ALL
2042
2040
  };
2043
2041
 
2044
2042
  // src/sql/SQLService.ts
@@ -2512,15 +2510,16 @@ var DuckDbDatabaseHandle = class {
2512
2510
  };
2513
2511
 
2514
2512
  // src/duckdb/types.ts
2513
+ import { DUCKDB } from "@tinycloud/bootstrap";
2515
2514
  var DuckDbAction = {
2516
- READ: "tinycloud.duckdb/read",
2517
- WRITE: "tinycloud.duckdb/write",
2518
- ADMIN: "tinycloud.duckdb/admin",
2519
- DESCRIBE: "tinycloud.duckdb/describe",
2520
- EXPORT: "tinycloud.duckdb/export",
2521
- IMPORT: "tinycloud.duckdb/import",
2522
- EXECUTE: "tinycloud.duckdb/execute",
2523
- ALL: "tinycloud.duckdb/*"
2515
+ READ: DUCKDB.READ,
2516
+ WRITE: DUCKDB.WRITE,
2517
+ ADMIN: DUCKDB.ADMIN,
2518
+ DESCRIBE: DUCKDB.DESCRIBE,
2519
+ EXPORT: DUCKDB.EXPORT,
2520
+ IMPORT: DUCKDB.IMPORT,
2521
+ EXECUTE: DUCKDB.EXECUTE,
2522
+ ALL: DUCKDB.ALL
2524
2523
  };
2525
2524
 
2526
2525
  // src/duckdb/DuckDbService.ts