@constellationspace/client 0.0.0-stage → 0.7.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/LICENSE +202 -0
- package/NOTICE +5 -0
- package/README.md +21 -2
- package/dist/bridge.cjs +561 -0
- package/dist/bridge.d.cts +125 -0
- package/dist/bridge.d.ts +125 -0
- package/dist/bridge.js +272 -0
- package/dist/chunk-Y42SVCFF.js +277 -0
- package/dist/index.cjs +303 -0
- package/dist/index.d.cts +4406 -0
- package/dist/index.d.ts +4406 -0
- package/dist/index.js +22 -0
- package/package.json +56 -4
package/dist/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Client,
|
|
3
|
+
ConstellationError,
|
|
4
|
+
DEFAULT_API_URL,
|
|
5
|
+
PAGE_RECORDS,
|
|
6
|
+
SCHEMA,
|
|
7
|
+
actionState,
|
|
8
|
+
plain,
|
|
9
|
+
unpack,
|
|
10
|
+
whole
|
|
11
|
+
} from "./chunk-Y42SVCFF.js";
|
|
12
|
+
export {
|
|
13
|
+
Client,
|
|
14
|
+
ConstellationError,
|
|
15
|
+
DEFAULT_API_URL,
|
|
16
|
+
PAGE_RECORDS,
|
|
17
|
+
SCHEMA,
|
|
18
|
+
actionState,
|
|
19
|
+
plain,
|
|
20
|
+
unpack,
|
|
21
|
+
whole
|
|
22
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constellationspace/client",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"description": "Constellation API client and workflow results bridge base for Node 18+ and browsers.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/constellationhq/connectors.git",
|
|
9
|
+
"directory": "clients/typescript"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"main": "./dist/index.cjs",
|
|
13
|
+
"module": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"import": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"default": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"require": {
|
|
22
|
+
"types": "./dist/index.d.cts",
|
|
23
|
+
"default": "./dist/index.cjs"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"./bridge": {
|
|
27
|
+
"import": {
|
|
28
|
+
"types": "./dist/bridge.d.ts",
|
|
29
|
+
"default": "./dist/bridge.js"
|
|
30
|
+
},
|
|
31
|
+
"require": {
|
|
32
|
+
"types": "./dist/bridge.d.cts",
|
|
33
|
+
"default": "./dist/bridge.cjs"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"LICENSE",
|
|
40
|
+
"NOTICE"
|
|
41
|
+
],
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=18"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"build": "npm run generate && tsup src/index.ts src/bridge.ts --format esm,cjs --dts --clean",
|
|
47
|
+
"test": "vitest run",
|
|
48
|
+
"typecheck": "tsc --noEmit",
|
|
49
|
+
"generate": "openapi-typescript ../../contract/openapi.json --default-non-nullable false -o src/generated/api.ts"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@types/node": "^20.19.43",
|
|
53
|
+
"openapi-typescript": "^7.13.0",
|
|
54
|
+
"tsup": "^8.5.1",
|
|
55
|
+
"typescript": "~5.9.3",
|
|
56
|
+
"vitest": "^3.2.7"
|
|
57
|
+
}
|
|
58
|
+
}
|