@meshery/schemas 1.3.120 → 1.3.122

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 CHANGED
@@ -151,6 +151,11 @@ schemas/
151
151
  <construct>/ # Generated client per pilot construct
152
152
  tests/ # Hand-maintained pytest suites
153
153
 
154
+ rust/ # meshery-schemas crate (commit regenerated output when a bundled pilot spec changes)
155
+ Cargo.toml, Cargo.lock # Hand-maintained scaffold (crate identity, dependencies, features)
156
+ src/lib.rs # Hand-maintained scaffold (declares the construct modules)
157
+ src/<construct>/ # Generated models (types/) and async client (mod.rs) per pilot construct
158
+ tests/ # Hand-maintained cargo integration tests
154
159
  dist/ # Built distribution (do NOT commit)
155
160
  index.js, index.d.ts
156
161
  cloudApi.js, mesheryApi.js
@@ -498,6 +503,7 @@ Meshery supports **automated code generation** from schemas for:
498
503
  * **TypeScript Schemas**: OpenAPI schemas as const JS objects → `typescript/generated/<version>/<package>/<Package>Schema.ts`
499
504
  * **RTK Query**: Clients generated from OpenAPI for use with Redux → `typescript/rtk/`
500
505
  * **Python**: Typed clients generated from OpenAPI (pilot: key construct) → `python/generated/` (`meshery-schemas` distribution)
506
+ * **Rust**: Models and a typed async client generated from OpenAPI with progenitor (pilot: key construct) → `rust/` (`meshery-schemas` crate)
501
507
  * **JSON/YAML**: Templates with defaults and resolved references.
502
508
 
503
509
  ### TypeScript Schema Exports
@@ -668,7 +668,7 @@ export interface components {
668
668
  * @description A connection kind that names a publishing destination. A connection of this kind carries the destination's absolute https URL in `metadata.url` and references its secret through `credentialId`. The `kind` field itself remains an open-ended string.
669
669
  * @enum {string}
670
670
  */
671
- DestinationKind: "linkedin" | "x" | "reddit" | "hn" | "slack" | "bluesky" | "github" | "blog";
671
+ DestinationKind: "linkedin" | "x" | "reddit" | "hn" | "slack" | "bluesky" | "github" | "blog" | "youtube" | "tiktok" | "instagram" | "facebook";
672
672
  /** @description A connection definition is an uninitialized connection, authored per-model (in a model's `connections/` folder) and registered into the registry alongside components and relationships. It conforms to the connection schema; the dynamic, kind-specific shape is carried in `metadata`. The `model` association scopes the definition to its owning model. */
673
673
  ConnectionDefinition: unknown;
674
674
  /** @description Represents a page of connection definitions with meta information about the total count */
@@ -3673,6 +3673,15 @@ export interface operations {
3673
3673
  "text/plain": string;
3674
3674
  };
3675
3675
  };
3676
+ /** @description Internal server error */
3677
+ 500: {
3678
+ headers: {
3679
+ [name: string]: unknown;
3680
+ };
3681
+ content: {
3682
+ "text/plain": string;
3683
+ };
3684
+ };
3676
3685
  };
3677
3686
  };
3678
3687
  getConnectionById: {
@@ -5805,6 +5814,15 @@ export interface operations {
5805
5814
  };
5806
5815
  };
5807
5816
  };
5817
+ /** @description Invalid request body or request param */
5818
+ 400: {
5819
+ headers: {
5820
+ [name: string]: unknown;
5821
+ };
5822
+ content: {
5823
+ "text/plain": string;
5824
+ };
5825
+ };
5808
5826
  /** @description Expired JWT token used or insufficient privilege */
5809
5827
  401: {
5810
5828
  headers: {