@vertracloud/api-types 0.1.1 → 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/README.md +63 -35
- package/common/v1.d.ts +23 -7
- package/common/v1.js.map +1 -1
- package/package.json +5 -5
- package/payloads/v1/activity.d.ts +22 -10
- package/payloads/v1/activity.js +9 -0
- package/payloads/v1/activity.js.map +1 -1
- package/payloads/v1/activity.mjs +8 -0
- package/payloads/v1/api-error.d.ts +302 -0
- package/payloads/v1/api-error.js +216 -0
- package/payloads/v1/api-error.js.map +1 -0
- package/payloads/v1/api-error.mjs +188 -0
- package/payloads/v1/api-key.d.ts +88 -0
- package/payloads/v1/api-key.js +267 -0
- package/payloads/v1/api-key.js.map +1 -0
- package/payloads/v1/api-key.mjs +235 -0
- package/payloads/v1/application.d.ts +234 -47
- package/payloads/v1/application.js +34 -3
- package/payloads/v1/application.js.map +1 -1
- package/payloads/v1/application.mjs +28 -2
- package/payloads/v1/database-data.d.ts +329 -0
- package/payloads/v1/database-data.js +63 -0
- package/payloads/v1/database-data.js.map +1 -0
- package/payloads/v1/database-data.mjs +35 -0
- package/payloads/v1/database.d.ts +29 -31
- package/payloads/v1/database.js.map +1 -1
- package/payloads/v1/github.d.ts +20 -0
- package/{rest/v1/credits.js → payloads/v1/github.js} +4 -4
- package/payloads/v1/github.js.map +1 -0
- package/payloads/v1/github.mjs +1 -0
- package/payloads/v1/index.d.ts +12 -9
- package/payloads/v1/index.js +630 -10
- package/payloads/v1/index.js.map +1 -1
- package/payloads/v1/index.mjs +590 -9
- package/payloads/v1/notification.d.ts +2 -3
- package/payloads/v1/notification.js.map +1 -1
- package/payloads/v1/oauth.d.ts +27 -0
- package/payloads/v1/oauth.js +34 -0
- package/payloads/v1/oauth.js.map +1 -0
- package/payloads/v1/oauth.mjs +8 -0
- package/payloads/v1/orders.d.ts +52 -27
- package/payloads/v1/orders.js +30 -0
- package/payloads/v1/orders.js.map +1 -1
- package/payloads/v1/orders.mjs +21 -0
- package/payloads/v1/redeem.d.ts +1 -1
- package/payloads/v1/redeem.js.map +1 -1
- package/payloads/v1/snapshot.d.ts +37 -7
- package/payloads/v1/snapshot.js +8 -2
- package/payloads/v1/snapshot.js.map +1 -1
- package/payloads/v1/snapshot.mjs +6 -1
- package/payloads/v1/status.d.ts +2 -2
- package/payloads/v1/status.js.map +1 -1
- package/payloads/v1/user.d.ts +54 -20
- package/payloads/v1/user.js +16 -0
- package/payloads/v1/user.js.map +1 -1
- package/payloads/v1/user.mjs +9 -0
- package/payloads/v1/workspace.d.ts +296 -25
- package/payloads/v1/workspace.js +128 -8
- package/payloads/v1/workspace.js.map +1 -1
- package/payloads/v1/workspace.mjs +115 -7
- package/rest/v1/activity.d.ts +20 -9
- package/rest/v1/activity.js.map +1 -1
- package/rest/v1/api-key.d.ts +26 -0
- package/{payloads/v1/credits.js → rest/v1/api-key.js} +4 -4
- package/rest/v1/api-key.js.map +1 -0
- package/rest/v1/api-key.mjs +1 -0
- package/rest/v1/application.d.ts +302 -30
- package/rest/v1/application.js.map +1 -1
- package/rest/v1/database-data.d.ts +234 -0
- package/rest/v1/database-data.js +19 -0
- package/rest/v1/database-data.js.map +1 -0
- package/rest/v1/database-data.mjs +1 -0
- package/rest/v1/database.d.ts +55 -14
- package/rest/v1/database.js.map +1 -1
- package/rest/v1/github.d.ts +22 -0
- package/rest/v1/{wing.js → github.js} +4 -4
- package/rest/v1/github.js.map +1 -0
- package/rest/v1/github.mjs +1 -0
- package/rest/v1/index.d.ts +16 -11
- package/rest/v1/index.js.map +1 -1
- package/rest/v1/notification.d.ts +2 -3
- package/rest/v1/notification.js.map +1 -1
- package/rest/v1/oauth.d.ts +60 -0
- package/{payloads/v1/wing.js → rest/v1/oauth.js} +4 -4
- package/rest/v1/oauth.js.map +1 -0
- package/rest/v1/oauth.mjs +1 -0
- package/rest/v1/orders.d.ts +28 -7
- package/rest/v1/orders.js.map +1 -1
- package/rest/v1/redeem.d.ts +2 -1
- package/rest/v1/redeem.js.map +1 -1
- package/rest/v1/snapshot.d.ts +45 -10
- package/rest/v1/snapshot.js.map +1 -1
- package/rest/v1/status.d.ts +1 -0
- package/rest/v1/user.d.ts +56 -7
- package/rest/v1/user.js.map +1 -1
- package/rest/v1/workspace.d.ts +186 -18
- package/rest/v1/workspace.js.map +1 -1
- package/v1.d.ts +24 -19
- package/v1.js +630 -10
- package/v1.js.map +1 -1
- package/v1.mjs +590 -9
- package/payloads/v1/credits.d.ts +0 -56
- package/payloads/v1/credits.js.map +0 -1
- package/payloads/v1/credits.mjs +0 -1
- package/payloads/v1/wing.d.ts +0 -133
- package/payloads/v1/wing.js.map +0 -1
- package/payloads/v1/wing.mjs +0 -1
- package/rest/v1/credits.d.ts +0 -17
- package/rest/v1/credits.js.map +0 -1
- package/rest/v1/credits.mjs +0 -1
- package/rest/v1/wing.d.ts +0 -38
- package/rest/v1/wing.js.map +0 -1
- package/rest/v1/wing.mjs +0 -1
package/payloads/v1/credits.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { ISODateString } from '../../common/v1.js';
|
|
2
|
-
|
|
3
|
-
/** Compute credit balance (for running apps/databases) */
|
|
4
|
-
interface APICreditCompute {
|
|
5
|
-
free: number;
|
|
6
|
-
paid: number;
|
|
7
|
-
free_per_week: number;
|
|
8
|
-
free_reset_at: ISODateString;
|
|
9
|
-
paid_expires_at: ISODateString | null;
|
|
10
|
-
}
|
|
11
|
-
/** AI credit balance (for AI features) */
|
|
12
|
-
interface APICreditAI {
|
|
13
|
-
free: number;
|
|
14
|
-
paid: number;
|
|
15
|
-
free_per_week: number;
|
|
16
|
-
free_reset_at: ISODateString;
|
|
17
|
-
paid_expires_at: ISODateString | null;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* User credits summary returned in GET /v1/users/@me
|
|
21
|
-
*/
|
|
22
|
-
interface APIUserCredits {
|
|
23
|
-
compute: APICreditCompute;
|
|
24
|
-
ai: APICreditAI;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Full credit balance returned by GET /v1/credits/balance
|
|
28
|
-
*/
|
|
29
|
-
interface APICreditBalance {
|
|
30
|
-
compute: APICreditCompute;
|
|
31
|
-
ai: APICreditAI;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Single credit usage entry returned by GET /v1/credits/usage
|
|
35
|
-
*/
|
|
36
|
-
interface APICreditUsage {
|
|
37
|
-
id: string;
|
|
38
|
-
resource_id: string;
|
|
39
|
-
resource_type: "app" | "database" | "ai";
|
|
40
|
-
resource_name: string | null;
|
|
41
|
-
credit_type: "free" | "paid" | "ai_free" | "ai_paid";
|
|
42
|
-
amount: number;
|
|
43
|
-
description: string | null;
|
|
44
|
-
created_at: ISODateString;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Cost estimation returned by GET /v1/credits/cost?ram={mb}
|
|
48
|
-
*/
|
|
49
|
-
interface APICreditCostEstimate {
|
|
50
|
-
ram_mb: number;
|
|
51
|
-
cost_per_day: number;
|
|
52
|
-
cost_per_week: number;
|
|
53
|
-
cost_per_month: number;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export type { APICreditAI, APICreditBalance, APICreditCompute, APICreditCostEstimate, APICreditUsage, APIUserCredits };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["credits.ts"],"sourcesContent":["import type { ISODateString } from \"../../v1\";\n\n/** Compute credit balance (for running apps/databases) */\nexport interface APICreditCompute {\n\tfree: number;\n\tpaid: number;\n\tfree_per_week: number;\n\tfree_reset_at: ISODateString;\n\tpaid_expires_at: ISODateString | null;\n}\n\n/** AI credit balance (for AI features) */\nexport interface APICreditAI {\n\tfree: number;\n\tpaid: number;\n\tfree_per_week: number;\n\tfree_reset_at: ISODateString;\n\tpaid_expires_at: ISODateString | null;\n}\n\n/**\n * User credits summary returned in GET /v1/users/@me\n */\nexport interface APIUserCredits {\n\tcompute: APICreditCompute;\n\tai: APICreditAI;\n}\n\n/**\n * Full credit balance returned by GET /v1/credits/balance\n */\nexport interface APICreditBalance {\n\tcompute: APICreditCompute;\n\tai: APICreditAI;\n}\n\n/**\n * Single credit usage entry returned by GET /v1/credits/usage\n */\nexport interface APICreditUsage {\n\tid: string;\n\tresource_id: string;\n\tresource_type: \"app\" | \"database\" | \"ai\";\n\tresource_name: string | null;\n\tcredit_type: \"free\" | \"paid\" | \"ai_free\" | \"ai_paid\";\n\tamount: number;\n\tdescription: string | null;\n\tcreated_at: ISODateString;\n}\n\n/**\n * Cost estimation returned by GET /v1/credits/cost?ram={mb}\n */\nexport interface APICreditCostEstimate {\n\tram_mb: number;\n\tcost_per_day: number;\n\tcost_per_week: number;\n\tcost_per_month: number;\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/payloads/v1/credits.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=credits.mjs.map
|
package/payloads/v1/wing.d.ts
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { ISODateString } from '../../common/v1.js';
|
|
2
|
-
import { ApplicationLanguage } from './application.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Wing service response wrapper
|
|
6
|
-
*/
|
|
7
|
-
type APIPayloadStatus = "error" | "success";
|
|
8
|
-
interface WingPayload<T = unknown> {
|
|
9
|
-
status: APIPayloadStatus;
|
|
10
|
-
response?: T;
|
|
11
|
-
code?: string;
|
|
12
|
-
}
|
|
13
|
-
interface WingServiceResult<T = unknown> {
|
|
14
|
-
status: number;
|
|
15
|
-
payload: WingPayload<T>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Container metrics (shared between apps and databases)
|
|
19
|
-
*/
|
|
20
|
-
interface WingsContainerMetric {
|
|
21
|
-
id: string;
|
|
22
|
-
cpu: number;
|
|
23
|
-
ram: number;
|
|
24
|
-
storage: number;
|
|
25
|
-
network_in: number;
|
|
26
|
-
network_out: number;
|
|
27
|
-
network: {
|
|
28
|
-
total: string;
|
|
29
|
-
now: string;
|
|
30
|
-
} | null;
|
|
31
|
-
uptime: number;
|
|
32
|
-
running: boolean;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Application container creation response
|
|
36
|
-
*/
|
|
37
|
-
interface WingsAppCreateResponse {
|
|
38
|
-
container_id: string;
|
|
39
|
-
container_name: string;
|
|
40
|
-
envs: Array<{
|
|
41
|
-
key: string;
|
|
42
|
-
value: string;
|
|
43
|
-
note?: string;
|
|
44
|
-
}>;
|
|
45
|
-
language: ApplicationLanguage;
|
|
46
|
-
version: string;
|
|
47
|
-
subdomain: string;
|
|
48
|
-
max_bandwidth: string;
|
|
49
|
-
memory: number;
|
|
50
|
-
vcpus: number;
|
|
51
|
-
auto_restart: boolean;
|
|
52
|
-
created_at: ISODateString;
|
|
53
|
-
missing_dependencies?: string[];
|
|
54
|
-
removed_directories?: string[];
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Application container deploy response
|
|
58
|
-
*/
|
|
59
|
-
interface WingsAppDeployResponse {
|
|
60
|
-
missing_dependencies?: string[];
|
|
61
|
-
removed_directories?: string[];
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Application container rebuild response
|
|
65
|
-
*/
|
|
66
|
-
interface WingsAppRebuildResponse {
|
|
67
|
-
container_id: string;
|
|
68
|
-
container_name: string;
|
|
69
|
-
version: string;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Database container creation response
|
|
73
|
-
*/
|
|
74
|
-
interface WingsDatabaseCreateResponse {
|
|
75
|
-
container_id: string;
|
|
76
|
-
container_name: string;
|
|
77
|
-
subdomain_full: string;
|
|
78
|
-
max_bandwidth: string;
|
|
79
|
-
memory: number;
|
|
80
|
-
vcpus: number;
|
|
81
|
-
type: number;
|
|
82
|
-
host: string;
|
|
83
|
-
port: number;
|
|
84
|
-
storage: number;
|
|
85
|
-
created_at: ISODateString;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Database container rebuild response
|
|
89
|
-
*/
|
|
90
|
-
interface WingsDatabaseRebuildResponse {
|
|
91
|
-
container_id: string;
|
|
92
|
-
container_name: string;
|
|
93
|
-
type: number;
|
|
94
|
-
host: string;
|
|
95
|
-
port: number;
|
|
96
|
-
created_at: ISODateString;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Database certificate bundle
|
|
100
|
-
*/
|
|
101
|
-
interface WingsDatabaseCertificate {
|
|
102
|
-
crt: string;
|
|
103
|
-
key: string;
|
|
104
|
-
pem: string;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* File upload response
|
|
108
|
-
*/
|
|
109
|
-
interface WingsFileUploadResponse {
|
|
110
|
-
app_id: string;
|
|
111
|
-
updated_at: ISODateString;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* File move response
|
|
115
|
-
*/
|
|
116
|
-
interface WingsFileMoveResponse {
|
|
117
|
-
from: string;
|
|
118
|
-
to: string;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Snapshot restore response
|
|
122
|
-
*/
|
|
123
|
-
interface WingsSnapshotRestoreResponse {
|
|
124
|
-
message: string;
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Database reset response
|
|
128
|
-
*/
|
|
129
|
-
interface WingsDatabaseResetResponse {
|
|
130
|
-
id: string;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export type { APIPayloadStatus, WingPayload, WingServiceResult, WingsAppCreateResponse, WingsAppDeployResponse, WingsAppRebuildResponse, WingsContainerMetric, WingsDatabaseCertificate, WingsDatabaseCreateResponse, WingsDatabaseRebuildResponse, WingsDatabaseResetResponse, WingsFileMoveResponse, WingsFileUploadResponse, WingsSnapshotRestoreResponse };
|
package/payloads/v1/wing.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["wing.ts"],"sourcesContent":["import type { ISODateString } from \"../../common/v1\";\nimport type { ApplicationLanguage } from \"./application\";\n\n/**\n * Wing service response wrapper\n */\nexport type APIPayloadStatus = \"error\" | \"success\";\n\nexport interface WingPayload<T = unknown> {\n\tstatus: APIPayloadStatus;\n\tresponse?: T;\n\tcode?: string;\n}\n\nexport interface WingServiceResult<T = unknown> {\n\tstatus: number;\n\tpayload: WingPayload<T>;\n}\n\n/**\n * Container metrics (shared between apps and databases)\n */\nexport interface WingsContainerMetric {\n\tid: string;\n\tcpu: number;\n\tram: number;\n\tstorage: number;\n\tnetwork_in: number;\n\tnetwork_out: number;\n\tnetwork: { total: string; now: string } | null;\n\tuptime: number;\n\trunning: boolean;\n}\n\n/**\n * Application container creation response\n */\nexport interface WingsAppCreateResponse {\n\tcontainer_id: string;\n\tcontainer_name: string;\n\tenvs: Array<{ key: string; value: string; note?: string }>;\n\tlanguage: ApplicationLanguage;\n\tversion: string;\n\tsubdomain: string;\n\tmax_bandwidth: string;\n\tmemory: number;\n\tvcpus: number;\n\tauto_restart: boolean;\n\tcreated_at: ISODateString;\n\tmissing_dependencies?: string[];\n\tremoved_directories?: string[];\n}\n\n/**\n * Application container deploy response\n */\nexport interface WingsAppDeployResponse {\n\tmissing_dependencies?: string[];\n\tremoved_directories?: string[];\n}\n\n/**\n * Application container rebuild response\n */\nexport interface WingsAppRebuildResponse {\n\tcontainer_id: string;\n\tcontainer_name: string;\n\tversion: string;\n}\n\n/**\n * Database container creation response\n */\nexport interface WingsDatabaseCreateResponse {\n\tcontainer_id: string;\n\tcontainer_name: string;\n\tsubdomain_full: string;\n\tmax_bandwidth: string;\n\tmemory: number;\n\tvcpus: number;\n\ttype: number;\n\thost: string;\n\tport: number;\n\tstorage: number;\n\tcreated_at: ISODateString;\n}\n\n/**\n * Database container rebuild response\n */\nexport interface WingsDatabaseRebuildResponse {\n\tcontainer_id: string;\n\tcontainer_name: string;\n\ttype: number;\n\thost: string;\n\tport: number;\n\tcreated_at: ISODateString;\n}\n\n/**\n * Database certificate bundle\n */\nexport interface WingsDatabaseCertificate {\n\tcrt: string;\n\tkey: string;\n\tpem: string;\n}\n\n/**\n * File upload response\n */\nexport interface WingsFileUploadResponse {\n\tapp_id: string;\n\tupdated_at: ISODateString;\n}\n\n/**\n * File move response\n */\nexport interface WingsFileMoveResponse {\n\tfrom: string;\n\tto: string;\n}\n\n/**\n * Snapshot restore response\n */\nexport interface WingsSnapshotRestoreResponse {\n\tmessage: string;\n}\n\n/**\n * Database reset response\n */\nexport interface WingsDatabaseResetResponse {\n\tid: string;\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/payloads/v1/wing.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=wing.mjs.map
|
package/rest/v1/credits.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { APIPayload } from '../../common/v1.js';
|
|
2
|
-
import { APICreditBalance, APICreditUsage, APICreditCostEstimate } from '../../payloads/v1/credits.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @see https://docs.vertracloud.app/api-reference/endpoint/credits/balance
|
|
6
|
-
*/
|
|
7
|
-
type RESTGetAPICreditBalanceResponse = APIPayload<APICreditBalance>;
|
|
8
|
-
/**
|
|
9
|
-
* @see https://docs.vertracloud.app/api-reference/endpoint/credits/usage
|
|
10
|
-
*/
|
|
11
|
-
type RESTGetAPICreditUsageResponse = APIPayload<APICreditUsage[]>;
|
|
12
|
-
/**
|
|
13
|
-
* @see https://docs.vertracloud.app/api-reference/endpoint/credits/cost
|
|
14
|
-
*/
|
|
15
|
-
type RESTGetAPICreditCostEstimateResponse = APIPayload<APICreditCostEstimate>;
|
|
16
|
-
|
|
17
|
-
export type { RESTGetAPICreditBalanceResponse, RESTGetAPICreditCostEstimateResponse, RESTGetAPICreditUsageResponse };
|
package/rest/v1/credits.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["credits.ts"],"sourcesContent":["import type { APICreditBalance, APICreditCostEstimate, APICreditUsage, APIPayload } from \"../../v1\";\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/credits/balance\n */\nexport type RESTGetAPICreditBalanceResponse = APIPayload<APICreditBalance>;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/credits/usage\n */\nexport type RESTGetAPICreditUsageResponse = APIPayload<APICreditUsage[]>;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/credits/cost\n */\nexport type RESTGetAPICreditCostEstimateResponse = APIPayload<APICreditCostEstimate>;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/rest/v1/credits.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=credits.mjs.map
|
package/rest/v1/wing.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { WingPayload, WingsAppCreateResponse, WingsAppDeployResponse, WingsAppRebuildResponse, WingsContainerMetric, WingsFileUploadResponse, WingsDatabaseCreateResponse, WingsDatabaseRebuildResponse, WingsDatabaseCertificate, WingsDatabaseResetResponse, WingsSnapshotRestoreResponse } from '../../payloads/v1/wing.js';
|
|
2
|
-
import '../../common/v1.js';
|
|
3
|
-
import '../../payloads/v1/application.js';
|
|
4
|
-
|
|
5
|
-
/** @see Wing: POST /api/v1/apps */
|
|
6
|
-
type WingPostAppCreateResponse = WingPayload<WingsAppCreateResponse>;
|
|
7
|
-
/** @see Wing: POST /api/v1/apps/:app_id/deploy */
|
|
8
|
-
type WingPostAppDeployResponse = WingPayload<WingsAppDeployResponse>;
|
|
9
|
-
/** @see Wing: POST /api/v1/apps/:app_id/rebuild */
|
|
10
|
-
type WingPostAppRebuildResponse = WingPayload<WingsAppRebuildResponse>;
|
|
11
|
-
/** @see Wing: GET /api/v1/apps/:app_id/status */
|
|
12
|
-
type WingGetAppStatusResponse = WingPayload<WingsContainerMetric>;
|
|
13
|
-
/** @see Wing: POST /api/v1/apps/status */
|
|
14
|
-
type WingPostAppAllStatusResponse = WingPayload<WingsContainerMetric[]>;
|
|
15
|
-
/** @see Wing: GET /api/v1/apps/:app_id/logs */
|
|
16
|
-
type WingGetAppLogsResponse = WingPayload<string>;
|
|
17
|
-
/** @see Wing: GET /api/v1/apps/:app_id/download */
|
|
18
|
-
type WingGetAppDownloadResponse = WingPayload<string>;
|
|
19
|
-
/** @see Wing: POST /api/v1/apps/:app_id/files/upload */
|
|
20
|
-
type WingPostAppFileUploadResponse = WingPayload<WingsFileUploadResponse>;
|
|
21
|
-
/** @see Wing: POST /api/v1/databases */
|
|
22
|
-
type WingPostDatabaseCreateResponse = WingPayload<WingsDatabaseCreateResponse>;
|
|
23
|
-
/** @see Wing: POST /api/v1/databases/:db_id/rebuild */
|
|
24
|
-
type WingPostDatabaseRebuildResponse = WingPayload<WingsDatabaseRebuildResponse>;
|
|
25
|
-
/** @see Wing: GET /api/v1/databases/:db_id/status */
|
|
26
|
-
type WingGetDatabaseStatusResponse = WingPayload<WingsContainerMetric>;
|
|
27
|
-
/** @see Wing: POST /api/v1/databases/status */
|
|
28
|
-
type WingPostDatabaseAllStatusResponse = WingPayload<WingsContainerMetric[]>;
|
|
29
|
-
/** @see Wing: GET /api/v1/databases/:db_id/certificate */
|
|
30
|
-
type WingGetDatabaseCertificateResponse = WingPayload<WingsDatabaseCertificate>;
|
|
31
|
-
/** @see Wing: POST /api/v1/databases/:db_id/certificate/reset */
|
|
32
|
-
type WingPostDatabaseResetCertificateResponse = WingPayload<WingsDatabaseCertificate>;
|
|
33
|
-
/** @see Wing: POST /api/v1/databases/:db_id/reset */
|
|
34
|
-
type WingPostDatabaseResetResponse = WingPayload<WingsDatabaseResetResponse>;
|
|
35
|
-
/** @see Wing: POST /api/v1/apps/:app_id/snapshots/:snapshot_id/restore */
|
|
36
|
-
type WingPostSnapshotRestoreResponse = WingPayload<WingsSnapshotRestoreResponse>;
|
|
37
|
-
|
|
38
|
-
export type { WingGetAppDownloadResponse, WingGetAppLogsResponse, WingGetAppStatusResponse, WingGetDatabaseCertificateResponse, WingGetDatabaseStatusResponse, WingPostAppAllStatusResponse, WingPostAppCreateResponse, WingPostAppDeployResponse, WingPostAppFileUploadResponse, WingPostAppRebuildResponse, WingPostDatabaseAllStatusResponse, WingPostDatabaseCreateResponse, WingPostDatabaseRebuildResponse, WingPostDatabaseResetCertificateResponse, WingPostDatabaseResetResponse, WingPostSnapshotRestoreResponse };
|
package/rest/v1/wing.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["wing.ts"],"sourcesContent":["import type { WingPayload, WingsAppCreateResponse, WingsAppDeployResponse, WingsAppRebuildResponse, WingsContainerMetric, WingsDatabaseCertificate, WingsDatabaseCreateResponse, WingsDatabaseRebuildResponse, WingsDatabaseResetResponse, WingsFileUploadResponse, WingsSnapshotRestoreResponse } from \"../../v1\";\n\n/** @see Wing: POST /api/v1/apps */\nexport type WingPostAppCreateResponse = WingPayload<WingsAppCreateResponse>;\n\n/** @see Wing: POST /api/v1/apps/:app_id/deploy */\nexport type WingPostAppDeployResponse = WingPayload<WingsAppDeployResponse>;\n\n/** @see Wing: POST /api/v1/apps/:app_id/rebuild */\nexport type WingPostAppRebuildResponse = WingPayload<WingsAppRebuildResponse>;\n\n/** @see Wing: GET /api/v1/apps/:app_id/status */\nexport type WingGetAppStatusResponse = WingPayload<WingsContainerMetric>;\n\n/** @see Wing: POST /api/v1/apps/status */\nexport type WingPostAppAllStatusResponse = WingPayload<WingsContainerMetric[]>;\n\n/** @see Wing: GET /api/v1/apps/:app_id/logs */\nexport type WingGetAppLogsResponse = WingPayload<string>;\n\n/** @see Wing: GET /api/v1/apps/:app_id/download */\nexport type WingGetAppDownloadResponse = WingPayload<string>;\n\n/** @see Wing: POST /api/v1/apps/:app_id/files/upload */\nexport type WingPostAppFileUploadResponse = WingPayload<WingsFileUploadResponse>;\n\n/** @see Wing: POST /api/v1/databases */\nexport type WingPostDatabaseCreateResponse = WingPayload<WingsDatabaseCreateResponse>;\n\n/** @see Wing: POST /api/v1/databases/:db_id/rebuild */\nexport type WingPostDatabaseRebuildResponse = WingPayload<WingsDatabaseRebuildResponse>;\n\n/** @see Wing: GET /api/v1/databases/:db_id/status */\nexport type WingGetDatabaseStatusResponse = WingPayload<WingsContainerMetric>;\n\n/** @see Wing: POST /api/v1/databases/status */\nexport type WingPostDatabaseAllStatusResponse = WingPayload<WingsContainerMetric[]>;\n\n/** @see Wing: GET /api/v1/databases/:db_id/certificate */\nexport type WingGetDatabaseCertificateResponse = WingPayload<WingsDatabaseCertificate>;\n\n/** @see Wing: POST /api/v1/databases/:db_id/certificate/reset */\nexport type WingPostDatabaseResetCertificateResponse = WingPayload<WingsDatabaseCertificate>;\n\n/** @see Wing: POST /api/v1/databases/:db_id/reset */\nexport type WingPostDatabaseResetResponse = WingPayload<WingsDatabaseResetResponse>;\n\n/** @see Wing: POST /api/v1/apps/:app_id/snapshots/:snapshot_id/restore */\nexport type WingPostSnapshotRestoreResponse = WingPayload<WingsSnapshotRestoreResponse>;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/rest/v1/wing.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=wing.mjs.map
|