@open-connector/sdk 1.0.2 → 1.0.3
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-96n68fp1.d.cts → index-DPfKCE-d.d.ts} +5 -3
- package/dist/{index-96n68fp1.d.cts.map → index-DPfKCE-d.d.ts.map} +1 -1
- package/dist/{index-BXEKBblV.d.ts → index-DikdPFcg.d.cts} +5 -3
- package/dist/{index-BXEKBblV.d.ts.map → index-DikdPFcg.d.cts.map} +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { EvlogError } from "evlog";
|
|
1
2
|
import "zod";
|
|
2
3
|
import { ContractRouterClient } from "@orpc/contract";
|
|
3
|
-
|
|
4
|
-
//#region ../authorization/src/index.d.ts
|
|
4
|
+
//#region ../authorization/src/lib/catalog.d.ts
|
|
5
5
|
declare const PERMISSION_CATALOG: {
|
|
6
6
|
readonly organization: {
|
|
7
7
|
readonly description: "Organization identity, settings, and lifecycle.";
|
|
@@ -273,6 +273,8 @@ declare const PERMISSION_CATALOG: {
|
|
|
273
273
|
type PermissionResource = keyof typeof PERMISSION_CATALOG;
|
|
274
274
|
type PermissionAction<R extends PermissionResource> = keyof (typeof PERMISSION_CATALOG)[R]["actions"] & string;
|
|
275
275
|
type CallerPermission = { [R in PermissionResource]: `${R}:${PermissionAction<R>}`; }[PermissionResource];
|
|
276
|
+
//#endregion
|
|
277
|
+
//#region ../authorization/src/lib/requirements.d.ts
|
|
276
278
|
type TenantRequirement = "none" | "organization" | "project";
|
|
277
279
|
type PublicOperationRequirement = {
|
|
278
280
|
readonly kind: "public";
|
|
@@ -1492,4 +1494,4 @@ interface ConnectResult {
|
|
|
1492
1494
|
declare function connectOAuth(client: ConnectClient, opts: ConnectOAuthOptions): Promise<ConnectResult>;
|
|
1493
1495
|
//#endregion
|
|
1494
1496
|
export { connectError as a, ClientOptions as c, resolveRpcUrl as d, WaitOptions as i, OpenConnectorClient as l, ConnectOAuthOptions as n, connectOAuth as o, ConnectResult as r, waitForConnection as s, ConnectErrorReason as t, createClient as u };
|
|
1495
|
-
//# sourceMappingURL=index-
|
|
1497
|
+
//# sourceMappingURL=index-DPfKCE-d.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-DPfKCE-d.d.ts","names":[],"sources":["../../authorization/src/lib/catalog.ts","../../authorization/src/lib/requirements.ts","../../api-contracts/src/lib/native/index.ts","../src/client.ts","../src/connect.ts"],"mappings":";;;;cAEa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8JD,kCAAkC;KAClC,iBAAiB,UAAU,oCACvB,oBAAoB;KACxB,sBACT,KAAK,wBAAwB,KAAK,iBAAiB,QACpD;;;KCnKU;KAEA;WACD;WACA;;KAGC;WACD;WACA,sBAAsB;WACtB,QAAQ;;KAGP;WACD;WACA;WACA,QAAQ;;KAGP;WACD;WACA;WACA,QAAQ;;KAGP,uBACR,6BACA,gCACA,+BACA;UA8Ba;WACN,eAAe;;;;cCrBb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,gBAAgB;;EAIpB;EACA;EACA;EACA;;EAGA;;EAEA,sCAAsC;;EAEtC;;EAEA;;;;iBAMQ,cAAc;;iBAKd,aAAa,MAAM,gBAAgB;;;KCvCvC;;iBAGI,aAAa,QAAQ,oBAAoB,kBAAkB;UAgB1D;;EAEf;;EAEA;;EAEA;EACA,SAAS,eAAe;;KAKrB,gBAAgB,KAAK;;;;;;iBASJ,kBACpB,QAAQ,eACR,sBACA,OAAM,cACL;EAAU;EAAsB;;UAuBlB,4BAA4B;EAC3C;EACA;EACA;;EAEA;EACA;;EAEA,cAAc;;EAEd;;UAGe;EACf;EACA;EACA;;;;;;;;iBASoB,aACpB,QAAQ,eACR,MAAM,sBACL,QAAQ"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EvlogError } from "evlog";
|
|
2
1
|
import "zod";
|
|
3
2
|
import { ContractRouterClient } from "@orpc/contract";
|
|
4
|
-
|
|
3
|
+
import { EvlogError } from "evlog";
|
|
4
|
+
//#region ../authorization/src/lib/catalog.d.ts
|
|
5
5
|
declare const PERMISSION_CATALOG: {
|
|
6
6
|
readonly organization: {
|
|
7
7
|
readonly description: "Organization identity, settings, and lifecycle.";
|
|
@@ -273,6 +273,8 @@ declare const PERMISSION_CATALOG: {
|
|
|
273
273
|
type PermissionResource = keyof typeof PERMISSION_CATALOG;
|
|
274
274
|
type PermissionAction<R extends PermissionResource> = keyof (typeof PERMISSION_CATALOG)[R]["actions"] & string;
|
|
275
275
|
type CallerPermission = { [R in PermissionResource]: `${R}:${PermissionAction<R>}`; }[PermissionResource];
|
|
276
|
+
//#endregion
|
|
277
|
+
//#region ../authorization/src/lib/requirements.d.ts
|
|
276
278
|
type TenantRequirement = "none" | "organization" | "project";
|
|
277
279
|
type PublicOperationRequirement = {
|
|
278
280
|
readonly kind: "public";
|
|
@@ -1492,4 +1494,4 @@ interface ConnectResult {
|
|
|
1492
1494
|
declare function connectOAuth(client: ConnectClient, opts: ConnectOAuthOptions): Promise<ConnectResult>;
|
|
1493
1495
|
//#endregion
|
|
1494
1496
|
export { connectError as a, ClientOptions as c, resolveRpcUrl as d, WaitOptions as i, OpenConnectorClient as l, ConnectOAuthOptions as n, connectOAuth as o, ConnectResult as r, waitForConnection as s, ConnectErrorReason as t, createClient as u };
|
|
1495
|
-
//# sourceMappingURL=index-
|
|
1497
|
+
//# sourceMappingURL=index-DikdPFcg.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-DikdPFcg.d.cts","names":[],"sources":["../../authorization/src/lib/catalog.ts","../../authorization/src/lib/requirements.ts","../../api-contracts/src/lib/native/index.ts","../src/client.ts","../src/connect.ts"],"mappings":";;;;cAEa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8JD,kCAAkC;KAClC,iBAAiB,UAAU,oCACvB,oBAAoB;KACxB,sBACT,KAAK,wBAAwB,KAAK,iBAAiB,QACpD;;;KCnKU;KAEA;WACD;WACA;;KAGC;WACD;WACA,sBAAsB;WACtB,QAAQ;;KAGP;WACD;WACA;WACA,QAAQ;;KAGP;WACD;WACA;WACA,QAAQ;;KAGP,uBACR,6BACA,gCACA,+BACA;UA8Ba;WACN,eAAe;;;;cCrBb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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e;;KAGL,gBAAgB;;EAIpB;EACA;EACA;EACA;;EAGA;;EAEA,sCAAsC;;EAEtC;;EAEA;;;;iBAMQ,cAAc;;iBAKd,aAAa,MAAM,gBAAgB;;;KCvCvC;;iBAGI,aAAa,QAAQ,oBAAoB,kBAAkB;UAgB1D;;EAEf;;EAEA;;EAEA;EACA,SAAS,eAAe;;KAKrB,gBAAgB,KAAK;;;;;;iBASJ,kBACpB,QAAQ,eACR,sBACA,OAAM,cACL;EAAU;EAAsB;;UAuBlB,4BAA4B;EAC3C;EACA;EACA;;EAEA;EACA;;EAEA,cAAc;;EAEd;;UAGe;EACf;EACA;EACA;;;;;;;;iBASoB,aACpB,QAAQ,eACR,MAAM,sBACL,QAAQ"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as ClientOptions, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, u as createClient } from "./index-
|
|
1
|
+
import { c as ClientOptions, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, u as createClient } from "./index-DikdPFcg.cjs";
|
|
2
2
|
export { type ClientOptions, type ConnectOAuthOptions, type ConnectResult, type OpenConnectorClient, type WaitOptions, connectOAuth, createClient, waitForConnection };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as ClientOptions, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, u as createClient } from "./index-
|
|
1
|
+
import { c as ClientOptions, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, u as createClient } from "./index-DPfKCE-d.js";
|
|
2
2
|
export { type ClientOptions, type ConnectOAuthOptions, type ConnectResult, type OpenConnectorClient, type WaitOptions, connectOAuth, createClient, waitForConnection };
|
package/dist/testing.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as connectError, c as ClientOptions, d as resolveRpcUrl, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, t as ConnectErrorReason, u as createClient } from "./index-
|
|
1
|
+
import { a as connectError, c as ClientOptions, d as resolveRpcUrl, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, t as ConnectErrorReason, u as createClient } from "./index-DikdPFcg.cjs";
|
|
2
2
|
export { type ClientOptions, type ConnectErrorReason, type ConnectOAuthOptions, type ConnectResult, type OpenConnectorClient, type WaitOptions, connectError, connectOAuth, createClient, resolveRpcUrl, waitForConnection };
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as connectError, c as ClientOptions, d as resolveRpcUrl, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, t as ConnectErrorReason, u as createClient } from "./index-
|
|
1
|
+
import { a as connectError, c as ClientOptions, d as resolveRpcUrl, i as WaitOptions, l as OpenConnectorClient, n as ConnectOAuthOptions, o as connectOAuth, r as ConnectResult, s as waitForConnection, t as ConnectErrorReason, u as createClient } from "./index-DPfKCE-d.js";
|
|
2
2
|
export { type ClientOptions, type ConnectErrorReason, type ConnectOAuthOptions, type ConnectResult, type OpenConnectorClient, type WaitOptions, connectError, connectOAuth, createClient, resolveRpcUrl, waitForConnection };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-connector/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Typed TypeScript SDK for the native Open Connector API",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"build:cjs": "vp pack src/index.ts src/testing.ts --dts.eager --dts.generator tsc --dts.resolver tsc --format cjs --sourcemap --platform neutral --no-clean",
|
|
75
75
|
"test": "vp test run",
|
|
76
76
|
"test:coverage": "vp test run --coverage",
|
|
77
|
-
"check-types": "tsc --noEmit"
|
|
77
|
+
"check-types": "tsc --noEmit --composite false --incremental false"
|
|
78
78
|
}
|
|
79
79
|
}
|