@knapsack/core 4.72.0--canary.5313.51b7b5f.0 → 4.72.0--canary.5313.a97437c.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/ks-urls.d.ts +21 -3
- package/dist/ks-urls.d.ts.map +1 -1
- package/dist/ks-urls.test.d.ts +2 -0
- package/dist/ks-urls.test.d.ts.map +1 -0
- package/package.json +8 -8
package/dist/ks-urls.d.ts
CHANGED
@@ -1,13 +1,31 @@
|
|
1
|
-
export declare
|
1
|
+
export declare function getKsUrls({ dbUrl, apiUrl, }: {
|
2
|
+
dbUrl: string | undefined;
|
3
|
+
apiUrl: string | undefined;
|
4
|
+
}): {
|
2
5
|
/**
|
3
6
|
* Base URL for Knapsack DB (Hasura)
|
4
7
|
* @default 'https://db.knapsack.cloud'
|
5
8
|
*/
|
6
|
-
|
9
|
+
dbOrigin: string;
|
7
10
|
/**
|
8
11
|
* App DB GraphQL endpoint for connecting to Hasura GraphQL.
|
9
12
|
* @default 'https://db.knapsack.cloud/v1/graphql'
|
10
13
|
*/
|
11
|
-
dbGqlEndpoint: string
|
14
|
+
dbGqlEndpoint: `${string}/graphql`;
|
15
|
+
/**
|
16
|
+
* App DB GraphQL WebSocket endpoint for connecting to Hasura GraphQL.
|
17
|
+
* @default 'wss://db.knapsack.cloud/v1/graphql'
|
18
|
+
*/
|
19
|
+
dbGqlWsEndpoint: `wss:${string}/graphql`;
|
20
|
+
/**
|
21
|
+
* App API GraphQL endpoint for connecting to Api Server GraphQL.
|
22
|
+
* @default 'https://api.knapsack.cloud/graphql'
|
23
|
+
*/
|
24
|
+
apiGqlEndpoint: `${string}/graphql`;
|
25
|
+
/**
|
26
|
+
* Base URL for Knapsack API
|
27
|
+
* @default 'https://api.knapsack.cloud'
|
28
|
+
*/
|
29
|
+
apiOrigin: string;
|
12
30
|
};
|
13
31
|
//# sourceMappingURL=ks-urls.d.ts.map
|
package/dist/ks-urls.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ks-urls.d.ts","sourceRoot":"","sources":["../src/ks-urls.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ks-urls.d.ts","sourceRoot":"","sources":["../src/ks-urls.ts"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;IAiBG;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;qBAC4C,OAAO,MAAM,UAAU;IACtE;;;OAGG;;IAEH;;;OAGG;;EAGN"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ks-urls.test.d.ts","sourceRoot":"","sources":["../src/ks-urls.test.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/core",
|
3
3
|
"description": "The core of Knapsack",
|
4
|
-
"version": "4.72.0--canary.5313.
|
4
|
+
"version": "4.72.0--canary.5313.a97437c.0",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"module": "dist/index.mjs",
|
7
7
|
"types": "dist/index.d.ts",
|
@@ -26,15 +26,15 @@
|
|
26
26
|
},
|
27
27
|
"author": "Knapsack (https://www.knapsack.cloud)",
|
28
28
|
"dependencies": {
|
29
|
-
"@knapsack/utils": "4.72.0--canary.5313.
|
29
|
+
"@knapsack/utils": "4.72.0--canary.5313.a97437c.0",
|
30
30
|
"superstruct": "^0.16.7"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
|
-
"@knapsack/eslint-config-starter": "4.72.0--canary.5313.
|
34
|
-
"@knapsack/hasura-gql-client": "4.72.0--canary.5313.
|
35
|
-
"@knapsack/test-ava": "4.72.0--canary.5313.
|
36
|
-
"@knapsack/types": "4.72.0--canary.5313.
|
37
|
-
"@knapsack/typescript-config-starter": "4.72.0--canary.5313.
|
33
|
+
"@knapsack/eslint-config-starter": "4.72.0--canary.5313.a97437c.0",
|
34
|
+
"@knapsack/hasura-gql-client": "4.72.0--canary.5313.a97437c.0",
|
35
|
+
"@knapsack/test-ava": "4.72.0--canary.5313.a97437c.0",
|
36
|
+
"@knapsack/types": "4.72.0--canary.5313.a97437c.0",
|
37
|
+
"@knapsack/typescript-config-starter": "4.72.0--canary.5313.a97437c.0",
|
38
38
|
"@types/node": "^20.17.8",
|
39
39
|
"ava": "^6.2.0",
|
40
40
|
"eslint": "^8.57.0",
|
@@ -50,5 +50,5 @@
|
|
50
50
|
"directory": "libs/core",
|
51
51
|
"type": "git"
|
52
52
|
},
|
53
|
-
"gitHead": "
|
53
|
+
"gitHead": "a97437c019a66de3a3e2dc632c95e31cc99bf8ea"
|
54
54
|
}
|