@meshery/schemas 0.8.119 → 0.8.121
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/api.d.mts +3 -9
- package/dist/api.d.ts +3 -9
- package/dist/api.js +2 -2
- package/dist/api.mjs +2 -2
- package/dist/cloudApi.d.mts +999 -998
- package/dist/cloudApi.d.ts +999 -998
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +628 -0
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +628 -0
- package/dist/constructs/v1alpha3/relationship/Relationship.js +1 -0
- package/dist/constructs/v1alpha3/relationship/Relationship.mjs +0 -0
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1934 -0
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1934 -0
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +46 -0
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +46 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +46 -2
- package/dist/index.mjs +46 -2
- package/dist/mesheryApi.d.mts +120 -120
- package/dist/mesheryApi.d.ts +120 -120
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +2 -1
package/dist/mesheryApi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var react=require('@reduxjs/toolkit/query/react');var
|
|
1
|
+
'use strict';var react=require('@reduxjs/toolkit/query/react');var p="Layer5-Current-Orgid";var s,c=(s=process.env.RTK_CLOUD_ENDPOINT_PREFIX)!=null?s:"",o,l=(o=process.env.RTK_MESHERY_ENDPOINT_PREFIX)!=null?o:"",m=react.fetchBaseQuery({baseUrl:c,credentials:"include",prepareHeaders:(e,{getState:t})=>{var i;let n=(i=t().organization)==null?void 0:i.value,r=n==null?void 0:n.id;return r&&e.set(p,r),e}});react.createApi({reducerPath:"cloudRtkSchemasApi",baseQuery:m,tagTypes:[],endpoints:()=>({})});var d=react.createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:react.fetchBaseQuery({baseUrl:l,credentials:"include"}),tagTypes:[],endpoints:()=>({})});var u=["design_other","environment_environments","evaluation_other","events_other","key_users","model_other","Organization_other","workspace_workspaces"],y=d.enhanceEndpoints({addTagTypes:u}).injectEndpoints({endpoints:e=>({importDesign:e.mutation({query:t=>({url:"/api/pattern/import",method:"POST",body:t.body}),invalidatesTags:["design_other"]}),createEnvironment:e.mutation({query:t=>({url:"/api/environments",method:"POST",body:t.body}),invalidatesTags:["environment_environments"]}),getEnvironments:e.query({query:t=>({url:"/api/environments",params:{search:t.search,order:t.order,page:t.page,pagesize:t.pagesize,orgID:t.orgId}}),providesTags:["environment_environments"]}),postEvaluate:e.mutation({query:t=>({url:"/evaluate",method:"POST",body:t.body}),invalidatesTags:["evaluation_other"]}),deleteEventsById:e.mutation({query:t=>({url:`/events/${t.id}`,method:"DELETE"}),invalidatesTags:["events_other"]}),postEvents:e.mutation({query:t=>({url:"/events",method:"POST",body:t.body}),invalidatesTags:["events_other"]}),deleteEvents:e.mutation({query:t=>({url:"/events",method:"DELETE",body:t.body}),invalidatesTags:["events_other"]}),putEventsStatus:e.mutation({query:t=>({url:"/events/status",method:"PUT",body:t.body}),invalidatesTags:["events_other"]}),putEventsByIdStatus:e.mutation({query:t=>({url:`/events/${t.id}/status`,method:"PUT",body:t.body}),invalidatesTags:["events_other"]}),getUserKeys:e.query({query:t=>({url:`/api/identity/orgs/${t.orgId}/users/keys`}),providesTags:["key_users"]}),registerMeshmodels:e.mutation({query:t=>({url:"/api/meshmodels/register",method:"POST",body:t.body}),invalidatesTags:["model_other"]}),getOrgByDomain:e.query({query:t=>({url:"/api/identity/orgs/by-domain",params:{domain:t.domain}}),providesTags:["Organization_other"]}),getApiWorkspaces:e.query({query:()=>({url:"/api/workspaces"}),providesTags:["workspace_workspaces"]}),postApiWorkspaces:e.mutation({query:t=>({url:"/api/workspaces",method:"POST",body:t.body}),invalidatesTags:["workspace_workspaces"]}),getApiWorkspacesById:e.query({query:t=>({url:`/api/workspaces/${t.id}`}),providesTags:["workspace_workspaces"]}),putApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"PUT",body:t.body}),invalidatesTags:["workspace_workspaces"]}),deleteApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"DELETE"}),invalidatesTags:["workspace_workspaces"]})}),overrideExisting:false});var {useImportDesignMutation:R,useCreateEnvironmentMutation:w,useGetEnvironmentsQuery:C,usePostEvaluateMutation:S,useDeleteEventsByIdMutation:E,usePostEventsMutation:I,useDeleteEventsMutation:D,usePutEventsStatusMutation:P,usePutEventsByIdStatusMutation:T,useGetUserKeysQuery:B,useRegisterMeshmodelsMutation:N,useGetOrgByDomainQuery:z,useGetApiWorkspacesQuery:M,usePostApiWorkspacesMutation:W,useGetApiWorkspacesByIdQuery:O,usePutApiWorkspacesByIdMutation:G,useDeleteApiWorkspacesByIdMutation:U}=y;exports.addTagTypes=u;exports.mesheryApi=y;exports.useCreateEnvironmentMutation=w;exports.useDeleteApiWorkspacesByIdMutation=U;exports.useDeleteEventsByIdMutation=E;exports.useDeleteEventsMutation=D;exports.useGetApiWorkspacesByIdQuery=O;exports.useGetApiWorkspacesQuery=M;exports.useGetEnvironmentsQuery=C;exports.useGetOrgByDomainQuery=z;exports.useGetUserKeysQuery=B;exports.useImportDesignMutation=R;exports.usePostApiWorkspacesMutation=W;exports.usePostEvaluateMutation=S;exports.usePostEventsMutation=I;exports.usePutApiWorkspacesByIdMutation=G;exports.usePutEventsByIdStatusMutation=T;exports.usePutEventsStatusMutation=P;exports.useRegisterMeshmodelsMutation=N;
|
package/dist/mesheryApi.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var
|
|
1
|
+
import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var p="Layer5-Current-Orgid";var s,c=(s=process.env.RTK_CLOUD_ENDPOINT_PREFIX)!=null?s:"",o,l=(o=process.env.RTK_MESHERY_ENDPOINT_PREFIX)!=null?o:"",m=fetchBaseQuery({baseUrl:c,credentials:"include",prepareHeaders:(e,{getState:t})=>{var i;let n=(i=t().organization)==null?void 0:i.value,r=n==null?void 0:n.id;return r&&e.set(p,r),e}});createApi({reducerPath:"cloudRtkSchemasApi",baseQuery:m,tagTypes:[],endpoints:()=>({})});var d=createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:fetchBaseQuery({baseUrl:l,credentials:"include"}),tagTypes:[],endpoints:()=>({})});var u=["design_other","environment_environments","evaluation_other","events_other","key_users","model_other","Organization_other","workspace_workspaces"],y=d.enhanceEndpoints({addTagTypes:u}).injectEndpoints({endpoints:e=>({importDesign:e.mutation({query:t=>({url:"/api/pattern/import",method:"POST",body:t.body}),invalidatesTags:["design_other"]}),createEnvironment:e.mutation({query:t=>({url:"/api/environments",method:"POST",body:t.body}),invalidatesTags:["environment_environments"]}),getEnvironments:e.query({query:t=>({url:"/api/environments",params:{search:t.search,order:t.order,page:t.page,pagesize:t.pagesize,orgID:t.orgId}}),providesTags:["environment_environments"]}),postEvaluate:e.mutation({query:t=>({url:"/evaluate",method:"POST",body:t.body}),invalidatesTags:["evaluation_other"]}),deleteEventsById:e.mutation({query:t=>({url:`/events/${t.id}`,method:"DELETE"}),invalidatesTags:["events_other"]}),postEvents:e.mutation({query:t=>({url:"/events",method:"POST",body:t.body}),invalidatesTags:["events_other"]}),deleteEvents:e.mutation({query:t=>({url:"/events",method:"DELETE",body:t.body}),invalidatesTags:["events_other"]}),putEventsStatus:e.mutation({query:t=>({url:"/events/status",method:"PUT",body:t.body}),invalidatesTags:["events_other"]}),putEventsByIdStatus:e.mutation({query:t=>({url:`/events/${t.id}/status`,method:"PUT",body:t.body}),invalidatesTags:["events_other"]}),getUserKeys:e.query({query:t=>({url:`/api/identity/orgs/${t.orgId}/users/keys`}),providesTags:["key_users"]}),registerMeshmodels:e.mutation({query:t=>({url:"/api/meshmodels/register",method:"POST",body:t.body}),invalidatesTags:["model_other"]}),getOrgByDomain:e.query({query:t=>({url:"/api/identity/orgs/by-domain",params:{domain:t.domain}}),providesTags:["Organization_other"]}),getApiWorkspaces:e.query({query:()=>({url:"/api/workspaces"}),providesTags:["workspace_workspaces"]}),postApiWorkspaces:e.mutation({query:t=>({url:"/api/workspaces",method:"POST",body:t.body}),invalidatesTags:["workspace_workspaces"]}),getApiWorkspacesById:e.query({query:t=>({url:`/api/workspaces/${t.id}`}),providesTags:["workspace_workspaces"]}),putApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"PUT",body:t.body}),invalidatesTags:["workspace_workspaces"]}),deleteApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"DELETE"}),invalidatesTags:["workspace_workspaces"]})}),overrideExisting:false});var {useImportDesignMutation:R,useCreateEnvironmentMutation:w,useGetEnvironmentsQuery:C,usePostEvaluateMutation:S,useDeleteEventsByIdMutation:E,usePostEventsMutation:I,useDeleteEventsMutation:D,usePutEventsStatusMutation:P,usePutEventsByIdStatusMutation:T,useGetUserKeysQuery:B,useRegisterMeshmodelsMutation:N,useGetOrgByDomainQuery:z,useGetApiWorkspacesQuery:M,usePostApiWorkspacesMutation:W,useGetApiWorkspacesByIdQuery:O,usePutApiWorkspacesByIdMutation:G,useDeleteApiWorkspacesByIdMutation:U}=y;export{u as addTagTypes,y as mesheryApi,w as useCreateEnvironmentMutation,U as useDeleteApiWorkspacesByIdMutation,E as useDeleteEventsByIdMutation,D as useDeleteEventsMutation,O as useGetApiWorkspacesByIdQuery,M as useGetApiWorkspacesQuery,C as useGetEnvironmentsQuery,z as useGetOrgByDomainQuery,B as useGetUserKeysQuery,R as useImportDesignMutation,W as usePostApiWorkspacesMutation,S as usePostEvaluateMutation,I as usePostEventsMutation,G as usePutApiWorkspacesByIdMutation,T as usePutEventsByIdStatusMutation,P as usePutEventsStatusMutation,N as useRegisterMeshmodelsMutation};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshery/schemas",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.121",
|
|
4
4
|
"description": "<p style=\"text-align:center;\" align=\"center\"><a href=\"https://meshery.io\"><picture> <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-light-text-side.svg\"> <source media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-dark-text-side.svg\"> <img src=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-dark-text-side.svg\" alt=\"Meshery Logo\" width=\"70%\" /></picture></a><br /><br /></p> <p align=\"center\"> <a href=\"https://hub.docker.com/r/meshery/meshery\" alt=\"Docker pulls\"> <img src=\"https://img.shields.io/docker/pulls/meshery/meshery.svg\" /></a> <a href=\"https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+org%meshery+org%3Ameshery+org%3Aservice-mesh-performance+org%3Aservice-mesh-patterns+org%3A+label%3A%22help+wanted%22+\" alt=\"GitHub issues by-label\"> <img src=\"https://img.shields.io/github/issues/meshery/meshery/help%20wanted.svg?color=informational\" /></a> <a href=\"https://github.com/meshery/meshery/blob/master/LICENSE\" alt=\"LICENSE\"> <img src=\"https://img.shields.io/github/license/meshery/meshery?color=brightgreen\" /></a> <a href=\"https://artifacthub.io/packages/helm/meshery/meshery\" alt=\"Artifact Hub Meshery\"> <img src=\"https://img.shields.io/endpoint?color=brightgreen&label=Helm%20Chart&style=plastic&url=https%3A%2F%2Fartifacthub.io%2Fbadge%2Frepository%2Fartifact-hub\" /></a> <a href=\"https://goreportcard.com/report/github.com/meshery/meshery\" alt=\"Go Report Card\"> <img src=\"https://goreportcard.com/badge/github.com/meshery/meshery\" /></a> <a href=\"https://github.com/meshery/meshery/actions\" alt=\"Build Status\"> <img src=\"https://img.shields.io/github/actions/workflow/status/meshery/meshery/release-drafter.yml\" /></a> <a href=\"https://bestpractices.coreinfrastructure.org/projects/3564\" alt=\"CLI Best Practices\"> <img src=\"https://bestpractices.coreinfrastructure.org/projects/3564/badge\" /></a> <a href=\"http://discuss.meshery.io\" alt=\"Discuss Users\"> <img src=\"https://img.shields.io/discourse/users?label=discuss&logo=discourse&server=https%3A%2F%2Fdiscuss.meshery.io\" /></a> <a href=\"https://slack.meshery.io\" alt=\"Join Slack\"> <img src=\"https://img.shields.io/badge/Slack-@meshery.svg?logo=slack\" /></a> <a href=\"https://twitter.com/intent/follow?screen_name=mesheryio\" alt=\"Twitter Follow\"> <img src=\"https://img.shields.io/twitter/follow/mesheryio.svg?label=Follow+Meshery&style=social\" /></a> <a href=\"https://github.com/meshery/meshery/releases\" alt=\"Meshery Downloads\"> <img src=\"https://img.shields.io/github/downloads/meshery/meshery/total\" /></a> <!-- <a href=\"https://app.fossa.com/projects/git%2Bgithub.com%2Fmeshery%2Fmeshery?ref=badge_shield\" alt=\"License Scan Report\"> <img src=\"https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmeshery%2Fmeshery.svg?type=shield\"/></a> --> </p>",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@apidevtools/json-schema-ref-parser": "^15.2.0",
|
|
36
36
|
"@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0",
|
|
37
|
+
"@reduxjs/toolkit": "^2.8.1",
|
|
37
38
|
"@rtk-query/codegen-openapi": "^2.2.0",
|
|
38
39
|
"csv-parse": "^6.1.0",
|
|
39
40
|
"esbuild-runner": "^2.2.2",
|