feat: change url structure to use short ids instead of full uuids
This commit is contained in:
@ -6,6 +6,7 @@ type ProjectPermission {
|
||||
|
||||
type Project {
|
||||
id: ID!
|
||||
shortId: String!
|
||||
createdAt: Time!
|
||||
name: String!
|
||||
team: Team
|
||||
|
@ -1,3 +1,12 @@
|
||||
extend type Query {
|
||||
findProject(input: FindProject!): Project!
|
||||
}
|
||||
|
||||
input FindProject {
|
||||
projectID: UUID
|
||||
projectShortID: String
|
||||
}
|
||||
|
||||
extend type Mutation {
|
||||
createProject(input: NewProject!): Project! @hasRole(roles: [ADMIN], level: TEAM, type: TEAM)
|
||||
deleteProject(input: DeleteProject!):
|
||||
|
Reference in New Issue
Block a user