Skip to content

Commit

Permalink
0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sebt3 committed Feb 16, 2024
1 parent fec0399 commit 90e7aef
Show file tree
Hide file tree
Showing 70 changed files with 26,249 additions and 23,290 deletions.
2 changes: 2 additions & 0 deletions back/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ const typeDefs = gqlWrapper(
importGraphQL('certmanager.graphql'),
importGraphQL('opentelemetry.graphql'),
importGraphQL('jaegertracing.graphql'),
importGraphQL('cattle.graphql'),
importGraphQL('cilium.graphql'),
);

interface MyContext {
Expand Down
4 changes: 3 additions & 1 deletion back/resolvers/k8s/custom.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
// noGramoGenerator
import { resolvers as nsResolvers } from './nsResolvers.js';
import { queries as perms } from './permissions.js';
import { resolvers as NSresolvers } from './Namespace.js'
export const queries = {};
export const mutations = {};
export const resolvers = {
k8sNamespace: {
permissions: async (parent, args: object) => {
return perms.permissionReview(parent,{namespace: parent.metadata.name, ...args})
},
...nsResolvers
...nsResolvers,
...NSresolvers.k8sNamespace,
}
};

Loading

0 comments on commit 90e7aef

Please sign in to comment.