@gradio/client 2.0.0-dev.0 → 2.0.0-dev.2

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/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "include": ["src/**/*"],
3
- "exclude": ["src/**/*.test.ts", "src/**/*.node-test.ts"],
3
+ "exclude": ["src/**/*.test.ts", "src/**/*.node-test.ts", "src/test/**/*"],
4
4
  "compilerOptions": {
5
5
  "allowJs": true,
6
6
  "declaration": true,
@@ -12,6 +12,7 @@
12
12
  "useDefineForClassFields": true,
13
13
  "lib": ["ES2020", "DOM", "DOM.Iterable"],
14
14
  "skipLibCheck": true,
15
+ "types": ["node"],
15
16
 
16
17
  /* Bundler */
17
18
  "moduleResolution": "Bundler",
@@ -1,4 +0,0 @@
1
- import { RequestHandler } from "msw";
2
- export declare const direct_space_url = "https://hmb-hello-world.hf.space";
3
- export declare const handlers: RequestHandler[];
4
- //# sourceMappingURL=handlers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../src/test/handlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,cAAc,EAAE,MAAM,KAAK,CAAC;AAuBzD,eAAO,MAAM,gBAAgB,qCAAqC,CAAC;AAqBnE,eAAO,MAAM,QAAQ,EAAE,cAAc,EAwoBpC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=mock_eventsource.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mock_eventsource.d.ts","sourceRoot":"","sources":["../../src/test/mock_eventsource.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare function initialise_server(): any;
2
- //# sourceMappingURL=server.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/test/server.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,IAAI,GAAG,CAEvC"}
@@ -1,76 +0,0 @@
1
- import { ApiData, ApiInfo, Config, EndpointInfo } from "../types";
2
- export declare const runtime_response: {
3
- stage: string;
4
- hardware: {
5
- current: string;
6
- requested: string;
7
- };
8
- storage: {
9
- current: null;
10
- requested: null;
11
- };
12
- gcTimeout: number;
13
- replicas: {
14
- current: number;
15
- requested: number;
16
- };
17
- devMode: boolean;
18
- domains: {
19
- domain: string;
20
- isCustom: boolean;
21
- stage: string;
22
- }[];
23
- };
24
- export declare const transformed_api_info: ApiInfo<ApiData>;
25
- export declare const response_api_info: ApiInfo<ApiData>;
26
- export declare const config_response: Config;
27
- export declare const whoami_response: {
28
- type: string;
29
- id: string;
30
- name: string;
31
- fullname: string;
32
- email: string;
33
- emailVerified: boolean;
34
- canPay: boolean;
35
- periodEnd: number;
36
- isPro: boolean;
37
- avatarUrl: string;
38
- orgs: never[];
39
- auth: {
40
- type: string;
41
- accessToken: {
42
- displayName: string;
43
- role: string;
44
- };
45
- };
46
- };
47
- export declare const duplicate_response: {
48
- url: string;
49
- };
50
- export declare const hardware_sleeptime_response: {
51
- stage: string;
52
- hardware: {
53
- current: string;
54
- requested: string;
55
- };
56
- storage: null;
57
- gcTimeout: number;
58
- replicas: {
59
- current: number;
60
- requested: number;
61
- };
62
- devMode: boolean;
63
- domains: {
64
- domain: string;
65
- isCustom: boolean;
66
- stage: string;
67
- }[];
68
- };
69
- export declare const endpoint_info: EndpointInfo<ApiData>;
70
- export declare const discussions_response: {
71
- discussions: never[];
72
- count: number;
73
- start: number;
74
- numClosedDiscussions: number;
75
- };
76
- //# sourceMappingURL=test_data.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"test_data.d.ts","sourceRoot":"","sources":["../../src/test/test_data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAElE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;CAuB5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,OAAO,CA6CjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,OAAO,CAiC9C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAkW7B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;CAmB3B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;CAE9B,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;CAoBvC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,OAAO,CAyC/C,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;CAKhC,CAAC"}