@meshery/schemas 0.8.89 → 0.8.90
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 +92 -92
- package/dist/cloudApi.d.ts +92 -92
- package/dist/index.d.mts +15975 -24740
- package/dist/index.d.ts +15975 -24740
- package/dist/index.js +30 -110
- package/dist/index.mjs +30 -110
- package/dist/mesheryApi.d.mts +444 -1212
- package/dist/mesheryApi.d.ts +444 -1212
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -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 a="Layer5-Current-Orgid";var g=react.fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(e,{getState:t})=>{let n=t().organization.value;return e.set(a,n==null?void 0:n.id),e}}),d=async(e,t,r)=>await g(e,t,r);react.createApi({baseQuery:d,tagTypes:[],endpoints:e=>({})});var o=react.createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:react.fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var c=["design_other","model_other","workspace_workspaces","environment_environments","evaluation_other"],l=o.enhanceEndpoints({addTagTypes:c}).injectEndpoints({endpoints:e=>({importDesign:e.mutation({query:t=>({url:"/api/pattern/import",method:"POST",body:t.body}),invalidatesTags:["design_other"]}),registerMeshmodels:e.mutation({query:t=>({url:"/api/meshmodels/register",method:"POST",body:t.body}),invalidatesTags:["model_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"]}),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"]})}),overrideExisting:false});var {useImportDesignMutation:v,useRegisterMeshmodelsMutation:h,useGetApiWorkspacesQuery:k,usePostApiWorkspacesMutation:f,useGetApiWorkspacesByIdQuery:A,usePutApiWorkspacesByIdMutation:_,useDeleteApiWorkspacesByIdMutation:x,useCreateEnvironmentMutation:R,useGetEnvironmentsQuery:C,usePostEvaluateMutation:w}=l;exports.addTagTypes=c;exports.mesheryApi=l;exports.useCreateEnvironmentMutation=R;exports.useDeleteApiWorkspacesByIdMutation=x;exports.useGetApiWorkspacesByIdQuery=A;exports.useGetApiWorkspacesQuery=k;exports.useGetEnvironmentsQuery=C;exports.useImportDesignMutation=v;exports.usePostApiWorkspacesMutation=f;exports.usePostEvaluateMutation=w;exports.usePutApiWorkspacesByIdMutation=_;exports.useRegisterMeshmodelsMutation=h;
|
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 a="Layer5-Current-Orgid";var g=fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(e,{getState:t})=>{let n=t().organization.value;return e.set(a,n==null?void 0:n.id),e}}),d=async(e,t,r)=>await g(e,t,r);createApi({baseQuery:d,tagTypes:[],endpoints:e=>({})});var o=createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var c=["design_other","model_other","workspace_workspaces","environment_environments","evaluation_other"],l=o.enhanceEndpoints({addTagTypes:c}).injectEndpoints({endpoints:e=>({importDesign:e.mutation({query:t=>({url:"/api/pattern/import",method:"POST",body:t.body}),invalidatesTags:["design_other"]}),registerMeshmodels:e.mutation({query:t=>({url:"/api/meshmodels/register",method:"POST",body:t.body}),invalidatesTags:["model_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"]}),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"]})}),overrideExisting:false});var {useImportDesignMutation:v,useRegisterMeshmodelsMutation:h,useGetApiWorkspacesQuery:k,usePostApiWorkspacesMutation:f,useGetApiWorkspacesByIdQuery:A,usePutApiWorkspacesByIdMutation:_,useDeleteApiWorkspacesByIdMutation:x,useCreateEnvironmentMutation:R,useGetEnvironmentsQuery:C,usePostEvaluateMutation:w}=l;export{c as addTagTypes,l as mesheryApi,R as useCreateEnvironmentMutation,x as useDeleteApiWorkspacesByIdMutation,A as useGetApiWorkspacesByIdQuery,k as useGetApiWorkspacesQuery,C as useGetEnvironmentsQuery,v as useImportDesignMutation,f as usePostApiWorkspacesMutation,w as usePostEvaluateMutation,_ as usePutApiWorkspacesByIdMutation,h 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.90",
|
|
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",
|