@meshery/schemas 1.3.66 → 1.3.67
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/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
- package/dist/constructs/v1beta2/core/Core.d.ts +7 -7
- package/dist/constructs/v1beta2/core/CoreSchema.js +1 -1
- package/dist/constructs/v1beta2/core/CoreSchema.mjs +1 -1
- package/dist/constructs/v1beta3/connection/Connection.d.ts +5 -5
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta3/design/Design.d.ts +14 -14
- package/dist/constructs/v1beta3/design/DesignSchema.js +7 -7
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +7 -7
- package/dist/constructs/v1beta3/event/Event.d.ts +2 -2
- package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
- package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
- package/dist/constructs/v1beta3/github/Github.d.ts +26 -26
- package/dist/constructs/v1beta3/github/GithubSchema.js +2 -2
- package/dist/constructs/v1beta3/github/GithubSchema.mjs +2 -2
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +11 -11
- package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
- package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -146,7 +146,7 @@ export interface paths {
|
|
|
146
146
|
put?: never;
|
|
147
147
|
/**
|
|
148
148
|
* Refresh design from its source
|
|
149
|
-
* @description Re-fetches the source file recorded in the design's `location` (`type: github`, `host: github.com/<owner>/<repo>`, `path`, optional `branch`; an empty branch means the repository's default branch), re-identifies it, and rewrites the design's content in place under the same design ID. A Meshery Design source replaces `patternFile`; any other source type (Helm Chart, Kubernetes Manifest, Docker Compose) replaces `sourceContent` and clears `patternFile`, so Meshery reconverts it the next time the design is opened - exactly the state a first import leaves. Only the design's owner may refresh it. No request body. Denials: `404` answers both "no such design" and "not the caller's design" with the same body by design, so the route is not an existence oracle; `403` means the repository is not reachable through one of the caller's verified GitHub App installations - the installations GitHub lists for the caller's own GitHub account when they authorize the App. The refusal is deliberately uniform: the App not being installed on the repository's account and its being installed there for someone else answer the same body, so the route does not reveal where the App is installed. A `403` whose
|
|
149
|
+
* @description Re-fetches the source file recorded in the design's `location` (`type: github`, `host: github.com/<owner>/<repo>`, `path`, optional `branch`; an empty branch means the repository's default branch), re-identifies it, and rewrites the design's content in place under the same design ID. A Meshery Design source replaces `patternFile`; any other source type (Helm Chart, Kubernetes Manifest, Docker Compose) replaces `sourceContent` and clears `patternFile`, so Meshery reconverts it the next time the design is opened - exactly the state a first import leaves. Only the design's owner may refresh it. No request body. Denials: `404` answers both "no such design" and "not the caller's design" with the same body by design, so the route is not an existence oracle; `403` means the repository is not reachable through one of the caller's verified GitHub App installations - the installations GitHub lists for the caller's own GitHub account when they authorize the App. The refusal is deliberately uniform: the App not being installed on the repository's account and its being installed there for someone else answer the same body, so the route does not reveal where the App is installed. A distinct `403` whose MeshKit error asks for re-authorization means the caller's GitHub connection predates verification; re-authorize it (see `startGithubAuthorization`) before use; `409` means the design has no refreshable source (`location.type` is not `github`, or `host`/`path` is missing) or its source path no longer resolves to an importable file; `502` means GitHub could not be reached or rejected the request. The server resolves the tracked ref to a commit, reads the file at that commit, and records it in `location.commitSha`.
|
|
150
150
|
*/
|
|
151
151
|
post: operations["refreshPatternFromSource"];
|
|
152
152
|
delete?: never;
|
|
@@ -170,7 +170,7 @@ export interface paths {
|
|
|
170
170
|
head?: never;
|
|
171
171
|
/**
|
|
172
172
|
* Remap a design's GitHub source
|
|
173
|
-
* @description Re-points the design's source binding - the GitHub file its `location` records and `refreshPatternFromSource` re-reads - at another repository, path or ref. The design's content is not changed: call `refreshPatternFromSource` afterwards to replace it from the new source. The server resolves `ref` to a commit and confirms that `path` names an importable file at that commit before it writes anything, so a binding that a refresh could not read is never stored. It writes `location` as `type: github`, `host`, `path` and `branch` (= `ref`). When the binding changes, `location.commitSha` is removed, because the stored content was not read from the new source; it is kept when the request names the binding the design already has. A design with no GitHub source (an upload or URL import) may be bound to one; it becomes refreshable. Only the design's owner may remap it. Denials: `404` answers "no such design", "not the caller's design" and "connectionId is not the caller's own live GitHub connection" with the same body, so the route is not an existence oracle; `403` means the repository is not reachable through one of the caller's verified GitHub App installations - the installations GitHub lists for the caller's own GitHub account when they authorize the App. The refusal is deliberately uniform: the App not being installed on the repository's account and its being installed there for someone else answer the same body, so the route does not reveal where the App is installed. A `403` whose
|
|
173
|
+
* @description Re-points the design's source binding - the GitHub file its `location` records and `refreshPatternFromSource` re-reads - at another repository, path or ref. The design's content is not changed: call `refreshPatternFromSource` afterwards to replace it from the new source. The server resolves `ref` to a commit and confirms that `path` names an importable file at that commit before it writes anything, so a binding that a refresh could not read is never stored. It writes `location` as `type: github`, `host`, `path` and `branch` (= `ref`). When the binding changes, `location.commitSha` is removed, because the stored content was not read from the new source; it is kept when the request names the binding the design already has. A design with no GitHub source (an upload or URL import) may be bound to one; it becomes refreshable. Only the design's owner may remap it. Denials: `404` answers "no such design", "not the caller's design" and "connectionId is not the caller's own live GitHub connection" with the same body, so the route is not an existence oracle; `403` means the repository is not reachable through one of the caller's verified GitHub App installations - the installations GitHub lists for the caller's own GitHub account when they authorize the App. The refusal is deliberately uniform: the App not being installed on the repository's account and its being installed there for someone else answer the same body, so the route does not reveal where the App is installed. A distinct `403` whose MeshKit error asks for re-authorization means the caller's GitHub connection predates verification; re-authorize it (see `startGithubAuthorization`) before use; `409` means `ref` does not resolve to a commit, or `path` does not name an importable file at it (missing, a directory, or not a supported format); `502` means GitHub could not be reached or rejected the request.
|
|
174
174
|
*/
|
|
175
175
|
patch: operations["updatePatternSource"];
|
|
176
176
|
trace?: never;
|
|
@@ -223,7 +223,7 @@ export interface paths {
|
|
|
223
223
|
put?: never;
|
|
224
224
|
/**
|
|
225
225
|
* Import files from a GitHub repository as designs
|
|
226
|
-
* @description Imports the selected files (a selected directory is walked recursively) from one repository reachable through the caller's GitHub App connection. Matching is idempotent: a file whose (owner, location.type, location.host, location.path, location.branch) already identifies one of the caller's designs is handled per `onExisting`. `connectionId` must name the caller's own live GitHub connection (404 otherwise). `403` means the repository is not reachable through one of the caller's verified GitHub App installations - the installations GitHub lists for the caller's own GitHub account when they authorize the App. The refusal is deliberately uniform: the App not being installed on the repository's account and its being installed there for someone else answer the same body, so the route does not reveal where the App is installed. A `403` whose
|
|
226
|
+
* @description Imports the selected files (a selected directory is walked recursively) from one repository reachable through the caller's GitHub App connection. Matching is idempotent: a file whose (owner, location.type, location.host, location.path, location.branch) already identifies one of the caller's designs is handled per `onExisting`. `connectionId` must name the caller's own live GitHub connection (404 otherwise). `403` means the repository is not reachable through one of the caller's verified GitHub App installations - the installations GitHub lists for the caller's own GitHub account when they authorize the App. The refusal is deliberately uniform: the App not being installed on the repository's account and its being installed there for someone else answer the same body, so the route does not reveal where the App is installed. A distinct `403` whose MeshKit error asks for re-authorization means the caller's GitHub connection predates verification; re-authorize it (see `startGithubAuthorization`) before use; `502` means GitHub could not be reached or rejected the request. Each imported or updated design records the commit its file was read at in `location.commitSha`.
|
|
227
227
|
*/
|
|
228
228
|
post: operations["importGithubRepository"];
|
|
229
229
|
delete?: never;
|
|
@@ -241,7 +241,7 @@ export interface paths {
|
|
|
241
241
|
};
|
|
242
242
|
/**
|
|
243
243
|
* List a repository's branches
|
|
244
|
-
* @description Lists the branches of one repository reachable through the caller's GitHub App connection, with the repository's default branch, so a client can offer the refs a design's source can track. Branch order is GitHub's. `connectionId` must name the caller's own live GitHub connection (404 otherwise, with the same body as "no such connection"). `403` means the repository is not reachable through one of the caller's verified GitHub App installations - the installations GitHub lists for the caller's own GitHub account when they authorize the App. The refusal is deliberately uniform: the App not being installed on the repository's account and its being installed there for someone else answer the same body, so the route does not reveal where the App is installed. A `403` whose
|
|
244
|
+
* @description Lists the branches of one repository reachable through the caller's GitHub App connection, with the repository's default branch, so a client can offer the refs a design's source can track. Branch order is GitHub's. `connectionId` must name the caller's own live GitHub connection (404 otherwise, with the same body as "no such connection"). `403` means the repository is not reachable through one of the caller's verified GitHub App installations - the installations GitHub lists for the caller's own GitHub account when they authorize the App. The refusal is deliberately uniform: the App not being installed on the repository's account and its being installed there for someone else answer the same body, so the route does not reveal where the App is installed. A distinct `403` whose MeshKit error asks for re-authorization means the caller's GitHub connection predates verification; re-authorize it (see `startGithubAuthorization`) before use; `502` means GitHub could not be reached or rejected the request.
|
|
245
245
|
*/
|
|
246
246
|
get: operations["getGithubRepositoryBranches"];
|
|
247
247
|
put?: never;
|
|
@@ -4574,7 +4574,7 @@ export interface components {
|
|
|
4574
4574
|
"application/json": {
|
|
4575
4575
|
/** @description The sentence the caller is shown. */
|
|
4576
4576
|
error: string;
|
|
4577
|
-
/** @description MeshKit error code, e.g.
|
|
4577
|
+
/** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
|
|
4578
4578
|
code?: string;
|
|
4579
4579
|
/**
|
|
4580
4580
|
* @description MeshKit severity name. Omitted when MeshKit reports none.
|
|
@@ -4597,7 +4597,7 @@ export interface components {
|
|
|
4597
4597
|
"application/json": {
|
|
4598
4598
|
/** @description The sentence the caller is shown. */
|
|
4599
4599
|
error: string;
|
|
4600
|
-
/** @description MeshKit error code, e.g.
|
|
4600
|
+
/** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
|
|
4601
4601
|
code?: string;
|
|
4602
4602
|
/**
|
|
4603
4603
|
* @description MeshKit severity name. Omitted when MeshKit reports none.
|
|
@@ -7061,7 +7061,7 @@ export interface operations {
|
|
|
7061
7061
|
"application/json": {
|
|
7062
7062
|
/** @description The sentence the caller is shown. */
|
|
7063
7063
|
error: string;
|
|
7064
|
-
/** @description MeshKit error code, e.g.
|
|
7064
|
+
/** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
|
|
7065
7065
|
code?: string;
|
|
7066
7066
|
/**
|
|
7067
7067
|
* @description MeshKit severity name. Omitted when MeshKit reports none.
|
|
@@ -7111,7 +7111,7 @@ export interface operations {
|
|
|
7111
7111
|
"application/json": {
|
|
7112
7112
|
/** @description The sentence the caller is shown. */
|
|
7113
7113
|
error: string;
|
|
7114
|
-
/** @description MeshKit error code, e.g.
|
|
7114
|
+
/** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
|
|
7115
7115
|
code?: string;
|
|
7116
7116
|
/**
|
|
7117
7117
|
* @description MeshKit severity name. Omitted when MeshKit reports none.
|
|
@@ -7553,7 +7553,7 @@ export interface operations {
|
|
|
7553
7553
|
"application/json": {
|
|
7554
7554
|
/** @description The sentence the caller is shown. */
|
|
7555
7555
|
error: string;
|
|
7556
|
-
/** @description MeshKit error code, e.g.
|
|
7556
|
+
/** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
|
|
7557
7557
|
code?: string;
|
|
7558
7558
|
/**
|
|
7559
7559
|
* @description MeshKit severity name. Omitted when MeshKit reports none.
|
|
@@ -7603,7 +7603,7 @@ export interface operations {
|
|
|
7603
7603
|
"application/json": {
|
|
7604
7604
|
/** @description The sentence the caller is shown. */
|
|
7605
7605
|
error: string;
|
|
7606
|
-
/** @description MeshKit error code, e.g.
|
|
7606
|
+
/** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
|
|
7607
7607
|
code?: string;
|
|
7608
7608
|
/**
|
|
7609
7609
|
* @description MeshKit severity name. Omitted when MeshKit reports none.
|
|
@@ -8993,7 +8993,7 @@ export interface operations {
|
|
|
8993
8993
|
"application/json": {
|
|
8994
8994
|
/** @description The sentence the caller is shown. */
|
|
8995
8995
|
error: string;
|
|
8996
|
-
/** @description MeshKit error code, e.g.
|
|
8996
|
+
/** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
|
|
8997
8997
|
code?: string;
|
|
8998
8998
|
/**
|
|
8999
8999
|
* @description MeshKit severity name. Omitted when MeshKit reports none.
|
|
@@ -9034,7 +9034,7 @@ export interface operations {
|
|
|
9034
9034
|
"application/json": {
|
|
9035
9035
|
/** @description The sentence the caller is shown. */
|
|
9036
9036
|
error: string;
|
|
9037
|
-
/** @description MeshKit error code, e.g.
|
|
9037
|
+
/** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
|
|
9038
9038
|
code?: string;
|
|
9039
9039
|
/**
|
|
9040
9040
|
* @description MeshKit severity name. Omitted when MeshKit reports none.
|
|
@@ -9120,7 +9120,7 @@ export interface operations {
|
|
|
9120
9120
|
"application/json": {
|
|
9121
9121
|
/** @description The sentence the caller is shown. */
|
|
9122
9122
|
error: string;
|
|
9123
|
-
/** @description MeshKit error code, e.g.
|
|
9123
|
+
/** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
|
|
9124
9124
|
code?: string;
|
|
9125
9125
|
/**
|
|
9126
9126
|
* @description MeshKit severity name. Omitted when MeshKit reports none.
|
|
@@ -9161,7 +9161,7 @@ export interface operations {
|
|
|
9161
9161
|
"application/json": {
|
|
9162
9162
|
/** @description The sentence the caller is shown. */
|
|
9163
9163
|
error: string;
|
|
9164
|
-
/** @description MeshKit error code, e.g.
|
|
9164
|
+
/** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
|
|
9165
9165
|
code?: string;
|
|
9166
9166
|
/**
|
|
9167
9167
|
* @description MeshKit severity name. Omitted when MeshKit reports none.
|