@vertracloud/api-types 0.2.1 → 0.2.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/package.json +1 -1
- package/payloads/v1/api-error.d.ts +26 -0
- package/payloads/v1/api-error.js +17 -0
- package/payloads/v1/api-error.js.map +1 -1
- package/payloads/v1/api-error.mjs +17 -0
- package/payloads/v1/application.d.ts +0 -4
- package/payloads/v1/application.js.map +1 -1
- package/payloads/v1/index.d.ts +0 -1
- package/payloads/v1/index.js +17 -0
- package/payloads/v1/index.js.map +1 -1
- package/payloads/v1/index.mjs +17 -0
- package/payloads/v1/workspace.d.ts +7 -0
- package/payloads/v1/workspace.js +7 -0
- package/payloads/v1/workspace.js.map +1 -1
- package/payloads/v1/workspace.mjs +7 -0
- package/rest/v1/application.d.ts +0 -3
- package/rest/v1/application.js.map +1 -1
- package/rest/v1/index.d.ts +0 -2
- package/rest/v1/index.js.map +1 -1
- package/v1.d.ts +0 -2
- package/v1.js +17 -0
- package/v1.js.map +1 -1
- package/v1.mjs +17 -0
- package/payloads/v1/github.d.ts +0 -20
- package/payloads/v1/github.js +0 -19
- package/payloads/v1/github.js.map +0 -1
- package/payloads/v1/github.mjs +0 -1
- package/rest/v1/github.d.ts +0 -22
- package/rest/v1/github.js +0 -19
- package/rest/v1/github.js.map +0 -1
- package/rest/v1/github.mjs +0 -1
package/rest/v1/github.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { APIPayload } from '../../common/v1.js';
|
|
2
|
-
import { APIGitHubFile } from '../../payloads/v1/github.js';
|
|
3
|
-
import '../../payloads/v1/api-error.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @see https://docs.vertracloud.app/api-reference/endpoint/github/file
|
|
7
|
-
*/
|
|
8
|
-
interface RESTPostAPIGitHubFileBody {
|
|
9
|
-
/** Repository URL. A `/tree/<branch>` suffix selects the branch. */
|
|
10
|
-
url: string;
|
|
11
|
-
/** Path relative to the repository root. No `..`, no leading slash, no `.vertracloud/`. */
|
|
12
|
-
path: string;
|
|
13
|
-
/** Branch, tag or commit. Overrides the branch in the URL. */
|
|
14
|
-
ref?: string;
|
|
15
|
-
installation_id?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @see https://docs.vertracloud.app/api-reference/endpoint/github/file
|
|
19
|
-
*/
|
|
20
|
-
type RESTPostAPIGitHubFileResponse = APIPayload<APIGitHubFile>;
|
|
21
|
-
|
|
22
|
-
export type { RESTPostAPIGitHubFileBody, RESTPostAPIGitHubFileResponse };
|
package/rest/v1/github.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// rest/v1/github.ts
|
|
17
|
-
var github_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(github_exports);
|
|
19
|
-
//# sourceMappingURL=github.js.map
|
package/rest/v1/github.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["github.ts"],"sourcesContent":["import type { APIGitHubFile, APIPayload } from \"../../v1\";\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/github/file\n */\nexport interface RESTPostAPIGitHubFileBody {\n\t/** Repository URL. A `/tree/<branch>` suffix selects the branch. */\n\turl: string;\n\t/** Path relative to the repository root. No `..`, no leading slash, no `.vertracloud/`. */\n\tpath: string;\n\t/** Branch, tag or commit. Overrides the branch in the URL. */\n\tref?: string;\n\tinstallation_id?: string;\n}\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/github/file\n */\nexport type RESTPostAPIGitHubFileResponse = APIPayload<APIGitHubFile>;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/rest/v1/github.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=github.mjs.map
|