@meshery/schemas 1.3.98 → 1.3.100
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/cloudApi.d.mts +69 -14
- package/dist/cloudApi.d.ts +69 -14
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta1/component/Component.d.ts +5 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.js +1 -1
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/connection/Connection.d.ts +30 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +20 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
- package/dist/constructs/v1beta1/model/Model.d.ts +15 -0
- package/dist/constructs/v1beta1/model/ModelSchema.js +3 -3
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +3 -3
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +115 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +34 -23
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +34 -23
- package/dist/constructs/v1beta1/registry/Registry.d.ts +111 -6
- package/dist/constructs/v1beta1/registry/RegistrySchema.js +21 -21
- package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +21 -21
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +20 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +6 -4
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +6 -4
- package/dist/constructs/v1beta2/component/Component.d.ts +5 -0
- package/dist/constructs/v1beta2/component/ComponentSchema.js +1 -1
- package/dist/constructs/v1beta2/component/ComponentSchema.mjs +1 -1
- package/dist/constructs/v1beta2/design/Design.d.ts +60 -0
- package/dist/constructs/v1beta2/design/DesignSchema.js +12 -12
- package/dist/constructs/v1beta2/design/DesignSchema.mjs +12 -12
- package/dist/constructs/v1beta2/model/Model.d.ts +15 -0
- package/dist/constructs/v1beta2/model/ModelSchema.js +3 -3
- package/dist/constructs/v1beta2/model/ModelSchema.mjs +3 -3
- package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
- package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
- package/dist/constructs/v1beta3/component/Component.d.ts +5 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.js +1 -1
- package/dist/constructs/v1beta3/component/ComponentSchema.mjs +1 -1
- package/dist/constructs/v1beta3/connection/Connection.d.ts +39 -22
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +4 -4
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +4 -4
- package/dist/constructs/v1beta3/design/Design.d.ts +88 -3
- package/dist/constructs/v1beta3/design/DesignSchema.js +18 -18
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +18 -18
- package/dist/constructs/v1beta3/event/Event.d.ts +63 -1
- package/dist/constructs/v1beta3/event/EventSchema.js +8 -4
- package/dist/constructs/v1beta3/event/EventSchema.mjs +8 -4
- package/dist/constructs/v1beta3/profile/Profile.d.ts +1 -1
- package/dist/constructs/v1beta3/profile/ProfileSchema.js +1 -1
- package/dist/constructs/v1beta3/profile/ProfileSchema.mjs +1 -1
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +20 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +6 -4
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +6 -4
- package/dist/index.d.mts +120 -0
- package/dist/index.d.ts +120 -0
- package/dist/index.js +59 -46
- package/dist/index.mjs +59 -46
- package/dist/mesheryApi.d.mts +75 -17
- package/dist/mesheryApi.d.ts +75 -17
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ export interface paths {
|
|
|
19
19
|
put?: never;
|
|
20
20
|
/**
|
|
21
21
|
* Save design
|
|
22
|
-
* @description Creates or updates an infrastructure design.
|
|
22
|
+
* @description Creates or updates an infrastructure design. The server assigns `organizationId` from the session organization; clients do not send it. On update the organization stays the one assigned at create.
|
|
23
23
|
*/
|
|
24
24
|
post: operations["upsertPattern"];
|
|
25
25
|
delete?: never;
|
|
@@ -613,6 +613,11 @@ export interface components {
|
|
|
613
613
|
* @description SQL null Timestamp to handle null values of time.
|
|
614
614
|
*/
|
|
615
615
|
deleted_at?: string;
|
|
616
|
+
/**
|
|
617
|
+
* Format: uuid
|
|
618
|
+
* @description The organization the connection belongs to. The server sets it from the session organization. A client-supplied value is ignored. Optional on this superseded shape, which live model responses still embed as `registrant` (`additionalProperties: false`, so the field has to be declared for the server to return it). v1beta3 Connection requires it. Not marked readOnly: this connection is inlined into `POST /api/registry/relationships/evaluate` through a component model's registrant, and readOnly there drops the design field from the generated RTK client.
|
|
619
|
+
*/
|
|
620
|
+
organizationId?: string;
|
|
616
621
|
/** @description Associated environments for this connection */
|
|
617
622
|
environments?: {
|
|
618
623
|
/**
|
|
@@ -1851,7 +1856,7 @@ export interface components {
|
|
|
1851
1856
|
}[];
|
|
1852
1857
|
}[];
|
|
1853
1858
|
};
|
|
1854
|
-
/** @description Server-returned design (pattern) resource as persisted
|
|
1859
|
+
/** @description Server-returned design (pattern) resource as persisted in `meshery_patterns`. `organizationId` is required and read-only: the server assigns it from the session organization and clients never send it. */
|
|
1855
1860
|
MesheryPattern: {
|
|
1856
1861
|
/**
|
|
1857
1862
|
* Format: uuid
|
|
@@ -1896,6 +1901,11 @@ export interface components {
|
|
|
1896
1901
|
* @description Owning user ID.
|
|
1897
1902
|
*/
|
|
1898
1903
|
userId?: string;
|
|
1904
|
+
/**
|
|
1905
|
+
* Format: uuid
|
|
1906
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
1907
|
+
*/
|
|
1908
|
+
readonly organizationId: string;
|
|
1899
1909
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
1900
1910
|
user?: {
|
|
1901
1911
|
/**
|
|
@@ -2268,6 +2278,11 @@ export interface components {
|
|
|
2268
2278
|
* @description Owning user ID.
|
|
2269
2279
|
*/
|
|
2270
2280
|
userId?: string;
|
|
2281
|
+
/**
|
|
2282
|
+
* Format: uuid
|
|
2283
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
2284
|
+
*/
|
|
2285
|
+
readonly organizationId: string;
|
|
2271
2286
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
2272
2287
|
user?: {
|
|
2273
2288
|
/**
|
|
@@ -2603,7 +2618,7 @@ export interface components {
|
|
|
2603
2618
|
name?: string;
|
|
2604
2619
|
}[];
|
|
2605
2620
|
};
|
|
2606
|
-
/** @description Client-settable subset of the design (pattern) entity used as the body of the inner `patternData` envelope on POST /api/content/patterns. Server-generated fields (createdAt, updatedAt, viewCount, downloadCount, cloneCount, deploymentCount, shareCount, the joined `user` object, and the imported-source `sourceContent` blob) are deliberately excluded
|
|
2621
|
+
/** @description Client-settable subset of the design (pattern) entity used as the body of the inner `patternData` envelope on POST /api/content/patterns. Server-generated fields (`organizationId`, createdAt, updatedAt, viewCount, downloadCount, cloneCount, deploymentCount, shareCount, the joined `user` object, and the imported-source `sourceContent` blob) are deliberately excluded. The server assigns `organizationId` from the session organization, ignores any client value, and re-projects server-owned fields on the response. */
|
|
2607
2622
|
MesheryPatternPayload: {
|
|
2608
2623
|
/**
|
|
2609
2624
|
* Format: uuid
|
|
@@ -2918,6 +2933,11 @@ export interface components {
|
|
|
2918
2933
|
* @description Owning user ID.
|
|
2919
2934
|
*/
|
|
2920
2935
|
userId?: string;
|
|
2936
|
+
/**
|
|
2937
|
+
* Format: uuid
|
|
2938
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
2939
|
+
*/
|
|
2940
|
+
readonly organizationId: string;
|
|
2921
2941
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
2922
2942
|
user?: {
|
|
2923
2943
|
/**
|
|
@@ -3282,6 +3302,11 @@ export interface components {
|
|
|
3282
3302
|
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
3283
3303
|
*/
|
|
3284
3304
|
owner?: string;
|
|
3305
|
+
/**
|
|
3306
|
+
* Format: uuid
|
|
3307
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
3308
|
+
*/
|
|
3309
|
+
readonly organizationId: string;
|
|
3285
3310
|
/**
|
|
3286
3311
|
* Format: date-time
|
|
3287
3312
|
* @description Timestamp when the event was recorded.
|
|
@@ -3413,6 +3438,11 @@ export interface components {
|
|
|
3413
3438
|
* @description Owning user ID.
|
|
3414
3439
|
*/
|
|
3415
3440
|
userId?: string;
|
|
3441
|
+
/**
|
|
3442
|
+
* Format: uuid
|
|
3443
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
3444
|
+
*/
|
|
3445
|
+
readonly organizationId: string;
|
|
3416
3446
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
3417
3447
|
user?: {
|
|
3418
3448
|
/**
|
|
@@ -4765,6 +4795,11 @@ export interface operations {
|
|
|
4765
4795
|
* @description Owning user ID.
|
|
4766
4796
|
*/
|
|
4767
4797
|
userId?: string;
|
|
4798
|
+
/**
|
|
4799
|
+
* Format: uuid
|
|
4800
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
4801
|
+
*/
|
|
4802
|
+
readonly organizationId: string;
|
|
4768
4803
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
4769
4804
|
user?: {
|
|
4770
4805
|
/**
|
|
@@ -5246,6 +5281,11 @@ export interface operations {
|
|
|
5246
5281
|
* @description Owning user ID.
|
|
5247
5282
|
*/
|
|
5248
5283
|
userId?: string;
|
|
5284
|
+
/**
|
|
5285
|
+
* Format: uuid
|
|
5286
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
5287
|
+
*/
|
|
5288
|
+
readonly organizationId: string;
|
|
5249
5289
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
5250
5290
|
user?: {
|
|
5251
5291
|
/**
|
|
@@ -5721,6 +5761,11 @@ export interface operations {
|
|
|
5721
5761
|
* @description Owning user ID.
|
|
5722
5762
|
*/
|
|
5723
5763
|
userId?: string;
|
|
5764
|
+
/**
|
|
5765
|
+
* Format: uuid
|
|
5766
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
5767
|
+
*/
|
|
5768
|
+
readonly organizationId: string;
|
|
5724
5769
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
5725
5770
|
user?: {
|
|
5726
5771
|
/**
|
|
@@ -6181,6 +6226,11 @@ export interface operations {
|
|
|
6181
6226
|
* @description Owning user ID.
|
|
6182
6227
|
*/
|
|
6183
6228
|
userId?: string;
|
|
6229
|
+
/**
|
|
6230
|
+
* Format: uuid
|
|
6231
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
6232
|
+
*/
|
|
6233
|
+
readonly organizationId: string;
|
|
6184
6234
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
6185
6235
|
user?: {
|
|
6186
6236
|
/**
|
|
@@ -6713,6 +6763,11 @@ export interface operations {
|
|
|
6713
6763
|
* @description Owning user ID.
|
|
6714
6764
|
*/
|
|
6715
6765
|
userId?: string;
|
|
6766
|
+
/**
|
|
6767
|
+
* Format: uuid
|
|
6768
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
6769
|
+
*/
|
|
6770
|
+
readonly organizationId: string;
|
|
6716
6771
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
6717
6772
|
user?: {
|
|
6718
6773
|
/**
|
|
@@ -7205,6 +7260,11 @@ export interface operations {
|
|
|
7205
7260
|
* @description Owning user ID.
|
|
7206
7261
|
*/
|
|
7207
7262
|
userId?: string;
|
|
7263
|
+
/**
|
|
7264
|
+
* Format: uuid
|
|
7265
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
7266
|
+
*/
|
|
7267
|
+
readonly organizationId: string;
|
|
7208
7268
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
7209
7269
|
user?: {
|
|
7210
7270
|
/**
|
|
@@ -7706,6 +7766,11 @@ export interface operations {
|
|
|
7706
7766
|
* @description Owning user ID.
|
|
7707
7767
|
*/
|
|
7708
7768
|
userId?: string;
|
|
7769
|
+
/**
|
|
7770
|
+
* Format: uuid
|
|
7771
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
7772
|
+
*/
|
|
7773
|
+
readonly organizationId: string;
|
|
7709
7774
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
7710
7775
|
user?: {
|
|
7711
7776
|
/**
|
|
@@ -8129,6 +8194,11 @@ export interface operations {
|
|
|
8129
8194
|
* @description Owning user ID.
|
|
8130
8195
|
*/
|
|
8131
8196
|
userId?: string;
|
|
8197
|
+
/**
|
|
8198
|
+
* Format: uuid
|
|
8199
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
8200
|
+
*/
|
|
8201
|
+
readonly organizationId: string;
|
|
8132
8202
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
8133
8203
|
user?: {
|
|
8134
8204
|
/**
|
|
@@ -8583,6 +8653,11 @@ export interface operations {
|
|
|
8583
8653
|
* @description Owning user ID.
|
|
8584
8654
|
*/
|
|
8585
8655
|
userId?: string;
|
|
8656
|
+
/**
|
|
8657
|
+
* Format: uuid
|
|
8658
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
8659
|
+
*/
|
|
8660
|
+
readonly organizationId: string;
|
|
8586
8661
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
8587
8662
|
user?: {
|
|
8588
8663
|
/**
|
|
@@ -8947,6 +9022,11 @@ export interface operations {
|
|
|
8947
9022
|
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
8948
9023
|
*/
|
|
8949
9024
|
owner?: string;
|
|
9025
|
+
/**
|
|
9026
|
+
* Format: uuid
|
|
9027
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
9028
|
+
*/
|
|
9029
|
+
readonly organizationId: string;
|
|
8950
9030
|
/**
|
|
8951
9031
|
* Format: date-time
|
|
8952
9032
|
* @description Timestamp when the event was recorded.
|
|
@@ -9264,6 +9344,11 @@ export interface operations {
|
|
|
9264
9344
|
* @description Owning user ID.
|
|
9265
9345
|
*/
|
|
9266
9346
|
userId?: string;
|
|
9347
|
+
/**
|
|
9348
|
+
* Format: uuid
|
|
9349
|
+
* @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
|
|
9350
|
+
*/
|
|
9351
|
+
readonly organizationId: string;
|
|
9267
9352
|
/** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
|
|
9268
9353
|
user?: {
|
|
9269
9354
|
/**
|