Files
portfolio/api/src/graphql/portrait.sdl.ts
Ahmed Al-Taiar 0283c293ef
All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 39s
An attempt to fix the PDF iframe not loading properly when the API domain is third-partyBasic printer CRUD
2025-04-06 18:08:05 -04:00

20 lines
324 B
TypeScript
Executable File

export const schema = gql`
type Portrait {
id: Int!
fileId: URL!
}
type Query {
portrait: Portrait @skipAuth
}
input CreatePortraitInput {
fileId: URL!
}
type Mutation {
createPortrait(input: CreatePortraitInput!): Portrait! @requireAuth
deletePortrait: Portrait! @requireAuth
}
`