Files
speckle-server/packages/server/test/graphql/embedTokens.ts
T
Chuck Driesler aa29a09ebc feat(tokens): create embed-specific tokens (#5013)
* feat(tokens): create embed-specific tokens

* fix(tokens): repo functions and policy sketch

* chore(authz): embed token policies and tests

* chore(authz): fine

* chore(gql): lint descriptions

* fix(embedTokens): better api surface, repo structure

* chore(embedTokens): test fixes

* fix(embeds): check resource access

* fix(embeds): use resource access util
2025-07-07 12:02:38 +01:00

12 lines
235 B
TypeScript

import gql from 'graphql-tag'
export const createEmbedTokenMutation = gql`
mutation CreateEmbedToken($token: EmbedTokenCreateInput!) {
projectMutations {
createEmbedToken(token: $token) {
token
}
}
}
`