@xutest1/sdk 0.1.8 → 0.2.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/client.d.ts +8 -0
- package/client.js +11 -1280
- package/gen/client/client.gen.d.ts +2 -0
- package/gen/client/client.gen.js +167 -0
- package/gen/client/index.d.ts +7 -0
- package/gen/client/index.js +5 -0
- package/gen/client/types.gen.d.ts +127 -0
- package/gen/client/types.gen.js +2 -0
- package/gen/client/utils.gen.d.ts +38 -0
- package/gen/client/utils.gen.js +228 -0
- package/gen/client.gen.d.ts +12 -0
- package/gen/client.gen.js +5 -0
- package/gen/core/auth.gen.d.ts +18 -0
- package/gen/core/auth.gen.js +14 -0
- package/gen/core/bodySerializer.gen.d.ts +17 -0
- package/gen/core/bodySerializer.gen.js +57 -0
- package/gen/core/params.gen.d.ts +33 -0
- package/gen/core/params.gen.js +89 -0
- package/gen/core/pathSerializer.gen.d.ts +33 -0
- package/gen/core/pathSerializer.gen.js +106 -0
- package/gen/core/serverSentEvents.gen.d.ts +59 -0
- package/gen/core/serverSentEvents.gen.js +117 -0
- package/gen/core/types.gen.d.ts +78 -0
- package/gen/core/types.gen.js +2 -0
- package/gen/core/utils.gen.d.ts +14 -0
- package/gen/core/utils.gen.js +69 -0
- package/gen/sdk.gen.d.ts +338 -0
- package/gen/sdk.gen.js +735 -0
- package/gen/types.gen.d.ts +2868 -0
- package/gen/types.gen.js +2 -0
- package/index.d.ts +15 -0
- package/index.js +20 -1426
- package/package.json +23 -15
- package/server.d.ts +23 -0
- package/server.js +83 -128
package/gen/types.gen.js
ADDED
package/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from "./client.js";
|
|
2
|
+
export * from "./server.js";
|
|
3
|
+
import { createOpencodeClient } from "./client.js";
|
|
4
|
+
import { createOpencodeServer } from "./server.js";
|
|
5
|
+
import type { ServerOptions } from "./server.js";
|
|
6
|
+
export declare function createA3code(options?: ServerOptions): Promise<{
|
|
7
|
+
client: import("./client.js").OpencodeClient;
|
|
8
|
+
server: {
|
|
9
|
+
url: string;
|
|
10
|
+
close(): void;
|
|
11
|
+
};
|
|
12
|
+
}>;
|
|
13
|
+
export declare const createOpencode: typeof createA3code;
|
|
14
|
+
export { createOpencodeClient as createA3codeClient };
|
|
15
|
+
export { createOpencodeServer as createA3codeServer };
|