@kya-os/contracts 1.6.17 → 1.6.19

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.
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /**
3
+ * One-Click Deployment Contracts
4
+ *
5
+ * Centralized type definitions and validation schemas for the
6
+ * AgentShield One-Click Deployment feature.
7
+ *
8
+ * @package @kya-os/contracts/deploy
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * import {
13
+ * DeployToGitHubRequest,
14
+ * deployToGitHubRequestSchema,
15
+ * TemplateType,
16
+ * } from '@kya-os/contracts/deploy';
17
+ *
18
+ * // Validate request
19
+ * const result = deployToGitHubRequestSchema.safeParse(body);
20
+ * if (!result.success) {
21
+ * throw new Error('Invalid deploy request');
22
+ * }
23
+ *
24
+ * const validatedRequest: DeployToGitHubRequest = result.data;
25
+ * ```
26
+ */
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.deploymentProgressSchema = exports.deployStepSchema = exports.deployStepStatusSchema = exports.scaffolderResultSchema = exports.scaffolderOptionsSchema = exports.generatedFileSchema = exports.listDeployedRepositoriesResponseSchema = exports.deployedRepositorySchema = exports.deployToGitHubResultSchema = exports.deployErrorResponseSchema = exports.deployToGitHubResponseSchema = exports.deployToGitHubDataSchema = exports.deployedProjectSchema = exports.deployToGitHubRequestSchema = exports.repoNameSchema = exports.deployErrorCodeSchema = exports.gitHubDisconnectResponseSchema = exports.gitHubStatusResponseSchema = exports.gitHubCallbackResponseSchema = exports.gitHubCallbackQuerySchema = exports.gitHubInstallInitResponseSchema = exports.gitHubRepositorySchema = exports.gitHubInstallationSchema = exports.gitHubAccountTypeSchema = exports.deployPlatformSchema = exports.templateTypeSchema = void 0;
29
+ // Schema exports
30
+ var schemas_js_1 = require("./schemas.js");
31
+ // Template & Platform schemas
32
+ Object.defineProperty(exports, "templateTypeSchema", { enumerable: true, get: function () { return schemas_js_1.templateTypeSchema; } });
33
+ Object.defineProperty(exports, "deployPlatformSchema", { enumerable: true, get: function () { return schemas_js_1.deployPlatformSchema; } });
34
+ // GitHub schemas
35
+ Object.defineProperty(exports, "gitHubAccountTypeSchema", { enumerable: true, get: function () { return schemas_js_1.gitHubAccountTypeSchema; } });
36
+ Object.defineProperty(exports, "gitHubInstallationSchema", { enumerable: true, get: function () { return schemas_js_1.gitHubInstallationSchema; } });
37
+ Object.defineProperty(exports, "gitHubRepositorySchema", { enumerable: true, get: function () { return schemas_js_1.gitHubRepositorySchema; } });
38
+ Object.defineProperty(exports, "gitHubInstallInitResponseSchema", { enumerable: true, get: function () { return schemas_js_1.gitHubInstallInitResponseSchema; } });
39
+ Object.defineProperty(exports, "gitHubCallbackQuerySchema", { enumerable: true, get: function () { return schemas_js_1.gitHubCallbackQuerySchema; } });
40
+ Object.defineProperty(exports, "gitHubCallbackResponseSchema", { enumerable: true, get: function () { return schemas_js_1.gitHubCallbackResponseSchema; } });
41
+ Object.defineProperty(exports, "gitHubStatusResponseSchema", { enumerable: true, get: function () { return schemas_js_1.gitHubStatusResponseSchema; } });
42
+ Object.defineProperty(exports, "gitHubDisconnectResponseSchema", { enumerable: true, get: function () { return schemas_js_1.gitHubDisconnectResponseSchema; } });
43
+ // Deploy API schemas
44
+ Object.defineProperty(exports, "deployErrorCodeSchema", { enumerable: true, get: function () { return schemas_js_1.deployErrorCodeSchema; } });
45
+ Object.defineProperty(exports, "repoNameSchema", { enumerable: true, get: function () { return schemas_js_1.repoNameSchema; } });
46
+ Object.defineProperty(exports, "deployToGitHubRequestSchema", { enumerable: true, get: function () { return schemas_js_1.deployToGitHubRequestSchema; } });
47
+ Object.defineProperty(exports, "deployedProjectSchema", { enumerable: true, get: function () { return schemas_js_1.deployedProjectSchema; } });
48
+ Object.defineProperty(exports, "deployToGitHubDataSchema", { enumerable: true, get: function () { return schemas_js_1.deployToGitHubDataSchema; } });
49
+ Object.defineProperty(exports, "deployToGitHubResponseSchema", { enumerable: true, get: function () { return schemas_js_1.deployToGitHubResponseSchema; } });
50
+ Object.defineProperty(exports, "deployErrorResponseSchema", { enumerable: true, get: function () { return schemas_js_1.deployErrorResponseSchema; } });
51
+ Object.defineProperty(exports, "deployToGitHubResultSchema", { enumerable: true, get: function () { return schemas_js_1.deployToGitHubResultSchema; } });
52
+ // Deployed repository schemas
53
+ Object.defineProperty(exports, "deployedRepositorySchema", { enumerable: true, get: function () { return schemas_js_1.deployedRepositorySchema; } });
54
+ Object.defineProperty(exports, "listDeployedRepositoriesResponseSchema", { enumerable: true, get: function () { return schemas_js_1.listDeployedRepositoriesResponseSchema; } });
55
+ // Scaffolder schemas
56
+ Object.defineProperty(exports, "generatedFileSchema", { enumerable: true, get: function () { return schemas_js_1.generatedFileSchema; } });
57
+ Object.defineProperty(exports, "scaffolderOptionsSchema", { enumerable: true, get: function () { return schemas_js_1.scaffolderOptionsSchema; } });
58
+ Object.defineProperty(exports, "scaffolderResultSchema", { enumerable: true, get: function () { return schemas_js_1.scaffolderResultSchema; } });
59
+ // Progress schemas
60
+ Object.defineProperty(exports, "deployStepStatusSchema", { enumerable: true, get: function () { return schemas_js_1.deployStepStatusSchema; } });
61
+ Object.defineProperty(exports, "deployStepSchema", { enumerable: true, get: function () { return schemas_js_1.deployStepSchema; } });
62
+ Object.defineProperty(exports, "deploymentProgressSchema", { enumerable: true, get: function () { return schemas_js_1.deploymentProgressSchema; } });