@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.cjs +18 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +18 -19
- package/dist/index.js.map +1 -1
- package/dist/sql/index.cjs +9 -11
- package/dist/sql/index.cjs.map +1 -1
- package/dist/sql/index.d.cts +8 -3
- package/dist/sql/index.d.ts +8 -3
- package/dist/sql/index.js +9 -11
- package/dist/sql/index.js.map +1 -1
- package/package.json +2 -1
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:
|
|
2032
|
-
WRITE:
|
|
2033
|
-
SCHEMA:
|
|
2034
|
-
ADMIN:
|
|
2035
|
-
SELECT:
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
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:
|
|
2517
|
-
WRITE:
|
|
2518
|
-
ADMIN:
|
|
2519
|
-
DESCRIBE:
|
|
2520
|
-
EXPORT:
|
|
2521
|
-
IMPORT:
|
|
2522
|
-
EXECUTE:
|
|
2523
|
-
ALL:
|
|
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
|