mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
adding zenstack.
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
current_date=$(date +"%Y-%m-%d")
|
current_date=$(date +"%Y-%m-%d")
|
||||||
|
npx zenstack generate
|
||||||
npx prisma migrate dev --name $current_date
|
npx prisma migrate dev --name $current_date
|
||||||
|
|
||||||
npm run dev
|
npm run dev
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
!/bin/bash
|
!/bin/bash
|
||||||
|
|
||||||
|
npx zenstack generate
|
||||||
npx prisma migrate deploy
|
npx prisma migrate deploy
|
||||||
node server.js
|
node server.js
|
||||||
|
|
||||||
|
|||||||
@@ -132,6 +132,7 @@ model Project {
|
|||||||
updatedAt DateTime? @updatedAt() @map("updated_at")
|
updatedAt DateTime? @updatedAt() @map("updated_at")
|
||||||
slug String @unique()
|
slug String @unique()
|
||||||
name String
|
name String
|
||||||
|
isArchived Boolean @default(false) @map("is_archived")
|
||||||
organizationId String @map("organization_id")
|
organizationId String @map("organization_id")
|
||||||
organization Organization @relation(fields: [organizationId], references: [id])
|
organization Organization @relation(fields: [organizationId], references: [id])
|
||||||
databases Database[]
|
databases Database[]
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ model UserOrganization extends Base {
|
|||||||
model Project extends Base {
|
model Project extends Base {
|
||||||
slug String @unique
|
slug String @unique
|
||||||
name String
|
name String
|
||||||
|
isArchived Boolean @map("is_archived") @default(false)
|
||||||
|
|
||||||
organizationId String @map("organization_id")
|
organizationId String @map("organization_id")
|
||||||
organization Organization @relation(fields: [organizationId], references: [id])
|
organization Organization @relation(fields: [organizationId], references: [id])
|
||||||
|
|||||||
+2
-2
@@ -29,7 +29,7 @@ export const deleteProjectAction = userAction
|
|||||||
value: project,
|
value: project,
|
||||||
actionSuccess: {
|
actionSuccess: {
|
||||||
message: "Projects has been successfully archived.",
|
message: "Projects has been successfully archived.",
|
||||||
messageParams: {projectName: parsedInput.data.name},
|
messageParams: {projectId: parsedInput},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -39,7 +39,7 @@ export const deleteProjectAction = userAction
|
|||||||
message: "Failed to archived Projects.",
|
message: "Failed to archived Projects.",
|
||||||
status: 500, // Optional: Use a meaningful status code
|
status: 500, // Optional: Use a meaningful status code
|
||||||
cause: error instanceof Error ? error.message : "Unknown error",
|
cause: error instanceof Error ? error.message : "Unknown error",
|
||||||
messageParams: {projectName: parsedInput.data.name},
|
messageParams: {projectId: parsedInput},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -377,6 +377,10 @@ const metadata = {
|
|||||||
}, name: {
|
}, name: {
|
||||||
name: "name",
|
name: "name",
|
||||||
type: "String",
|
type: "String",
|
||||||
|
}, isArchived: {
|
||||||
|
name: "isArchived",
|
||||||
|
type: "Boolean",
|
||||||
|
attributes: [{ "name": "@default", "args": [{ "value": false }] }],
|
||||||
}, organizationId: {
|
}, organizationId: {
|
||||||
name: "organizationId",
|
name: "organizationId",
|
||||||
type: "String",
|
type: "String",
|
||||||
|
|||||||
@@ -328,7 +328,7 @@ export function useSuspenseCountProject<TArgs extends Prisma.ProjectCountArgs, T
|
|||||||
return useSuspenseModelQuery<TQueryFnData, TData, TError>('Project', `${endpoint}/project/count`, args, options, fetch);
|
return useSuspenseModelQuery<TQueryFnData, TData, TError>('Project', `${endpoint}/project/count`, args, options, fetch);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function useCheckProject<TError = DefaultError>(args: { operation: PolicyCrudKind; where?: { id?: string; slug?: string; name?: string; organizationId?: string }; }, options?: (Omit<UseQueryOptions<boolean, TError, boolean>, 'queryKey'> & ExtraQueryOptions)) {
|
export function useCheckProject<TError = DefaultError>(args: { operation: PolicyCrudKind; where?: { id?: string; slug?: string; name?: string; isArchived?: boolean; organizationId?: string }; }, options?: (Omit<UseQueryOptions<boolean, TError, boolean>, 'queryKey'> & ExtraQueryOptions)) {
|
||||||
const { endpoint, fetch } = getHooksContext();
|
const { endpoint, fetch } = getHooksContext();
|
||||||
return useModelQuery<boolean, boolean, TError>('Project', `${endpoint}/project/check`, args, options, fetch);
|
return useModelQuery<boolean, boolean, TError>('Project', `${endpoint}/project/check`, args, options, fetch);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ components:
|
|||||||
- updatedAt
|
- updatedAt
|
||||||
- slug
|
- slug
|
||||||
- name
|
- name
|
||||||
|
- isArchived
|
||||||
- organizationId
|
- organizationId
|
||||||
AgentScalarFieldEnum:
|
AgentScalarFieldEnum:
|
||||||
type: string
|
type: string
|
||||||
@@ -452,6 +453,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
type: string
|
type: string
|
||||||
organization:
|
organization:
|
||||||
@@ -465,6 +468,7 @@ components:
|
|||||||
- createdAt
|
- createdAt
|
||||||
- slug
|
- slug
|
||||||
- name
|
- name
|
||||||
|
- isArchived
|
||||||
- organizationId
|
- organizationId
|
||||||
- organization
|
- organization
|
||||||
Agent:
|
Agent:
|
||||||
@@ -1957,6 +1961,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StringFilter"
|
- $ref: "#/components/schemas/StringFilter"
|
||||||
- type: string
|
- type: string
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- $ref: "#/components/schemas/BoolFilter"
|
||||||
|
- type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StringFilter"
|
- $ref: "#/components/schemas/StringFilter"
|
||||||
@@ -1982,6 +1990,8 @@ components:
|
|||||||
$ref: "#/components/schemas/SortOrder"
|
$ref: "#/components/schemas/SortOrder"
|
||||||
name:
|
name:
|
||||||
$ref: "#/components/schemas/SortOrder"
|
$ref: "#/components/schemas/SortOrder"
|
||||||
|
isArchived:
|
||||||
|
$ref: "#/components/schemas/SortOrder"
|
||||||
organizationId:
|
organizationId:
|
||||||
$ref: "#/components/schemas/SortOrder"
|
$ref: "#/components/schemas/SortOrder"
|
||||||
organization:
|
organization:
|
||||||
@@ -2026,6 +2036,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StringFilter"
|
- $ref: "#/components/schemas/StringFilter"
|
||||||
- type: string
|
- type: string
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- $ref: "#/components/schemas/BoolFilter"
|
||||||
|
- type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StringFilter"
|
- $ref: "#/components/schemas/StringFilter"
|
||||||
@@ -2078,6 +2092,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StringWithAggregatesFilter"
|
- $ref: "#/components/schemas/StringWithAggregatesFilter"
|
||||||
- type: string
|
- type: string
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- $ref: "#/components/schemas/BoolWithAggregatesFilter"
|
||||||
|
- type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StringWithAggregatesFilter"
|
- $ref: "#/components/schemas/StringWithAggregatesFilter"
|
||||||
@@ -4119,6 +4137,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
organization:
|
organization:
|
||||||
$ref: "#/components/schemas/OrganizationCreateNestedOneWithoutProjectsInput"
|
$ref: "#/components/schemas/OrganizationCreateNestedOneWithoutProjectsInput"
|
||||||
databases:
|
databases:
|
||||||
@@ -4153,6 +4173,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- type: string
|
- type: string
|
||||||
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/BoolFieldUpdateOperationsInput"
|
||||||
organization:
|
organization:
|
||||||
$ref: "#/components/schemas/OrganizationUpdateOneRequiredWithoutProjectsNestedI\
|
$ref: "#/components/schemas/OrganizationUpdateOneRequiredWithoutProjectsNestedI\
|
||||||
nput"
|
nput"
|
||||||
@@ -4175,6 +4199,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
@@ -4207,6 +4233,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- type: string
|
- type: string
|
||||||
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/BoolFieldUpdateOperationsInput"
|
||||||
AgentCreateInput:
|
AgentCreateInput:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -5587,6 +5617,15 @@ components:
|
|||||||
required:
|
required:
|
||||||
- userId
|
- userId
|
||||||
- organizationId
|
- organizationId
|
||||||
|
BoolFilter:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
equals:
|
||||||
|
type: boolean
|
||||||
|
not:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/NestedBoolFilter"
|
||||||
DatabaseListRelationFilter:
|
DatabaseListRelationFilter:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -5601,6 +5640,21 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
_count:
|
_count:
|
||||||
$ref: "#/components/schemas/SortOrder"
|
$ref: "#/components/schemas/SortOrder"
|
||||||
|
BoolWithAggregatesFilter:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
equals:
|
||||||
|
type: boolean
|
||||||
|
not:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/NestedBoolWithAggregatesFilter"
|
||||||
|
_count:
|
||||||
|
$ref: "#/components/schemas/NestedIntFilter"
|
||||||
|
_min:
|
||||||
|
$ref: "#/components/schemas/NestedBoolFilter"
|
||||||
|
_max:
|
||||||
|
$ref: "#/components/schemas/NestedBoolFilter"
|
||||||
EnumDbmsFilter:
|
EnumDbmsFilter:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -7030,6 +7084,11 @@ components:
|
|||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/DatabaseWhereUniqueInput"
|
$ref: "#/components/schemas/DatabaseWhereUniqueInput"
|
||||||
|
BoolFieldUpdateOperationsInput:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
set:
|
||||||
|
type: boolean
|
||||||
OrganizationUpdateOneRequiredWithoutProjectsNestedInput:
|
OrganizationUpdateOneRequiredWithoutProjectsNestedInput:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -8553,6 +8612,30 @@ components:
|
|||||||
$ref: "#/components/schemas/NestedBoolNullableFilter"
|
$ref: "#/components/schemas/NestedBoolNullableFilter"
|
||||||
_max:
|
_max:
|
||||||
$ref: "#/components/schemas/NestedBoolNullableFilter"
|
$ref: "#/components/schemas/NestedBoolNullableFilter"
|
||||||
|
NestedBoolFilter:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
equals:
|
||||||
|
type: boolean
|
||||||
|
not:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/NestedBoolFilter"
|
||||||
|
NestedBoolWithAggregatesFilter:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
equals:
|
||||||
|
type: boolean
|
||||||
|
not:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/NestedBoolWithAggregatesFilter"
|
||||||
|
_count:
|
||||||
|
$ref: "#/components/schemas/NestedIntFilter"
|
||||||
|
_min:
|
||||||
|
$ref: "#/components/schemas/NestedBoolFilter"
|
||||||
|
_max:
|
||||||
|
$ref: "#/components/schemas/NestedBoolFilter"
|
||||||
NestedEnumDbmsFilter:
|
NestedEnumDbmsFilter:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -9770,6 +9853,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
databases:
|
databases:
|
||||||
$ref: "#/components/schemas/DatabaseCreateNestedManyWithoutProjectInput"
|
$ref: "#/components/schemas/DatabaseCreateNestedManyWithoutProjectInput"
|
||||||
required:
|
required:
|
||||||
@@ -9792,6 +9877,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
databases:
|
databases:
|
||||||
$ref: "#/components/schemas/DatabaseUncheckedCreateNestedManyWithoutProjectInpu\
|
$ref: "#/components/schemas/DatabaseUncheckedCreateNestedManyWithoutProjectInpu\
|
||||||
t"
|
t"
|
||||||
@@ -9966,6 +10053,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StringFilter"
|
- $ref: "#/components/schemas/StringFilter"
|
||||||
- type: string
|
- type: string
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- $ref: "#/components/schemas/BoolFilter"
|
||||||
|
- type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StringFilter"
|
- $ref: "#/components/schemas/StringFilter"
|
||||||
@@ -11199,6 +11290,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
organization:
|
organization:
|
||||||
$ref: "#/components/schemas/OrganizationCreateNestedOneWithoutProjectsInput"
|
$ref: "#/components/schemas/OrganizationCreateNestedOneWithoutProjectsInput"
|
||||||
required:
|
required:
|
||||||
@@ -11222,6 +11315,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
@@ -11570,6 +11665,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- type: string
|
- type: string
|
||||||
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/BoolFieldUpdateOperationsInput"
|
||||||
organization:
|
organization:
|
||||||
$ref: "#/components/schemas/OrganizationUpdateOneRequiredWithoutProjectsNestedI\
|
$ref: "#/components/schemas/OrganizationUpdateOneRequiredWithoutProjectsNestedI\
|
||||||
nput"
|
nput"
|
||||||
@@ -11599,6 +11698,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- type: string
|
- type: string
|
||||||
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/BoolFieldUpdateOperationsInput"
|
||||||
organizationId:
|
organizationId:
|
||||||
oneOf:
|
oneOf:
|
||||||
- type: string
|
- type: string
|
||||||
@@ -12843,6 +12946,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- slug
|
- slug
|
||||||
- name
|
- name
|
||||||
@@ -12889,6 +12994,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- type: string
|
- type: string
|
||||||
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/BoolFieldUpdateOperationsInput"
|
||||||
databases:
|
databases:
|
||||||
$ref: "#/components/schemas/DatabaseUpdateManyWithoutProjectNestedInput"
|
$ref: "#/components/schemas/DatabaseUpdateManyWithoutProjectNestedInput"
|
||||||
ProjectUncheckedUpdateWithoutOrganizationInput:
|
ProjectUncheckedUpdateWithoutOrganizationInput:
|
||||||
@@ -12917,6 +13026,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- type: string
|
- type: string
|
||||||
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/BoolFieldUpdateOperationsInput"
|
||||||
databases:
|
databases:
|
||||||
$ref: "#/components/schemas/DatabaseUncheckedUpdateManyWithoutProjectNestedInpu\
|
$ref: "#/components/schemas/DatabaseUncheckedUpdateManyWithoutProjectNestedInpu\
|
||||||
t"
|
t"
|
||||||
@@ -12946,6 +13059,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- type: string
|
- type: string
|
||||||
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
- $ref: "#/components/schemas/StringFieldUpdateOperationsInput"
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- type: boolean
|
||||||
|
- $ref: "#/components/schemas/BoolFieldUpdateOperationsInput"
|
||||||
UserOrganizationUpdateWithoutOrganizationInput:
|
UserOrganizationUpdateWithoutOrganizationInput:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -14193,6 +14310,8 @@ components:
|
|||||||
type: boolean
|
type: boolean
|
||||||
name:
|
name:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
type: boolean
|
type: boolean
|
||||||
organization:
|
organization:
|
||||||
@@ -14733,6 +14852,8 @@ components:
|
|||||||
type: boolean
|
type: boolean
|
||||||
name:
|
name:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
type: boolean
|
type: boolean
|
||||||
_all:
|
_all:
|
||||||
@@ -14750,6 +14871,8 @@ components:
|
|||||||
type: boolean
|
type: boolean
|
||||||
name:
|
name:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
type: boolean
|
type: boolean
|
||||||
ProjectMaxAggregateInput:
|
ProjectMaxAggregateInput:
|
||||||
@@ -14765,6 +14888,8 @@ components:
|
|||||||
type: boolean
|
type: boolean
|
||||||
name:
|
name:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
type: boolean
|
type: boolean
|
||||||
AgentCountAggregateInput:
|
AgentCountAggregateInput:
|
||||||
@@ -15508,6 +15633,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
isArchived:
|
||||||
|
type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
type: string
|
type: string
|
||||||
_count:
|
_count:
|
||||||
@@ -15527,6 +15654,7 @@ components:
|
|||||||
- createdAt
|
- createdAt
|
||||||
- slug
|
- slug
|
||||||
- name
|
- name
|
||||||
|
- isArchived
|
||||||
- organizationId
|
- organizationId
|
||||||
AggregateAgent:
|
AggregateAgent:
|
||||||
type: object
|
type: object
|
||||||
@@ -16509,6 +16637,8 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
name:
|
name:
|
||||||
type: integer
|
type: integer
|
||||||
|
isArchived:
|
||||||
|
type: integer
|
||||||
organizationId:
|
organizationId:
|
||||||
type: integer
|
type: integer
|
||||||
_all:
|
_all:
|
||||||
@@ -16519,6 +16649,7 @@ components:
|
|||||||
- updatedAt
|
- updatedAt
|
||||||
- slug
|
- slug
|
||||||
- name
|
- name
|
||||||
|
- isArchived
|
||||||
- organizationId
|
- organizationId
|
||||||
- _all
|
- _all
|
||||||
ProjectMinAggregateOutputType:
|
ProjectMinAggregateOutputType:
|
||||||
@@ -16546,6 +16677,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- type: "null"
|
- type: "null"
|
||||||
- type: string
|
- type: string
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- type: "null"
|
||||||
|
- type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
oneOf:
|
oneOf:
|
||||||
- type: "null"
|
- type: "null"
|
||||||
@@ -16575,6 +16710,10 @@ components:
|
|||||||
oneOf:
|
oneOf:
|
||||||
- type: "null"
|
- type: "null"
|
||||||
- type: string
|
- type: string
|
||||||
|
isArchived:
|
||||||
|
oneOf:
|
||||||
|
- type: "null"
|
||||||
|
- type: boolean
|
||||||
organizationId:
|
organizationId:
|
||||||
oneOf:
|
oneOf:
|
||||||
- type: "null"
|
- type: "null"
|
||||||
|
|||||||
Reference in New Issue
Block a user