@meshery/schemas 0.8.107 → 0.8.108
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 +294 -23
- package/dist/Core-Wy_3jcVT.d.mts +736 -0
- package/dist/Core-Wy_3jcVT.d.ts +736 -0
- package/dist/cloudApi.d.mts +6873 -3592
- package/dist/cloudApi.d.ts +6873 -3592
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/Capability.d.mts +115 -0
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +115 -0
- package/dist/constructs/v1alpha1/capability/Capability.js +1 -0
- package/dist/constructs/v1alpha1/capability/Capability.mjs +0 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +155 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +155 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +2 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +2 -0
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -0
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -0
- package/dist/constructs/v1alpha1/core/Core.js +1 -0
- package/dist/constructs/v1alpha1/core/Core.mjs +0 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1649 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1649 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.js +2 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +2 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.d.mts +46 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +46 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.js +1 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.mjs +0 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +80 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +80 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +2 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +2 -0
- package/dist/constructs/v1beta1/academy/Academy.d.mts +5762 -0
- package/dist/constructs/v1beta1/academy/Academy.d.ts +5762 -0
- package/dist/constructs/v1beta1/academy/Academy.js +1 -0
- package/dist/constructs/v1beta1/academy/Academy.mjs +0 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +11838 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +11838 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.js +2 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +2 -0
- package/dist/constructs/v1beta1/badge/Badge.d.mts +253 -0
- package/dist/constructs/v1beta1/badge/Badge.d.ts +253 -0
- package/dist/constructs/v1beta1/badge/Badge.js +1 -0
- package/dist/constructs/v1beta1/badge/Badge.mjs +0 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +519 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +519 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +2 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +2 -0
- package/dist/constructs/v1beta1/category/Category.d.mts +33 -0
- package/dist/constructs/v1beta1/category/Category.d.ts +33 -0
- package/dist/constructs/v1beta1/category/Category.js +1 -0
- package/dist/constructs/v1beta1/category/Category.mjs +0 -0
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +60 -0
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +60 -0
- package/dist/constructs/v1beta1/category/CategorySchema.js +2 -0
- package/dist/constructs/v1beta1/category/CategorySchema.mjs +2 -0
- package/dist/constructs/v1beta1/component/Component.d.mts +737 -0
- package/dist/constructs/v1beta1/component/Component.d.ts +737 -0
- package/dist/constructs/v1beta1/component/Component.js +1 -0
- package/dist/constructs/v1beta1/component/Component.mjs +0 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1751 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1751 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.js +10 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +10 -0
- package/dist/constructs/v1beta1/connection/Connection.d.mts +186 -0
- package/dist/constructs/v1beta1/connection/Connection.d.ts +186 -0
- package/dist/constructs/v1beta1/connection/Connection.js +1 -0
- package/dist/constructs/v1beta1/connection/Connection.mjs +0 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +612 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +612 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +2 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +2 -0
- package/dist/constructs/v1beta1/environment/Environment.d.mts +307 -0
- package/dist/constructs/v1beta1/environment/Environment.d.ts +307 -0
- package/dist/constructs/v1beta1/environment/Environment.js +1 -0
- package/dist/constructs/v1beta1/environment/Environment.mjs +0 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +904 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +904 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +2 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +2 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +5729 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5729 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.js +1 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.mjs +0 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +15473 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +15473 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +210 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +210 -0
- package/dist/constructs/v1beta1/event/Event.d.mts +177 -0
- package/dist/constructs/v1beta1/event/Event.d.ts +177 -0
- package/dist/constructs/v1beta1/event/Event.js +1 -0
- package/dist/constructs/v1beta1/event/Event.mjs +0 -0
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +360 -0
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +360 -0
- package/dist/constructs/v1beta1/event/EventSchema.js +1 -0
- package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -0
- package/dist/constructs/v1beta1/feature/Feature.d.mts +287 -0
- package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -0
- package/dist/constructs/v1beta1/feature/Feature.js +1 -0
- package/dist/constructs/v1beta1/feature/Feature.mjs +0 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +773 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +773 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -0
- package/dist/constructs/v1beta1/invitation/Invitation.d.mts +644 -0
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +644 -0
- package/dist/constructs/v1beta1/invitation/Invitation.js +1 -0
- package/dist/constructs/v1beta1/invitation/Invitation.mjs +0 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1652 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1652 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -0
- package/dist/constructs/v1beta1/key/Key.d.mts +409 -0
- package/dist/constructs/v1beta1/key/Key.d.ts +409 -0
- package/dist/constructs/v1beta1/key/Key.js +1 -0
- package/dist/constructs/v1beta1/key/Key.mjs +0 -0
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +1029 -0
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +1029 -0
- package/dist/constructs/v1beta1/key/KeySchema.js +1 -0
- package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -0
- package/dist/constructs/v1beta1/keychain/Keychain.d.mts +641 -0
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +641 -0
- package/dist/constructs/v1beta1/keychain/Keychain.js +1 -0
- package/dist/constructs/v1beta1/keychain/Keychain.mjs +0 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1541 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1541 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -0
- package/dist/constructs/v1beta1/model/Model.d.mts +474 -0
- package/dist/constructs/v1beta1/model/Model.d.ts +474 -0
- package/dist/constructs/v1beta1/model/Model.js +1 -0
- package/dist/constructs/v1beta1/model/Model.mjs +0 -0
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1281 -0
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1281 -0
- package/dist/constructs/v1beta1/model/ModelSchema.js +6 -0
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +6 -0
- package/dist/constructs/v1beta1/organization/Organization.d.mts +268 -0
- package/dist/constructs/v1beta1/organization/Organization.d.ts +268 -0
- package/dist/constructs/v1beta1/organization/Organization.js +1 -0
- package/dist/constructs/v1beta1/organization/Organization.mjs +0 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +765 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +765 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -0
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +5776 -0
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +5776 -0
- package/dist/constructs/v1beta1/pattern/Pattern.js +1 -0
- package/dist/constructs/v1beta1/pattern/Pattern.mjs +0 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +15669 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +15669 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +210 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +210 -0
- package/dist/constructs/v1beta1/plan/Plan.d.mts +120 -0
- package/dist/constructs/v1beta1/plan/Plan.d.ts +120 -0
- package/dist/constructs/v1beta1/plan/Plan.js +1 -0
- package/dist/constructs/v1beta1/plan/Plan.mjs +0 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +322 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +322 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.js +1 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.mjs +1 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.mts +23 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +23 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.js +1 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.mjs +0 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +33 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +33 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +2 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +2 -0
- package/dist/constructs/v1beta1/subscription/Subscription.d.mts +624 -0
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +624 -0
- package/dist/constructs/v1beta1/subscription/Subscription.js +1 -0
- package/dist/constructs/v1beta1/subscription/Subscription.mjs +0 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1642 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1642 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +2 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +2 -0
- package/dist/constructs/v1beta1/user/User.d.mts +473 -0
- package/dist/constructs/v1beta1/user/User.d.ts +473 -0
- package/dist/constructs/v1beta1/user/User.js +1 -0
- package/dist/constructs/v1beta1/user/User.mjs +0 -0
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +1112 -0
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +1112 -0
- package/dist/constructs/v1beta1/user/UserSchema.js +1 -0
- package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.mts +303 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +303 -0
- package/dist/constructs/v1beta1/workspace/Workspace.js +1 -0
- package/dist/constructs/v1beta1/workspace/Workspace.mjs +0 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +964 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +964 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -0
- package/dist/index.d.mts +40 -34677
- package/dist/index.d.ts +40 -34677
- package/dist/index.js +29 -93
- package/dist/index.mjs +29 -93
- package/dist/mesheryApi.d.mts +1751 -653
- package/dist/mesheryApi.d.ts +1751 -653
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/dist/permissions.d.mts +422 -0
- package/dist/permissions.d.ts +422 -0
- package/dist/permissions.js +1 -0
- package/dist/permissions.mjs +1 -0
- package/package.json +52 -48
package/dist/mesheryApi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
|
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 p=["design_other","environment_environments","evaluation_other","events_other","model_other","Organization_other","workspace_workspaces"],l=o.enhanceEndpoints({addTagTypes:p}).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"]}),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:v,useCreateEnvironmentMutation:h,useGetEnvironmentsQuery:k,usePostEvaluateMutation:f,useDeleteEventsByIdMutation:A,usePostEventsMutation:_,useDeleteEventsMutation:x,usePutEventsStatusMutation:R,usePutEventsByIdStatusMutation:w,useRegisterMeshmodelsMutation:C,useGetOrgByDomainQuery:E,useGetApiWorkspacesQuery:S,usePostApiWorkspacesMutation:I,useGetApiWorkspacesByIdQuery:D,usePutApiWorkspacesByIdMutation:P,useDeleteApiWorkspacesByIdMutation:T}=l;exports.addTagTypes=p;exports.mesheryApi=l;exports.useCreateEnvironmentMutation=h;exports.useDeleteApiWorkspacesByIdMutation=T;exports.useDeleteEventsByIdMutation=A;exports.useDeleteEventsMutation=x;exports.useGetApiWorkspacesByIdQuery=D;exports.useGetApiWorkspacesQuery=S;exports.useGetEnvironmentsQuery=k;exports.useGetOrgByDomainQuery=E;exports.useImportDesignMutation=v;exports.usePostApiWorkspacesMutation=I;exports.usePostEvaluateMutation=f;exports.usePostEventsMutation=_;exports.usePutApiWorkspacesByIdMutation=P;exports.usePutEventsByIdStatusMutation=w;exports.usePutEventsStatusMutation=R;exports.useRegisterMeshmodelsMutation=C;
|
package/dist/mesheryApi.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
|
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 p=["design_other","environment_environments","evaluation_other","events_other","model_other","Organization_other","workspace_workspaces"],l=o.enhanceEndpoints({addTagTypes:p}).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"]}),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:v,useCreateEnvironmentMutation:h,useGetEnvironmentsQuery:k,usePostEvaluateMutation:f,useDeleteEventsByIdMutation:A,usePostEventsMutation:_,useDeleteEventsMutation:x,usePutEventsStatusMutation:R,usePutEventsByIdStatusMutation:w,useRegisterMeshmodelsMutation:C,useGetOrgByDomainQuery:E,useGetApiWorkspacesQuery:S,usePostApiWorkspacesMutation:I,useGetApiWorkspacesByIdQuery:D,usePutApiWorkspacesByIdMutation:P,useDeleteApiWorkspacesByIdMutation:T}=l;export{p as addTagTypes,l as mesheryApi,h as useCreateEnvironmentMutation,T as useDeleteApiWorkspacesByIdMutation,A as useDeleteEventsByIdMutation,x as useDeleteEventsMutation,D as useGetApiWorkspacesByIdQuery,S as useGetApiWorkspacesQuery,k as useGetEnvironmentsQuery,E as useGetOrgByDomainQuery,v as useImportDesignMutation,I as usePostApiWorkspacesMutation,f as usePostEvaluateMutation,_ as usePostEventsMutation,P as usePutApiWorkspacesByIdMutation,w as usePutEventsByIdStatusMutation,R as usePutEventsStatusMutation,C as useRegisterMeshmodelsMutation};
|
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Permission key constants generated from permissions.csv
|
|
3
|
+
* This file is auto-generated - DO NOT EDIT MANUALLY.
|
|
4
|
+
* To regenerate, run: node build/generate-permissions-ts.js
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* A branded type representing a permission key UUID.
|
|
8
|
+
* This provides type safety while remaining compatible with string operations.
|
|
9
|
+
*/
|
|
10
|
+
type PermissionKey = string & {
|
|
11
|
+
readonly __brand: 'PermissionKey';
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Creates a PermissionKey from a UUID string.
|
|
15
|
+
* @param uuid - The UUID string to convert
|
|
16
|
+
* @returns The branded PermissionKey
|
|
17
|
+
*/
|
|
18
|
+
declare function createPermissionKey(uuid: string): PermissionKey;
|
|
19
|
+
/**
|
|
20
|
+
* Permission key constants.
|
|
21
|
+
* Each key represents a unique permission identified by its UUID.
|
|
22
|
+
*/
|
|
23
|
+
declare const PermissionKeys: {
|
|
24
|
+
/**
|
|
25
|
+
* Share design with anyone within your organization, and make your design easily accessible to all relevant team members.
|
|
26
|
+
*/
|
|
27
|
+
readonly CatalogShareDesign: PermissionKey;
|
|
28
|
+
/**
|
|
29
|
+
* Clone any published design to customise it according to your use cases
|
|
30
|
+
*/
|
|
31
|
+
readonly CatalogCloneDesign: PermissionKey;
|
|
32
|
+
/**
|
|
33
|
+
* View all public and published designs of other team members and private of signed-in user
|
|
34
|
+
*/
|
|
35
|
+
readonly DesignsViewDesigns: PermissionKey;
|
|
36
|
+
/**
|
|
37
|
+
* View all public and published filters of other team members and private of signed-in user
|
|
38
|
+
*/
|
|
39
|
+
readonly FiltersViewFilters: PermissionKey;
|
|
40
|
+
/**
|
|
41
|
+
* View the catalog publication request queue
|
|
42
|
+
*/
|
|
43
|
+
readonly CatalogRequestsViewCatalogRequests: PermissionKey;
|
|
44
|
+
/**
|
|
45
|
+
* Approve catalog publication requests
|
|
46
|
+
*/
|
|
47
|
+
readonly CatalogRequestsApproveCatalogRequest: PermissionKey;
|
|
48
|
+
/**
|
|
49
|
+
* Deny catalog publication requests
|
|
50
|
+
*/
|
|
51
|
+
readonly CatalogRequestsDenyCatalogRequest: PermissionKey;
|
|
52
|
+
/**
|
|
53
|
+
* Create new Meshery design
|
|
54
|
+
*/
|
|
55
|
+
readonly DesignsCreateNewDesign: PermissionKey;
|
|
56
|
+
/**
|
|
57
|
+
* Import a design
|
|
58
|
+
*/
|
|
59
|
+
readonly DesignsImportDesign: PermissionKey;
|
|
60
|
+
/**
|
|
61
|
+
* Publish a design
|
|
62
|
+
*/
|
|
63
|
+
readonly DesignsPublishDesign: PermissionKey;
|
|
64
|
+
/**
|
|
65
|
+
* Unpublish a design
|
|
66
|
+
*/
|
|
67
|
+
readonly DesignsUnpublishDesign: PermissionKey;
|
|
68
|
+
/**
|
|
69
|
+
* Validate a design
|
|
70
|
+
*/
|
|
71
|
+
readonly DesignsValidateDesign: PermissionKey;
|
|
72
|
+
/**
|
|
73
|
+
* Deploy a design
|
|
74
|
+
*/
|
|
75
|
+
readonly DesignsDeployDesign: PermissionKey;
|
|
76
|
+
/**
|
|
77
|
+
* Retract all resources used in a Meshery design from the cluster
|
|
78
|
+
*/
|
|
79
|
+
readonly DesignsUndeployDesign: PermissionKey;
|
|
80
|
+
/**
|
|
81
|
+
* Set design information or details of a design
|
|
82
|
+
*/
|
|
83
|
+
readonly DesignsDetailsOfDesign: PermissionKey;
|
|
84
|
+
/**
|
|
85
|
+
* Edit a design
|
|
86
|
+
*/
|
|
87
|
+
readonly DesignsEditDesign: PermissionKey;
|
|
88
|
+
/**
|
|
89
|
+
* Delete a design
|
|
90
|
+
*/
|
|
91
|
+
readonly DesignsDeleteADesign: PermissionKey;
|
|
92
|
+
/**
|
|
93
|
+
* Download a Meshery design in OCI or YAML format
|
|
94
|
+
*/
|
|
95
|
+
readonly DesignsDownloadADesign: PermissionKey;
|
|
96
|
+
/**
|
|
97
|
+
* Import a filter
|
|
98
|
+
*/
|
|
99
|
+
readonly FiltersImportFilter: PermissionKey;
|
|
100
|
+
/**
|
|
101
|
+
* Download a WASM filter
|
|
102
|
+
*/
|
|
103
|
+
readonly FiltersDownloadAWasmFilter: PermissionKey;
|
|
104
|
+
/**
|
|
105
|
+
* Check information or details of a WASM filter
|
|
106
|
+
*/
|
|
107
|
+
readonly FiltersDetailsOfWasmFilter: PermissionKey;
|
|
108
|
+
/**
|
|
109
|
+
* Edit WASM filter
|
|
110
|
+
*/
|
|
111
|
+
readonly FiltersEditWasmFilter: PermissionKey;
|
|
112
|
+
/**
|
|
113
|
+
* Clone WASM filter from catalog, which allows customizing filter and use it in design
|
|
114
|
+
*/
|
|
115
|
+
readonly FiltersCloneWasmFilter: PermissionKey;
|
|
116
|
+
/**
|
|
117
|
+
* Delete WASM filter permanently from catalog.
|
|
118
|
+
*/
|
|
119
|
+
readonly FiltersDeleteWasmFilter: PermissionKey;
|
|
120
|
+
/**
|
|
121
|
+
* Install or enable or disabble extensions in Meshery
|
|
122
|
+
*/
|
|
123
|
+
readonly ExtensionsInstallExtension: PermissionKey;
|
|
124
|
+
/**
|
|
125
|
+
* View all user preferences in Meshery UI
|
|
126
|
+
*/
|
|
127
|
+
readonly ExtensionsViewMesheryUserPreferences: PermissionKey;
|
|
128
|
+
/**
|
|
129
|
+
* View all extensions on the extension page
|
|
130
|
+
*/
|
|
131
|
+
readonly ExtensionsViewExtensions: PermissionKey;
|
|
132
|
+
/**
|
|
133
|
+
* View all configured Kubernetes clusters
|
|
134
|
+
*/
|
|
135
|
+
readonly UsersViewAllKubernetesClusters: PermissionKey;
|
|
136
|
+
/**
|
|
137
|
+
* See only teams to which you are a member. See all other members within those teams.
|
|
138
|
+
*/
|
|
139
|
+
readonly TeamsViewTeam: PermissionKey;
|
|
140
|
+
/**
|
|
141
|
+
* See all teams of which you are an administrator. See all members of those teams.
|
|
142
|
+
*/
|
|
143
|
+
readonly TeamsViewTeams: PermissionKey;
|
|
144
|
+
/**
|
|
145
|
+
* See all teams within an organization. See all members of all teams.
|
|
146
|
+
*/
|
|
147
|
+
readonly TeamsViewAllTeams: PermissionKey;
|
|
148
|
+
/**
|
|
149
|
+
* Directly create a new user account within a team.
|
|
150
|
+
*/
|
|
151
|
+
readonly TeamsAddUserToTeam: PermissionKey;
|
|
152
|
+
/**
|
|
153
|
+
* Send a request for a user to join a team.
|
|
154
|
+
*/
|
|
155
|
+
readonly TeamsInviteUserToTeam: PermissionKey;
|
|
156
|
+
/**
|
|
157
|
+
* Discontinue user membership of a team and team resources.
|
|
158
|
+
*/
|
|
159
|
+
readonly TeamsRemoveUserFromTeam: PermissionKey;
|
|
160
|
+
/**
|
|
161
|
+
* Establish new team for organizing groups of users and resource access.
|
|
162
|
+
*/
|
|
163
|
+
readonly TeamsCreateTeam: PermissionKey;
|
|
164
|
+
/**
|
|
165
|
+
* Dissolve a team and all user memberships. Leave associated resources intact.
|
|
166
|
+
*/
|
|
167
|
+
readonly TeamsDeleteTeam: PermissionKey;
|
|
168
|
+
/**
|
|
169
|
+
* Edit a team and add new members to it.
|
|
170
|
+
*/
|
|
171
|
+
readonly TeamsEditTeam: PermissionKey;
|
|
172
|
+
/**
|
|
173
|
+
* Remove roles from users in a team.
|
|
174
|
+
*/
|
|
175
|
+
readonly TeamsRemoveRolesFromTeamMembers: PermissionKey;
|
|
176
|
+
/**
|
|
177
|
+
* Assign roles to users in a team
|
|
178
|
+
*/
|
|
179
|
+
readonly TeamsAssignRolesToTeamMembers: PermissionKey;
|
|
180
|
+
/**
|
|
181
|
+
* This governs the team's invitation permissions, determining whether the team is allowed to extend invitations to new individuals to join through open invite link.
|
|
182
|
+
*/
|
|
183
|
+
readonly TeamsOpenTeamInvite: PermissionKey;
|
|
184
|
+
/**
|
|
185
|
+
* Establish new organization for organizing teams, users, and resource access.
|
|
186
|
+
*/
|
|
187
|
+
readonly OrganizationsCreateOrganization: PermissionKey;
|
|
188
|
+
/**
|
|
189
|
+
* Edit organiaztions and add teams to it
|
|
190
|
+
*/
|
|
191
|
+
readonly OrganizationsEditOrganization: PermissionKey;
|
|
192
|
+
/**
|
|
193
|
+
* Directly create a new user account within an organization.
|
|
194
|
+
*/
|
|
195
|
+
readonly OrganizationsAddUserToOrganization: PermissionKey;
|
|
196
|
+
/**
|
|
197
|
+
* Send a request for a user to join an organization.
|
|
198
|
+
*/
|
|
199
|
+
readonly OrganizationsInviteUserToOrganization: PermissionKey;
|
|
200
|
+
/**
|
|
201
|
+
* Discontinue user access to organization, teams and resources; cease billing accrual.
|
|
202
|
+
*/
|
|
203
|
+
readonly OrganizationsRemoveUserFromOrganization: PermissionKey;
|
|
204
|
+
/**
|
|
205
|
+
* Elevate or remove organization level administrative privileges.
|
|
206
|
+
*/
|
|
207
|
+
readonly OrganizationsPromoteOrDemoteUserToOrgAdmin: PermissionKey;
|
|
208
|
+
/**
|
|
209
|
+
* See only organizations to which you are a member. See all other members within your membership teams.
|
|
210
|
+
*/
|
|
211
|
+
readonly OrganizationsViewOrg: PermissionKey;
|
|
212
|
+
/**
|
|
213
|
+
* See all organizations of which you are an administrator. See all members of those organizations.
|
|
214
|
+
*/
|
|
215
|
+
readonly OrganizationsViewOrganizations: PermissionKey;
|
|
216
|
+
/**
|
|
217
|
+
* See all organizations within a Layer5 Cloud deployment. See all organizations, teams, and users.
|
|
218
|
+
*/
|
|
219
|
+
readonly OrganizationsViewAllOrganizations: PermissionKey;
|
|
220
|
+
/**
|
|
221
|
+
* Remove roles from users in an organization
|
|
222
|
+
*/
|
|
223
|
+
readonly OrganizationsRemoveRolesFromOrganizationMembers: PermissionKey;
|
|
224
|
+
/**
|
|
225
|
+
* Assign roles to users in an organization
|
|
226
|
+
*/
|
|
227
|
+
readonly OrganizationsAssignRolesToOrganizationMembers: PermissionKey;
|
|
228
|
+
/**
|
|
229
|
+
* Add Kubernetes cluster
|
|
230
|
+
*/
|
|
231
|
+
readonly ConnectionsAddCluster: PermissionKey;
|
|
232
|
+
/**
|
|
233
|
+
* Change connection state
|
|
234
|
+
*/
|
|
235
|
+
readonly ConnectionsChangeConnectionState: PermissionKey;
|
|
236
|
+
/**
|
|
237
|
+
* Clearing the database by clicking on the `Flush MeshSync`
|
|
238
|
+
*/
|
|
239
|
+
readonly ConnectionsFlushMeshsyncData: PermissionKey;
|
|
240
|
+
/**
|
|
241
|
+
* Register discovered Meshsync resource to change state to connection
|
|
242
|
+
*/
|
|
243
|
+
readonly ConnectionsRegisterDiscoveredMeshsyncResource: PermissionKey;
|
|
244
|
+
/**
|
|
245
|
+
* Delete a connection
|
|
246
|
+
*/
|
|
247
|
+
readonly ConnectionsDeleteAConnection: PermissionKey;
|
|
248
|
+
/**
|
|
249
|
+
* View settings in Meshery
|
|
250
|
+
*/
|
|
251
|
+
readonly SettingsViewSettings: PermissionKey;
|
|
252
|
+
/**
|
|
253
|
+
* Configure and connect to Meshery adapters
|
|
254
|
+
*/
|
|
255
|
+
readonly SettingsConnectAdapter: PermissionKey;
|
|
256
|
+
/**
|
|
257
|
+
* Configure and connect to metrics like Grafana and Promethues
|
|
258
|
+
*/
|
|
259
|
+
readonly SettingsConnectMetrics: PermissionKey;
|
|
260
|
+
/**
|
|
261
|
+
* View already configured metrics
|
|
262
|
+
*/
|
|
263
|
+
readonly SettingsViewMetrics: PermissionKey;
|
|
264
|
+
/**
|
|
265
|
+
* Explore entities within capabilities registry
|
|
266
|
+
*/
|
|
267
|
+
readonly SettingsViewRegistry: PermissionKey;
|
|
268
|
+
/**
|
|
269
|
+
* Add a new performace profile
|
|
270
|
+
*/
|
|
271
|
+
readonly PerformanceAddPerformaceProfile: PermissionKey;
|
|
272
|
+
/**
|
|
273
|
+
* Run a test on performance profile
|
|
274
|
+
*/
|
|
275
|
+
readonly PerformanceRunTest: PermissionKey;
|
|
276
|
+
/**
|
|
277
|
+
* View results of performance tests
|
|
278
|
+
*/
|
|
279
|
+
readonly PerformanceViewResults: PermissionKey;
|
|
280
|
+
/**
|
|
281
|
+
* Edit performance test
|
|
282
|
+
*/
|
|
283
|
+
readonly PerformanceEditPerformanceTest: PermissionKey;
|
|
284
|
+
/**
|
|
285
|
+
* Delete performance test
|
|
286
|
+
*/
|
|
287
|
+
readonly PerformanceDeletePerformanceTest: PermissionKey;
|
|
288
|
+
/**
|
|
289
|
+
* View all performance profiles
|
|
290
|
+
*/
|
|
291
|
+
readonly PerformanceViewPerformanceProfiles: PermissionKey;
|
|
292
|
+
/**
|
|
293
|
+
* This permission grants the user the ability to manage infrastructure life cycles within meshery. Meshery allows users to visualize, work on and manage various cloud native technologies.
|
|
294
|
+
*/
|
|
295
|
+
readonly CloudNativeInfrastructureLifecycleManageCloudNativeInfrastructureLifeCycle: PermissionKey;
|
|
296
|
+
/**
|
|
297
|
+
* Manage configuration for applications like EmojiVoto, HTTPBin, Image Hub, Istio Book Info
|
|
298
|
+
*/
|
|
299
|
+
readonly CloudNativeInfrastructureLifecycleManageCloudNativeInfrastructureConfiguration: PermissionKey;
|
|
300
|
+
/**
|
|
301
|
+
* Configure infrastructure with some predefined options like Automatic Sidecar injection, Envoy Filter, Policy
|
|
302
|
+
*/
|
|
303
|
+
readonly CloudNativeInfrastructureLifecycleApplyCloudNativeInfrastructureConfiguration: PermissionKey;
|
|
304
|
+
/**
|
|
305
|
+
* Validate cloud native infrastructure configuration against best practices like Analyze Running Configuration, SMI conformance
|
|
306
|
+
*/
|
|
307
|
+
readonly CloudNativeInfrastructureLifecycleValidateCloudNativeInfrastructureConfiguration: PermissionKey;
|
|
308
|
+
/**
|
|
309
|
+
* This permission grants the user the ability to apply custom configuration and customize existing configuration of thier cloud native infrastructure
|
|
310
|
+
*/
|
|
311
|
+
readonly CloudNativeInfrastructureLifecycleApplyCustomCloudNativeConfiguration: PermissionKey;
|
|
312
|
+
/**
|
|
313
|
+
* This permission grants the user the ability to deploy their infrastructure to a cluster through Meshery. Meshery allows users to visualize, work on and manage various cloud native technologies
|
|
314
|
+
*/
|
|
315
|
+
readonly CloudNativeInfrastructureLifecycleDeployCloudNativeInfrastructure: PermissionKey;
|
|
316
|
+
/**
|
|
317
|
+
* This permission grants the user the ability to undeploy their infrastructure from a cluster through Meshery. Meshery allows users to visualize, work on and manage various cloud native technologies
|
|
318
|
+
*/
|
|
319
|
+
readonly CloudNativeInfrastructureLifecycleUndeployCloudNativeInfrastructure: PermissionKey;
|
|
320
|
+
/**
|
|
321
|
+
* This permission grants the user the ability to view all cloud native infrastructure in Meshery. Meshery allows users to visualize, work on and manage various cloud native technologies.
|
|
322
|
+
*/
|
|
323
|
+
readonly CloudNativeInfrastructureLifecycleViewCloudNativeInfrastructure: PermissionKey;
|
|
324
|
+
/**
|
|
325
|
+
* View all connections within an environment
|
|
326
|
+
*/
|
|
327
|
+
readonly ConnectionsViewConnections: PermissionKey;
|
|
328
|
+
/**
|
|
329
|
+
* See all environments within an workspace.
|
|
330
|
+
*/
|
|
331
|
+
readonly EnvironmentsViewEnvironment: PermissionKey;
|
|
332
|
+
/**
|
|
333
|
+
* Create a new environment
|
|
334
|
+
*/
|
|
335
|
+
readonly EnvironmentsCreateEnvironment: PermissionKey;
|
|
336
|
+
/**
|
|
337
|
+
* Dissolve environment and all connection memberships. Leave associated resources intact.
|
|
338
|
+
*/
|
|
339
|
+
readonly EnvironmentsDeleteEnvironment: PermissionKey;
|
|
340
|
+
/**
|
|
341
|
+
* Edit environment and it connection membership
|
|
342
|
+
*/
|
|
343
|
+
readonly EnvironmentsEditEnvironment: PermissionKey;
|
|
344
|
+
/**
|
|
345
|
+
* Add new connections to environments
|
|
346
|
+
*/
|
|
347
|
+
readonly EnvironmentsAssignConnectionsToEnvironment: PermissionKey;
|
|
348
|
+
/**
|
|
349
|
+
* Remove connections from environment,
|
|
350
|
+
*/
|
|
351
|
+
readonly EnvironmentsRemoveConnectionsFromEnvironments: PermissionKey;
|
|
352
|
+
/**
|
|
353
|
+
* View all items in catalog
|
|
354
|
+
*/
|
|
355
|
+
readonly CatalogViewCatalog: PermissionKey;
|
|
356
|
+
/**
|
|
357
|
+
* See all workspaces within an organization
|
|
358
|
+
*/
|
|
359
|
+
readonly WorkspaceViewWorkspace: PermissionKey;
|
|
360
|
+
/**
|
|
361
|
+
* Dissolve workspace and all team and environment memberships. Leave associated resources intact
|
|
362
|
+
*/
|
|
363
|
+
readonly WorkspaceDeleteWorkspace: PermissionKey;
|
|
364
|
+
/**
|
|
365
|
+
* Edit workspace and it's team and environment membership
|
|
366
|
+
*/
|
|
367
|
+
readonly WorkspaceEditWorkspace: PermissionKey;
|
|
368
|
+
/**
|
|
369
|
+
* Create new workspace
|
|
370
|
+
*/
|
|
371
|
+
readonly WorkspaceCreateWorkspace: PermissionKey;
|
|
372
|
+
/**
|
|
373
|
+
* Add new team to workspace
|
|
374
|
+
*/
|
|
375
|
+
readonly WorkspaceAssignTeamToWorkspace: PermissionKey;
|
|
376
|
+
/**
|
|
377
|
+
* Remove team from workspace
|
|
378
|
+
*/
|
|
379
|
+
readonly WorkspaceRemoveTeamFromWorkspace: PermissionKey;
|
|
380
|
+
/**
|
|
381
|
+
* Add new environment to workspace
|
|
382
|
+
*/
|
|
383
|
+
readonly WorkspaceAssignEnvironmentToWorkspace: PermissionKey;
|
|
384
|
+
/**
|
|
385
|
+
* Remove environment from workspace
|
|
386
|
+
*/
|
|
387
|
+
readonly WorkspaceRemoveEnvironmentFromWorkspace: PermissionKey;
|
|
388
|
+
/**
|
|
389
|
+
* Assign designs to workspaces
|
|
390
|
+
*/
|
|
391
|
+
readonly WorkspaceAssignDesignsToWorkspaces: PermissionKey;
|
|
392
|
+
/**
|
|
393
|
+
* Remove designs from workspaces
|
|
394
|
+
*/
|
|
395
|
+
readonly WorkspaceRemoveDesignsFromWorkspaces: PermissionKey;
|
|
396
|
+
/**
|
|
397
|
+
* Reset Meshery database
|
|
398
|
+
*/
|
|
399
|
+
readonly SettingsResetDatabase: PermissionKey;
|
|
400
|
+
/**
|
|
401
|
+
* View and assess the performance of learners and of your organization's academy content.
|
|
402
|
+
*/
|
|
403
|
+
readonly AdministrationAccessTheAcademyConsole: PermissionKey;
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* Type representing all valid permission key names.
|
|
407
|
+
*/
|
|
408
|
+
type PermissionKeyName = keyof typeof PermissionKeys;
|
|
409
|
+
/**
|
|
410
|
+
* Type representing all valid permission key values.
|
|
411
|
+
*/
|
|
412
|
+
type PermissionKeyValue = typeof PermissionKeys[PermissionKeyName];
|
|
413
|
+
/**
|
|
414
|
+
* Array of all permission keys for iteration.
|
|
415
|
+
*/
|
|
416
|
+
declare const AllPermissionKeys: PermissionKey[];
|
|
417
|
+
/**
|
|
418
|
+
* Array of all permission key names for iteration.
|
|
419
|
+
*/
|
|
420
|
+
declare const AllPermissionKeyNames: ("CatalogShareDesign" | "CatalogCloneDesign" | "DesignsViewDesigns" | "FiltersViewFilters" | "CatalogRequestsViewCatalogRequests" | "CatalogRequestsApproveCatalogRequest" | "CatalogRequestsDenyCatalogRequest" | "DesignsCreateNewDesign" | "DesignsImportDesign" | "DesignsPublishDesign" | "DesignsUnpublishDesign" | "DesignsValidateDesign" | "DesignsDeployDesign" | "DesignsUndeployDesign" | "DesignsDetailsOfDesign" | "DesignsEditDesign" | "DesignsDeleteADesign" | "DesignsDownloadADesign" | "FiltersImportFilter" | "FiltersDownloadAWasmFilter" | "FiltersDetailsOfWasmFilter" | "FiltersEditWasmFilter" | "FiltersCloneWasmFilter" | "FiltersDeleteWasmFilter" | "ExtensionsInstallExtension" | "ExtensionsViewMesheryUserPreferences" | "ExtensionsViewExtensions" | "UsersViewAllKubernetesClusters" | "TeamsViewTeam" | "TeamsViewTeams" | "TeamsViewAllTeams" | "TeamsAddUserToTeam" | "TeamsInviteUserToTeam" | "TeamsRemoveUserFromTeam" | "TeamsCreateTeam" | "TeamsDeleteTeam" | "TeamsEditTeam" | "TeamsRemoveRolesFromTeamMembers" | "TeamsAssignRolesToTeamMembers" | "TeamsOpenTeamInvite" | "OrganizationsCreateOrganization" | "OrganizationsEditOrganization" | "OrganizationsAddUserToOrganization" | "OrganizationsInviteUserToOrganization" | "OrganizationsRemoveUserFromOrganization" | "OrganizationsPromoteOrDemoteUserToOrgAdmin" | "OrganizationsViewOrg" | "OrganizationsViewOrganizations" | "OrganizationsViewAllOrganizations" | "OrganizationsRemoveRolesFromOrganizationMembers" | "OrganizationsAssignRolesToOrganizationMembers" | "ConnectionsAddCluster" | "ConnectionsChangeConnectionState" | "ConnectionsFlushMeshsyncData" | "ConnectionsRegisterDiscoveredMeshsyncResource" | "ConnectionsDeleteAConnection" | "SettingsViewSettings" | "SettingsConnectAdapter" | "SettingsConnectMetrics" | "SettingsViewMetrics" | "SettingsViewRegistry" | "PerformanceAddPerformaceProfile" | "PerformanceRunTest" | "PerformanceViewResults" | "PerformanceEditPerformanceTest" | "PerformanceDeletePerformanceTest" | "PerformanceViewPerformanceProfiles" | "CloudNativeInfrastructureLifecycleManageCloudNativeInfrastructureLifeCycle" | "CloudNativeInfrastructureLifecycleManageCloudNativeInfrastructureConfiguration" | "CloudNativeInfrastructureLifecycleApplyCloudNativeInfrastructureConfiguration" | "CloudNativeInfrastructureLifecycleValidateCloudNativeInfrastructureConfiguration" | "CloudNativeInfrastructureLifecycleApplyCustomCloudNativeConfiguration" | "CloudNativeInfrastructureLifecycleDeployCloudNativeInfrastructure" | "CloudNativeInfrastructureLifecycleUndeployCloudNativeInfrastructure" | "CloudNativeInfrastructureLifecycleViewCloudNativeInfrastructure" | "ConnectionsViewConnections" | "EnvironmentsViewEnvironment" | "EnvironmentsCreateEnvironment" | "EnvironmentsDeleteEnvironment" | "EnvironmentsEditEnvironment" | "EnvironmentsAssignConnectionsToEnvironment" | "EnvironmentsRemoveConnectionsFromEnvironments" | "CatalogViewCatalog" | "WorkspaceViewWorkspace" | "WorkspaceDeleteWorkspace" | "WorkspaceEditWorkspace" | "WorkspaceCreateWorkspace" | "WorkspaceAssignTeamToWorkspace" | "WorkspaceRemoveTeamFromWorkspace" | "WorkspaceAssignEnvironmentToWorkspace" | "WorkspaceRemoveEnvironmentFromWorkspace" | "WorkspaceAssignDesignsToWorkspaces" | "WorkspaceRemoveDesignsFromWorkspaces" | "SettingsResetDatabase" | "AdministrationAccessTheAcademyConsole")[];
|
|
421
|
+
|
|
422
|
+
export { AllPermissionKeyNames, AllPermissionKeys, type PermissionKey, type PermissionKeyName, type PermissionKeyValue, PermissionKeys, createPermissionKey };
|