zenstack/packages/server/test/openapi/baseline/rpc.baseline.yaml
Yiming Cao 026450bfe7
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
fix(orm): make orderBy nulls optional (#2670)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 12:13:11 -07:00

14898 lines
675 KiB
YAML

openapi: 3.1.0
info:
title: ZenStack Generated API
version: 1.0.0
tags:
- name: user
description: User operations
- name: profile
description: Profile operations
- name: post
description: Post operations
- name: comment
description: Comment operations
- name: setting
description: Setting operations
paths:
/user/findMany:
get:
tags:
- user
summary: List User entities
operationId: user_findMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/User"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for User.findMany
content:
application/json:
schema:
$ref: "#/components/schemas/UserFindManyArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/user/findUnique:
get:
tags:
- user
summary: Find a unique User
operationId: user_findUnique
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
anyOf:
- $ref: "#/components/schemas/User"
- type: "null"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for User.findUnique
content:
application/json:
schema:
$ref: "#/components/schemas/UserFindUniqueArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/user/findFirst:
get:
tags:
- user
summary: Find the first User
operationId: user_findFirst
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
anyOf:
- $ref: "#/components/schemas/User"
- type: "null"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for User.findFirst
content:
application/json:
schema:
$ref: "#/components/schemas/UserFindFirstArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/user/create:
post:
tags:
- user
summary: Create a User
operationId: user_create
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/User"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/UserCreateArgs"
/user/createMany:
post:
tags:
- user
summary: Create multiple User entities
operationId: user_createMany
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/UserCreateManyArgs"
/user/createManyAndReturn:
post:
tags:
- user
summary: Create multiple Users and return them
operationId: user_createManyAndReturn
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/User"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/UserCreateManyAndReturnArgs"
/user/update:
put:
tags:
- user
summary: Update a User
operationId: user_update
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/User"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/UserUpdateArgs"
/user/updateMany:
put:
tags:
- user
summary: Update multiple User entities
operationId: user_updateMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/UserUpdateManyArgs"
/user/updateManyAndReturn:
put:
tags:
- user
summary: Update multiple User entities and return them
operationId: user_updateManyAndReturn
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/User"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/UserUpdateManyAndReturnArgs"
/user/upsert:
post:
tags:
- user
summary: Upsert a User
operationId: user_upsert
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/User"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/UserUpsertArgs"
/user/delete:
delete:
tags:
- user
summary: Delete a User
operationId: user_delete
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/User"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for User.delete
content:
application/json:
schema:
$ref: "#/components/schemas/UserDeleteArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/user/deleteMany:
delete:
tags:
- user
summary: Delete multiple User entities
operationId: user_deleteMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for User.deleteMany
content:
application/json:
schema:
$ref: "#/components/schemas/UserDeleteManyArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/user/count:
get:
tags:
- user
summary: User.count
operationId: user_count
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for User.count
content:
application/json:
schema:
$ref: "#/components/schemas/UserCountArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/user/aggregate:
get:
tags:
- user
summary: User.aggregate
operationId: user_aggregate
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for User.aggregate
content:
application/json:
schema:
$ref: "#/components/schemas/UserAggregateArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/user/groupBy:
get:
tags:
- user
summary: User.groupBy
operationId: user_groupBy
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for User.groupBy
content:
application/json:
schema:
$ref: "#/components/schemas/UserGroupByArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/user/exists:
get:
tags:
- user
summary: Check User existence
operationId: user_exists
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: boolean
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for User.exists
content:
application/json:
schema:
$ref: "#/components/schemas/UserExistsArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/profile/findMany:
get:
tags:
- profile
summary: List Profile entities
operationId: profile_findMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Profile"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Profile.findMany
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileFindManyArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/profile/findUnique:
get:
tags:
- profile
summary: Find a unique Profile
operationId: profile_findUnique
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
anyOf:
- $ref: "#/components/schemas/Profile"
- type: "null"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Profile.findUnique
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileFindUniqueArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/profile/findFirst:
get:
tags:
- profile
summary: Find the first Profile
operationId: profile_findFirst
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
anyOf:
- $ref: "#/components/schemas/Profile"
- type: "null"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Profile.findFirst
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileFindFirstArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/profile/create:
post:
tags:
- profile
summary: Create a Profile
operationId: profile_create
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Profile"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileCreateArgs"
/profile/createMany:
post:
tags:
- profile
summary: Create multiple Profile entities
operationId: profile_createMany
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileCreateManyArgs"
/profile/createManyAndReturn:
post:
tags:
- profile
summary: Create multiple Profiles and return them
operationId: profile_createManyAndReturn
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Profile"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileCreateManyAndReturnArgs"
/profile/update:
put:
tags:
- profile
summary: Update a Profile
operationId: profile_update
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Profile"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileUpdateArgs"
/profile/updateMany:
put:
tags:
- profile
summary: Update multiple Profile entities
operationId: profile_updateMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileUpdateManyArgs"
/profile/updateManyAndReturn:
put:
tags:
- profile
summary: Update multiple Profile entities and return them
operationId: profile_updateManyAndReturn
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Profile"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileUpdateManyAndReturnArgs"
/profile/upsert:
post:
tags:
- profile
summary: Upsert a Profile
operationId: profile_upsert
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Profile"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileUpsertArgs"
/profile/delete:
delete:
tags:
- profile
summary: Delete a Profile
operationId: profile_delete
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Profile"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Profile.delete
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileDeleteArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/profile/deleteMany:
delete:
tags:
- profile
summary: Delete multiple Profile entities
operationId: profile_deleteMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Profile.deleteMany
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileDeleteManyArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/profile/count:
get:
tags:
- profile
summary: Profile.count
operationId: profile_count
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Profile.count
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileCountArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/profile/aggregate:
get:
tags:
- profile
summary: Profile.aggregate
operationId: profile_aggregate
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Profile.aggregate
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileAggregateArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/profile/groupBy:
get:
tags:
- profile
summary: Profile.groupBy
operationId: profile_groupBy
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Profile.groupBy
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileGroupByArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/profile/exists:
get:
tags:
- profile
summary: Check Profile existence
operationId: profile_exists
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: boolean
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Profile.exists
content:
application/json:
schema:
$ref: "#/components/schemas/ProfileExistsArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/post/findMany:
get:
tags:
- post
summary: List Post entities
operationId: post_findMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Post"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Post.findMany
content:
application/json:
schema:
$ref: "#/components/schemas/PostFindManyArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/post/findUnique:
get:
tags:
- post
summary: Find a unique Post
operationId: post_findUnique
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
anyOf:
- $ref: "#/components/schemas/Post"
- type: "null"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Post.findUnique
content:
application/json:
schema:
$ref: "#/components/schemas/PostFindUniqueArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/post/findFirst:
get:
tags:
- post
summary: Find the first Post
operationId: post_findFirst
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
anyOf:
- $ref: "#/components/schemas/Post"
- type: "null"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Post.findFirst
content:
application/json:
schema:
$ref: "#/components/schemas/PostFindFirstArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/post/create:
post:
tags:
- post
summary: Create a Post
operationId: post_create
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Post"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/PostCreateArgs"
/post/createMany:
post:
tags:
- post
summary: Create multiple Post entities
operationId: post_createMany
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/PostCreateManyArgs"
/post/createManyAndReturn:
post:
tags:
- post
summary: Create multiple Posts and return them
operationId: post_createManyAndReturn
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Post"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/PostCreateManyAndReturnArgs"
/post/update:
put:
tags:
- post
summary: Update a Post
operationId: post_update
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Post"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/PostUpdateArgs"
/post/updateMany:
put:
tags:
- post
summary: Update multiple Post entities
operationId: post_updateMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/PostUpdateManyArgs"
/post/updateManyAndReturn:
put:
tags:
- post
summary: Update multiple Post entities and return them
operationId: post_updateManyAndReturn
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Post"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/PostUpdateManyAndReturnArgs"
/post/upsert:
post:
tags:
- post
summary: Upsert a Post
operationId: post_upsert
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Post"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/PostUpsertArgs"
/post/delete:
delete:
tags:
- post
summary: Delete a Post
operationId: post_delete
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Post"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Post.delete
content:
application/json:
schema:
$ref: "#/components/schemas/PostDeleteArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/post/deleteMany:
delete:
tags:
- post
summary: Delete multiple Post entities
operationId: post_deleteMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Post.deleteMany
content:
application/json:
schema:
$ref: "#/components/schemas/PostDeleteManyArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/post/count:
get:
tags:
- post
summary: Post.count
operationId: post_count
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Post.count
content:
application/json:
schema:
$ref: "#/components/schemas/PostCountArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/post/aggregate:
get:
tags:
- post
summary: Post.aggregate
operationId: post_aggregate
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Post.aggregate
content:
application/json:
schema:
$ref: "#/components/schemas/PostAggregateArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/post/groupBy:
get:
tags:
- post
summary: Post.groupBy
operationId: post_groupBy
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Post.groupBy
content:
application/json:
schema:
$ref: "#/components/schemas/PostGroupByArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/post/exists:
get:
tags:
- post
summary: Check Post existence
operationId: post_exists
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: boolean
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Post.exists
content:
application/json:
schema:
$ref: "#/components/schemas/PostExistsArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/comment/findMany:
get:
tags:
- comment
summary: List Comment entities
operationId: comment_findMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Comment"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Comment.findMany
content:
application/json:
schema:
$ref: "#/components/schemas/CommentFindManyArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/comment/findUnique:
get:
tags:
- comment
summary: Find a unique Comment
operationId: comment_findUnique
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
anyOf:
- $ref: "#/components/schemas/Comment"
- type: "null"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Comment.findUnique
content:
application/json:
schema:
$ref: "#/components/schemas/CommentFindUniqueArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/comment/findFirst:
get:
tags:
- comment
summary: Find the first Comment
operationId: comment_findFirst
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
anyOf:
- $ref: "#/components/schemas/Comment"
- type: "null"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Comment.findFirst
content:
application/json:
schema:
$ref: "#/components/schemas/CommentFindFirstArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/comment/create:
post:
tags:
- comment
summary: Create a Comment
operationId: comment_create
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Comment"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/CommentCreateArgs"
/comment/createMany:
post:
tags:
- comment
summary: Create multiple Comment entities
operationId: comment_createMany
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/CommentCreateManyArgs"
/comment/createManyAndReturn:
post:
tags:
- comment
summary: Create multiple Comments and return them
operationId: comment_createManyAndReturn
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Comment"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/CommentCreateManyAndReturnArgs"
/comment/update:
put:
tags:
- comment
summary: Update a Comment
operationId: comment_update
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Comment"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/CommentUpdateArgs"
/comment/updateMany:
put:
tags:
- comment
summary: Update multiple Comment entities
operationId: comment_updateMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/CommentUpdateManyArgs"
/comment/updateManyAndReturn:
put:
tags:
- comment
summary: Update multiple Comment entities and return them
operationId: comment_updateManyAndReturn
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Comment"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/CommentUpdateManyAndReturnArgs"
/comment/upsert:
post:
tags:
- comment
summary: Upsert a Comment
operationId: comment_upsert
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Comment"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/CommentUpsertArgs"
/comment/delete:
delete:
tags:
- comment
summary: Delete a Comment
operationId: comment_delete
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Comment"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Comment.delete
content:
application/json:
schema:
$ref: "#/components/schemas/CommentDeleteArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/comment/deleteMany:
delete:
tags:
- comment
summary: Delete multiple Comment entities
operationId: comment_deleteMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Comment.deleteMany
content:
application/json:
schema:
$ref: "#/components/schemas/CommentDeleteManyArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/comment/count:
get:
tags:
- comment
summary: Comment.count
operationId: comment_count
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Comment.count
content:
application/json:
schema:
$ref: "#/components/schemas/CommentCountArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/comment/aggregate:
get:
tags:
- comment
summary: Comment.aggregate
operationId: comment_aggregate
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Comment.aggregate
content:
application/json:
schema:
$ref: "#/components/schemas/CommentAggregateArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/comment/groupBy:
get:
tags:
- comment
summary: Comment.groupBy
operationId: comment_groupBy
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Comment.groupBy
content:
application/json:
schema:
$ref: "#/components/schemas/CommentGroupByArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/comment/exists:
get:
tags:
- comment
summary: Check Comment existence
operationId: comment_exists
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: boolean
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Comment.exists
content:
application/json:
schema:
$ref: "#/components/schemas/CommentExistsArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/setting/findMany:
get:
tags:
- setting
summary: List Setting entities
operationId: setting_findMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Setting"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Setting.findMany
content:
application/json:
schema:
$ref: "#/components/schemas/SettingFindManyArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/setting/findUnique:
get:
tags:
- setting
summary: Find a unique Setting
operationId: setting_findUnique
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
anyOf:
- $ref: "#/components/schemas/Setting"
- type: "null"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Setting.findUnique
content:
application/json:
schema:
$ref: "#/components/schemas/SettingFindUniqueArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/setting/findFirst:
get:
tags:
- setting
summary: Find the first Setting
operationId: setting_findFirst
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
anyOf:
- $ref: "#/components/schemas/Setting"
- type: "null"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Setting.findFirst
content:
application/json:
schema:
$ref: "#/components/schemas/SettingFindFirstArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/setting/create:
post:
tags:
- setting
summary: Create a Setting
operationId: setting_create
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Setting"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/SettingCreateArgs"
/setting/createMany:
post:
tags:
- setting
summary: Create multiple Setting entities
operationId: setting_createMany
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/SettingCreateManyArgs"
/setting/createManyAndReturn:
post:
tags:
- setting
summary: Create multiple Settings and return them
operationId: setting_createManyAndReturn
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Setting"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/SettingCreateManyAndReturnArgs"
/setting/update:
put:
tags:
- setting
summary: Update a Setting
operationId: setting_update
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Setting"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/SettingUpdateArgs"
/setting/updateMany:
put:
tags:
- setting
summary: Update multiple Setting entities
operationId: setting_updateMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/SettingUpdateManyArgs"
/setting/updateManyAndReturn:
put:
tags:
- setting
summary: Update multiple Setting entities and return them
operationId: setting_updateManyAndReturn
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Setting"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/SettingUpdateManyAndReturnArgs"
/setting/upsert:
post:
tags:
- setting
summary: Upsert a Setting
operationId: setting_upsert
responses:
"201":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Setting"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/SettingUpsertArgs"
/setting/delete:
delete:
tags:
- setting
summary: Delete a Setting
operationId: setting_delete
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Setting"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Setting.delete
content:
application/json:
schema:
$ref: "#/components/schemas/SettingDeleteArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/setting/deleteMany:
delete:
tags:
- setting
summary: Delete multiple Setting entities
operationId: setting_deleteMany
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
count:
type: integer
required:
- count
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Setting.deleteMany
content:
application/json:
schema:
$ref: "#/components/schemas/SettingDeleteManyArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/setting/count:
get:
tags:
- setting
summary: Setting.count
operationId: setting_count
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Setting.count
content:
application/json:
schema:
$ref: "#/components/schemas/SettingCountArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/setting/aggregate:
get:
tags:
- setting
summary: Setting.aggregate
operationId: setting_aggregate
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Setting.aggregate
content:
application/json:
schema:
$ref: "#/components/schemas/SettingAggregateArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/setting/groupBy:
get:
tags:
- setting
summary: Setting.groupBy
operationId: setting_groupBy
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for Setting.groupBy
content:
application/json:
schema:
$ref: "#/components/schemas/SettingGroupByArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/setting/exists:
get:
tags:
- setting
summary: Check Setting existence
operationId: setting_exists
responses:
"200":
description: Operation succeeded
content:
application/json:
schema:
type: object
properties:
data:
type: boolean
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
description: JSON-encoded arguments for Setting.exists
content:
application/json:
schema:
$ref: "#/components/schemas/SettingExistsArgs"
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/$procs/findPostsByUser:
get:
tags:
- $procs
summary: Execute procedure `findPostsByUser`
operationId: proc_findPostsByUser
responses:
"200":
description: Result of findPostsByUser
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: "#/components/schemas/Post"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"403":
description: "Forbidden: insufficient permissions to perform this operation"
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for procedure findPostsByUser
content:
application/json:
schema:
type: object
properties:
args:
$ref: "#/components/schemas/findPostsByUserProcArgs"
required:
- args
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/$procs/getPostCount:
get:
tags:
- $procs
summary: Execute procedure `getPostCount`
operationId: proc_getPostCount
responses:
"200":
description: Result of getPostCount
content:
application/json:
schema:
type: object
properties:
data:
type: integer
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"403":
description: "Forbidden: insufficient permissions to perform this operation"
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
parameters:
- name: q
in: query
required: true
description: JSON-encoded arguments for procedure getPostCount
content:
application/json:
schema:
type: object
properties:
args:
$ref: "#/components/schemas/getPostCountProcArgs"
required:
- args
- name: meta
in: query
description: JSON-encoded SuperJSON serialization metadata for the "q" parameter
schema:
type: string
/$procs/publishPost:
post:
tags:
- $procs
summary: Execute procedure `publishPost`
operationId: proc_publishPost
responses:
"200":
description: Result of publishPost
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Post"
meta:
type: object
properties:
serialization: {}
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"403":
description: "Forbidden: insufficient permissions to perform this operation"
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
args:
$ref: "#/components/schemas/publishPostProcArgs"
required:
- args
/$transaction/sequential:
post:
tags:
- $transaction
summary: Execute a sequential transaction
operationId: transaction_sequential
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcTransactionRequest"
responses:
"200":
description: Transaction succeeded
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcSuccessResponse"
"400":
description: Error occurred while processing the request
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"403":
description: "Forbidden: insufficient permissions to perform this operation"
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"404":
description: Resource not found
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"422":
description: Operation is unprocessable due to validation errors
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: "#/components/schemas/_rpcErrorResponse"
components:
schemas:
StringFilter:
anyOf:
- type: string
- type: object
properties:
equals:
type: string
in:
type: array
items:
type: string
notIn:
type: array
items:
type: string
lt:
type: string
lte:
type: string
gt:
type: string
gte:
type: string
between:
minItems: 2
maxItems: 2
type: array
items:
type: string
not:
$ref: "#/components/schemas/StringFilter"
startsWith:
type: string
endsWith:
type: string
contains:
type: string
mode:
anyOf:
- type: string
const: default
- type: string
const: insensitive
additionalProperties: false
DateTime:
anyOf:
- type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
- type: string
format: date
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
- {}
DateTimeFilter:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: object
properties:
equals:
$ref: "#/components/schemas/DateTime"
in:
type: array
items:
$ref: "#/components/schemas/DateTime"
notIn:
type: array
items:
$ref: "#/components/schemas/DateTime"
lt:
$ref: "#/components/schemas/DateTime"
lte:
$ref: "#/components/schemas/DateTime"
gt:
$ref: "#/components/schemas/DateTime"
gte:
$ref: "#/components/schemas/DateTime"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/DateTime"
not:
$ref: "#/components/schemas/DateTimeFilter"
additionalProperties: false
JsonValue:
anyOf:
- type: string
- type: number
- type: boolean
- {}
- type: array
items:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- type: "null"
- type: object
propertyNames:
type: string
additionalProperties:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- type: "null"
JsonFilterOptional:
type: object
properties:
path:
type: string
equals:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
- {}
- type: "null"
not:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
- {}
- type: "null"
string_contains:
type: string
string_starts_with:
type: string
string_ends_with:
type: string
mode:
anyOf:
- type: string
const: default
- type: string
const: insensitive
array_contains:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
- {}
- type: "null"
array_starts_with:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
- {}
- type: "null"
array_ends_with:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
- {}
- type: "null"
additionalProperties: false
AddressFilterOptional:
anyOf:
- type: object
properties:
city:
$ref: "#/components/schemas/StringFilter"
additionalProperties: false
- type: object
properties:
is:
$ref: "#/components/schemas/AddressFilterOptional"
isNot:
$ref: "#/components/schemas/AddressFilterOptional"
additionalProperties: false
- $ref: "#/components/schemas/JsonFilterOptional"
- type: "null"
- {}
- {}
- {}
UserWhereUniqueInput:
type: object
properties:
myId:
$ref: "#/components/schemas/StringFilter"
createdAt:
$ref: "#/components/schemas/DateTimeFilter"
updatedAt:
$ref: "#/components/schemas/DateTimeFilter"
email:
$ref: "#/components/schemas/StringFilter"
posts:
type: object
properties:
some:
$ref: "#/components/schemas/PostWhereInput"
every:
$ref: "#/components/schemas/PostWhereInput"
none:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
profile:
anyOf:
- anyOf:
- $ref: "#/components/schemas/ProfileWhereInput"
- type: "null"
- type: object
properties:
is:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInput"
- type: "null"
isNot:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInput"
- type: "null"
additionalProperties: false
address:
$ref: "#/components/schemas/AddressFilterOptional"
someJson:
$ref: "#/components/schemas/JsonFilterOptional"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: array
items:
$ref: "#/components/schemas/UserWhereInput"
OR:
type: array
items:
$ref: "#/components/schemas/UserWhereInput"
NOT:
anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: array
items:
$ref: "#/components/schemas/UserWhereInput"
additionalProperties: false
IntFilter:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
equals:
$ref: "#/components/schemas/_integer"
in:
type: array
items:
$ref: "#/components/schemas/_integer"
notIn:
type: array
items:
$ref: "#/components/schemas/_integer"
lt:
$ref: "#/components/schemas/_integer"
lte:
$ref: "#/components/schemas/_integer"
gt:
$ref: "#/components/schemas/_integer"
gte:
$ref: "#/components/schemas/_integer"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/_integer"
not:
$ref: "#/components/schemas/IntFilter"
additionalProperties: false
StringFilterOptional:
anyOf:
- anyOf:
- type: string
- type: "null"
- type: object
properties:
equals:
anyOf:
- type: string
- type: "null"
in:
type: array
items:
type: string
notIn:
type: array
items:
type: string
lt:
type: string
lte:
type: string
gt:
type: string
gte:
type: string
between:
minItems: 2
maxItems: 2
type: array
items:
type: string
not:
$ref: "#/components/schemas/StringFilterOptional"
startsWith:
type: string
endsWith:
type: string
contains:
type: string
mode:
anyOf:
- type: string
const: default
- type: string
const: insensitive
additionalProperties: false
BooleanFilter:
anyOf:
- type: boolean
- type: object
properties:
equals:
type: boolean
not:
$ref: "#/components/schemas/BooleanFilter"
additionalProperties: false
DateTimeFilterOptional:
anyOf:
- anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
- type: object
properties:
equals:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
in:
type: array
items:
$ref: "#/components/schemas/DateTime"
notIn:
type: array
items:
$ref: "#/components/schemas/DateTime"
lt:
$ref: "#/components/schemas/DateTime"
lte:
$ref: "#/components/schemas/DateTime"
gt:
$ref: "#/components/schemas/DateTime"
gte:
$ref: "#/components/schemas/DateTime"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/DateTime"
not:
$ref: "#/components/schemas/DateTimeFilterOptional"
additionalProperties: false
PostWhereUniqueInputWithoutRelation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
createdAt:
$ref: "#/components/schemas/DateTimeFilter"
updatedAt:
$ref: "#/components/schemas/DateTimeFilter"
title:
$ref: "#/components/schemas/StringFilter"
authorId:
$ref: "#/components/schemas/StringFilterOptional"
published:
$ref: "#/components/schemas/BooleanFilter"
publishedAt:
$ref: "#/components/schemas/DateTimeFilterOptional"
viewCount:
$ref: "#/components/schemas/IntFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/PostWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/PostWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
required:
- id
additionalProperties: false
PostCursorInput:
$ref: "#/components/schemas/PostWhereUniqueInputWithoutRelation"
PostDistinctInput:
anyOf:
- type: string
enum:
- id
- createdAt
- updatedAt
- title
- authorId
- published
- publishedAt
- viewCount
- type: array
items:
type: string
enum:
- id
- createdAt
- updatedAt
- title
- authorId
- published
- publishedAt
- viewCount
UserPostsRelationInput:
anyOf:
- type: boolean
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/PostInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
orderBy:
anyOf:
- $ref: "#/components/schemas/PostOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
cursor:
$ref: "#/components/schemas/PostCursorInput"
distinct:
$ref: "#/components/schemas/PostDistinctInput"
additionalProperties: false
UserProfileRelationInput:
anyOf:
- type: boolean
- type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/ProfileSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/ProfileInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/ProfileOmitInput"
- type: "null"
additionalProperties: false
PostWhereInput:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
createdAt:
$ref: "#/components/schemas/DateTimeFilter"
updatedAt:
$ref: "#/components/schemas/DateTimeFilter"
title:
$ref: "#/components/schemas/StringFilter"
author:
anyOf:
- anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: "null"
- type: object
properties:
is:
anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: "null"
isNot:
anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: "null"
additionalProperties: false
authorId:
$ref: "#/components/schemas/StringFilterOptional"
published:
$ref: "#/components/schemas/BooleanFilter"
publishedAt:
$ref: "#/components/schemas/DateTimeFilterOptional"
viewCount:
$ref: "#/components/schemas/IntFilter"
comments:
type: object
properties:
some:
$ref: "#/components/schemas/CommentWhereInput"
every:
$ref: "#/components/schemas/CommentWhereInput"
none:
$ref: "#/components/schemas/CommentWhereInput"
additionalProperties: false
setting:
anyOf:
- anyOf:
- $ref: "#/components/schemas/SettingWhereInput"
- type: "null"
- type: object
properties:
is:
anyOf:
- $ref: "#/components/schemas/SettingWhereInput"
- type: "null"
isNot:
anyOf:
- $ref: "#/components/schemas/SettingWhereInput"
- type: "null"
additionalProperties: false
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereInput"
OR:
type: array
items:
$ref: "#/components/schemas/PostWhereInput"
NOT:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
UserCountSelection:
anyOf:
- type: boolean
const: true
- type: object
properties:
select:
type: object
properties:
posts:
anyOf:
- type: boolean
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
required:
- where
additionalProperties: false
additionalProperties: false
required:
- select
additionalProperties: false
UserSelect:
type: object
properties:
myId:
type: boolean
createdAt:
type: boolean
updatedAt:
type: boolean
email:
type: boolean
posts:
$ref: "#/components/schemas/UserPostsRelationInput"
profile:
$ref: "#/components/schemas/UserProfileRelationInput"
address:
type: boolean
someJson:
type: boolean
_count:
$ref: "#/components/schemas/UserCountSelection"
additionalProperties: false
UserInclude:
type: object
properties:
posts:
$ref: "#/components/schemas/UserPostsRelationInput"
profile:
$ref: "#/components/schemas/UserProfileRelationInput"
_count:
$ref: "#/components/schemas/UserCountSelection"
additionalProperties: false
UserOmitInput:
type: object
properties:
myId:
type: boolean
createdAt:
type: boolean
updatedAt:
type: boolean
email:
type: boolean
address:
type: boolean
someJson:
type: boolean
additionalProperties: false
UserFindUniqueArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/UserInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
required:
- where
additionalProperties: false
UserWhereInput:
type: object
properties:
myId:
$ref: "#/components/schemas/StringFilter"
createdAt:
$ref: "#/components/schemas/DateTimeFilter"
updatedAt:
$ref: "#/components/schemas/DateTimeFilter"
email:
$ref: "#/components/schemas/StringFilter"
posts:
type: object
properties:
some:
$ref: "#/components/schemas/PostWhereInput"
every:
$ref: "#/components/schemas/PostWhereInput"
none:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
profile:
anyOf:
- anyOf:
- $ref: "#/components/schemas/ProfileWhereInput"
- type: "null"
- type: object
properties:
is:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInput"
- type: "null"
isNot:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInput"
- type: "null"
additionalProperties: false
address:
$ref: "#/components/schemas/AddressFilterOptional"
someJson:
$ref: "#/components/schemas/JsonFilterOptional"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: array
items:
$ref: "#/components/schemas/UserWhereInput"
OR:
type: array
items:
$ref: "#/components/schemas/UserWhereInput"
NOT:
anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: array
items:
$ref: "#/components/schemas/UserWhereInput"
additionalProperties: false
UserOrderByWithRelationInput:
type: object
properties:
myId:
anyOf:
- type: string
const: asc
- type: string
const: desc
createdAt:
anyOf:
- type: string
const: asc
- type: string
const: desc
updatedAt:
anyOf:
- type: string
const: asc
- type: string
const: desc
email:
anyOf:
- type: string
const: asc
- type: string
const: desc
posts:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
createdAt:
anyOf:
- type: string
const: asc
- type: string
const: desc
updatedAt:
anyOf:
- type: string
const: asc
- type: string
const: desc
title:
anyOf:
- type: string
const: asc
- type: string
const: desc
author:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
authorId:
anyOf:
- anyOf:
- type: string
const: asc
- type: string
const: desc
- type: object
properties:
sort:
anyOf:
- type: string
const: asc
- type: string
const: desc
nulls:
anyOf:
- type: string
const: first
- type: string
const: last
required:
- sort
additionalProperties: false
published:
anyOf:
- type: string
const: asc
- type: string
const: desc
publishedAt:
anyOf:
- anyOf:
- type: string
const: asc
- type: string
const: desc
- type: object
properties:
sort:
anyOf:
- type: string
const: asc
- type: string
const: desc
nulls:
anyOf:
- type: string
const: first
- type: string
const: last
required:
- sort
additionalProperties: false
viewCount:
anyOf:
- type: string
const: asc
- type: string
const: desc
comments:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
post:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
postId:
anyOf:
- type: string
const: asc
- type: string
const: desc
content:
anyOf:
- type: string
const: asc
- type: string
const: desc
_count:
anyOf:
- type: string
const: asc
- type: string
const: desc
required:
- _count
additionalProperties: false
setting:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
_count:
anyOf:
- type: string
const: asc
- type: string
const: desc
required:
- _count
additionalProperties: false
profile:
$ref: "#/components/schemas/ProfileOrderByWithRelationInput"
address:
anyOf:
- anyOf:
- type: string
const: asc
- type: string
const: desc
- type: object
properties:
sort:
anyOf:
- type: string
const: asc
- type: string
const: desc
nulls:
anyOf:
- type: string
const: first
- type: string
const: last
required:
- sort
additionalProperties: false
someJson:
anyOf:
- anyOf:
- type: string
const: asc
- type: string
const: desc
- type: object
properties:
sort:
anyOf:
- type: string
const: asc
- type: string
const: desc
nulls:
anyOf:
- type: string
const: first
- type: string
const: last
required:
- sort
additionalProperties: false
additionalProperties: false
UserWhereUniqueInputWithoutRelation:
type: object
properties:
myId:
$ref: "#/components/schemas/StringFilter"
createdAt:
$ref: "#/components/schemas/DateTimeFilter"
updatedAt:
$ref: "#/components/schemas/DateTimeFilter"
email:
$ref: "#/components/schemas/StringFilter"
address:
$ref: "#/components/schemas/AddressFilterOptional"
someJson:
$ref: "#/components/schemas/JsonFilterOptional"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/UserWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/UserWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/UserWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/UserWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/UserWhereInputWithoutRelation"
additionalProperties: false
UserCursorInput:
$ref: "#/components/schemas/UserWhereUniqueInputWithoutRelation"
UserDistinctInput:
anyOf:
- type: string
enum:
- myId
- createdAt
- updatedAt
- email
- address
- someJson
- type: array
items:
type: string
enum:
- myId
- createdAt
- updatedAt
- email
- address
- someJson
UserFindFirstArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/UserInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
type: number
const: 1
orderBy:
anyOf:
- $ref: "#/components/schemas/UserOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
cursor:
$ref: "#/components/schemas/UserCursorInput"
distinct:
$ref: "#/components/schemas/UserDistinctInput"
additionalProperties: false
UserFindManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/UserInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/UserOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
cursor:
$ref: "#/components/schemas/UserCursorInput"
distinct:
$ref: "#/components/schemas/UserDistinctInput"
additionalProperties: false
UserExistsArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
additionalProperties: false
Address:
type: object
properties:
city:
type: string
required:
- city
UserCreateData:
anyOf:
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
posts:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataArrayWithoutauthorauthorId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/PostCreateManyPayloadWithoutauthorauthorId"
additionalProperties: false
profile:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
required:
- email
additionalProperties: false
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
posts:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataArrayWithoutauthorauthorId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/PostCreateManyPayloadWithoutauthorauthorId"
additionalProperties: false
profile:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
required:
- email
additionalProperties: false
UserCreateArgs:
type: object
properties:
data:
$ref: "#/components/schemas/UserCreateData"
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/UserInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
required:
- data
additionalProperties: false
UserCreateDataArrayWithoutRelation:
anyOf:
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
required:
- email
additionalProperties: false
- type: array
items:
type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
required:
- email
additionalProperties: false
UserCreateManyPayload:
type: object
properties:
data:
$ref: "#/components/schemas/UserCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
UserCreateManyArgs:
type: object
properties:
data:
$ref: "#/components/schemas/UserCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
UserCreateManyAndReturnArgs:
type: object
properties:
data:
$ref: "#/components/schemas/UserCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
required:
- data
additionalProperties: false
UserUpdateData:
anyOf:
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
posts:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataArrayWithoutauthorauthorId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/PostCreateManyPayloadWithoutauthorauthorId"
disconnect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
delete:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- create
- update
additionalProperties: false
set:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
updateMany:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
deleteMany:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
profile:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/ProfileWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/ProfileWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
data:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
update:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
update:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
additionalProperties: false
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
posts:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataArrayWithoutauthorauthorId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/PostCreateManyPayloadWithoutauthorauthorId"
disconnect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
delete:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- create
- update
additionalProperties: false
set:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
updateMany:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
deleteMany:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
profile:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/ProfileWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/ProfileWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
data:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
update:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
update:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
additionalProperties: false
UserUpdateArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
data:
$ref: "#/components/schemas/UserUpdateData"
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/UserInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
required:
- where
- data
additionalProperties: false
UserUpdateDataWithoutRelation:
type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
additionalProperties: false
UserUpdateManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
data:
$ref: "#/components/schemas/UserUpdateDataWithoutRelation"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
required:
- data
additionalProperties: false
UserUpdateManyAndReturnArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
data:
$ref: "#/components/schemas/UserUpdateDataWithoutRelation"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
required:
- data
additionalProperties: false
UserUpsertArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateData"
update:
$ref: "#/components/schemas/UserUpdateData"
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/UserInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
required:
- where
- create
- update
additionalProperties: false
UserDeleteArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/UserInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
required:
- where
additionalProperties: false
UserDeleteManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
additionalProperties: false
UserCountAggregateInput:
anyOf:
- type: boolean
const: true
- type: object
properties:
_all:
type: boolean
const: true
myId:
type: boolean
const: true
createdAt:
type: boolean
const: true
updatedAt:
type: boolean
const: true
email:
type: boolean
const: true
posts:
type: boolean
const: true
profile:
type: boolean
const: true
address:
type: boolean
const: true
someJson:
type: boolean
const: true
additionalProperties: false
UserCountArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/UserOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
select:
$ref: "#/components/schemas/UserCountAggregateInput"
additionalProperties: false
UserSumAvgAggregateInput:
type: object
properties: {}
additionalProperties: false
UserMinMaxAggregateInput:
type: object
properties:
myId:
type: boolean
const: true
createdAt:
type: boolean
const: true
updatedAt:
type: boolean
const: true
email:
type: boolean
const: true
address:
type: boolean
const: true
someJson:
type: boolean
const: true
additionalProperties: false
UserAggregateArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/UserOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
_count:
$ref: "#/components/schemas/UserCountAggregateInput"
_avg:
$ref: "#/components/schemas/UserSumAvgAggregateInput"
_sum:
$ref: "#/components/schemas/UserSumAvgAggregateInput"
_min:
$ref: "#/components/schemas/UserMinMaxAggregateInput"
_max:
$ref: "#/components/schemas/UserMinMaxAggregateInput"
additionalProperties: false
UserOrderByWithAggregationInput:
type: object
properties:
myId:
anyOf:
- type: string
const: asc
- type: string
const: desc
createdAt:
anyOf:
- type: string
const: asc
- type: string
const: desc
updatedAt:
anyOf:
- type: string
const: asc
- type: string
const: desc
email:
anyOf:
- type: string
const: asc
- type: string
const: desc
address:
anyOf:
- anyOf:
- type: string
const: asc
- type: string
const: desc
- type: object
properties:
sort:
anyOf:
- type: string
const: asc
- type: string
const: desc
nulls:
anyOf:
- type: string
const: first
- type: string
const: last
required:
- sort
additionalProperties: false
someJson:
anyOf:
- anyOf:
- type: string
const: asc
- type: string
const: desc
- type: object
properties:
sort:
anyOf:
- type: string
const: asc
- type: string
const: desc
nulls:
anyOf:
- type: string
const: first
- type: string
const: last
required:
- sort
additionalProperties: false
_count:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
_avg:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
_sum:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
_min:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
_max:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
additionalProperties: false
StringFilterAgg:
anyOf:
- type: string
- type: object
properties:
equals:
type: string
in:
type: array
items:
type: string
notIn:
type: array
items:
type: string
lt:
type: string
lte:
type: string
gt:
type: string
gte:
type: string
between:
minItems: 2
maxItems: 2
type: array
items:
type: string
not:
$ref: "#/components/schemas/StringFilterAgg"
_count:
$ref: "#/components/schemas/IntFilter"
_min:
anyOf:
- type: string
- type: object
properties:
equals:
type: string
in:
type: array
items:
type: string
notIn:
type: array
items:
type: string
lt:
type: string
lte:
type: string
gt:
type: string
gte:
type: string
between:
minItems: 2
maxItems: 2
type: array
items:
type: string
not:
$ref: "#/components/schemas/StringFilterAgg"
additionalProperties: false
_max:
anyOf:
- type: string
- type: object
properties:
equals:
type: string
in:
type: array
items:
type: string
notIn:
type: array
items:
type: string
lt:
type: string
lte:
type: string
gt:
type: string
gte:
type: string
between:
minItems: 2
maxItems: 2
type: array
items:
type: string
not:
$ref: "#/components/schemas/StringFilterAgg"
additionalProperties: false
startsWith:
type: string
endsWith:
type: string
contains:
type: string
mode:
anyOf:
- type: string
const: default
- type: string
const: insensitive
additionalProperties: false
DateTimeFilterAgg:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: object
properties:
equals:
$ref: "#/components/schemas/DateTime"
in:
type: array
items:
$ref: "#/components/schemas/DateTime"
notIn:
type: array
items:
$ref: "#/components/schemas/DateTime"
lt:
$ref: "#/components/schemas/DateTime"
lte:
$ref: "#/components/schemas/DateTime"
gt:
$ref: "#/components/schemas/DateTime"
gte:
$ref: "#/components/schemas/DateTime"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/DateTime"
not:
$ref: "#/components/schemas/DateTimeFilterAgg"
_count:
$ref: "#/components/schemas/IntFilter"
_min:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: object
properties:
equals:
$ref: "#/components/schemas/DateTime"
in:
type: array
items:
$ref: "#/components/schemas/DateTime"
notIn:
type: array
items:
$ref: "#/components/schemas/DateTime"
lt:
$ref: "#/components/schemas/DateTime"
lte:
$ref: "#/components/schemas/DateTime"
gt:
$ref: "#/components/schemas/DateTime"
gte:
$ref: "#/components/schemas/DateTime"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/DateTime"
not:
$ref: "#/components/schemas/DateTimeFilterAgg"
additionalProperties: false
_max:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: object
properties:
equals:
$ref: "#/components/schemas/DateTime"
in:
type: array
items:
$ref: "#/components/schemas/DateTime"
notIn:
type: array
items:
$ref: "#/components/schemas/DateTime"
lt:
$ref: "#/components/schemas/DateTime"
lte:
$ref: "#/components/schemas/DateTime"
gt:
$ref: "#/components/schemas/DateTime"
gte:
$ref: "#/components/schemas/DateTime"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/DateTime"
not:
$ref: "#/components/schemas/DateTimeFilterAgg"
additionalProperties: false
additionalProperties: false
UserWhereInputWithoutRelationWithAggregation:
type: object
properties:
myId:
$ref: "#/components/schemas/StringFilterAgg"
createdAt:
$ref: "#/components/schemas/DateTimeFilterAgg"
updatedAt:
$ref: "#/components/schemas/DateTimeFilterAgg"
email:
$ref: "#/components/schemas/StringFilterAgg"
address:
$ref: "#/components/schemas/AddressFilterOptional"
someJson:
$ref: "#/components/schemas/JsonFilterOptional"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/UserWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/UserWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/UserWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/UserWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/UserWhereInputWithoutRelation"
additionalProperties: false
UserGroupByArgs:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
orderBy:
anyOf:
- $ref: "#/components/schemas/UserOrderByWithAggregationInput"
- type: array
items:
$ref: "#/components/schemas/UserOrderByWithAggregationInput"
by:
anyOf:
- type: string
enum:
- myId
- createdAt
- updatedAt
- email
- address
- someJson
- type: array
items:
type: string
enum:
- myId
- createdAt
- updatedAt
- email
- address
- someJson
having:
$ref: "#/components/schemas/UserWhereInputWithoutRelationWithAggregation"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
_count:
$ref: "#/components/schemas/UserCountAggregateInput"
_avg:
$ref: "#/components/schemas/UserSumAvgAggregateInput"
_sum:
$ref: "#/components/schemas/UserSumAvgAggregateInput"
_min:
$ref: "#/components/schemas/UserMinMaxAggregateInput"
_max:
$ref: "#/components/schemas/UserMinMaxAggregateInput"
required:
- by
additionalProperties: false
ProfileWhereUniqueInput:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
gender:
$ref: "#/components/schemas/StringFilter"
user:
anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: object
properties:
is:
$ref: "#/components/schemas/UserWhereInput"
isNot:
$ref: "#/components/schemas/UserWhereInput"
additionalProperties: false
userId:
$ref: "#/components/schemas/StringFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInput"
- type: array
items:
$ref: "#/components/schemas/ProfileWhereInput"
OR:
type: array
items:
$ref: "#/components/schemas/ProfileWhereInput"
NOT:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInput"
- type: array
items:
$ref: "#/components/schemas/ProfileWhereInput"
additionalProperties: false
ProfileUserRelationInput:
anyOf:
- type: boolean
- type: object
properties:
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/UserInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
additionalProperties: false
ProfileSelect:
type: object
properties:
id:
type: boolean
gender:
type: boolean
user:
$ref: "#/components/schemas/ProfileUserRelationInput"
userId:
type: boolean
additionalProperties: false
ProfileInclude:
type: object
properties:
user:
$ref: "#/components/schemas/ProfileUserRelationInput"
additionalProperties: false
ProfileOmitInput:
type: object
properties:
id:
type: boolean
gender:
type: boolean
userId:
type: boolean
additionalProperties: false
ProfileFindUniqueArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
select:
anyOf:
- $ref: "#/components/schemas/ProfileSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/ProfileInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/ProfileOmitInput"
- type: "null"
required:
- where
additionalProperties: false
ProfileWhereInput:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
gender:
$ref: "#/components/schemas/StringFilter"
user:
anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: object
properties:
is:
$ref: "#/components/schemas/UserWhereInput"
isNot:
$ref: "#/components/schemas/UserWhereInput"
additionalProperties: false
userId:
$ref: "#/components/schemas/StringFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInput"
- type: array
items:
$ref: "#/components/schemas/ProfileWhereInput"
OR:
type: array
items:
$ref: "#/components/schemas/ProfileWhereInput"
NOT:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInput"
- type: array
items:
$ref: "#/components/schemas/ProfileWhereInput"
additionalProperties: false
ProfileOrderByWithRelationInput:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
gender:
anyOf:
- type: string
const: asc
- type: string
const: desc
user:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
userId:
anyOf:
- type: string
const: asc
- type: string
const: desc
additionalProperties: false
ProfileWhereUniqueInputWithoutRelation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
gender:
$ref: "#/components/schemas/StringFilter"
userId:
$ref: "#/components/schemas/StringFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
additionalProperties: false
ProfileCursorInput:
$ref: "#/components/schemas/ProfileWhereUniqueInputWithoutRelation"
ProfileDistinctInput:
anyOf:
- type: string
enum:
- id
- gender
- userId
- type: array
items:
type: string
enum:
- id
- gender
- userId
ProfileFindFirstArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/ProfileSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/ProfileInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/ProfileOmitInput"
- type: "null"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
type: number
const: 1
orderBy:
anyOf:
- $ref: "#/components/schemas/ProfileOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/ProfileOrderByWithRelationInput"
cursor:
$ref: "#/components/schemas/ProfileCursorInput"
distinct:
$ref: "#/components/schemas/ProfileDistinctInput"
additionalProperties: false
ProfileFindManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/ProfileSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/ProfileInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/ProfileOmitInput"
- type: "null"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/ProfileOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/ProfileOrderByWithRelationInput"
cursor:
$ref: "#/components/schemas/ProfileCursorInput"
distinct:
$ref: "#/components/schemas/ProfileDistinctInput"
additionalProperties: false
ProfileExistsArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
additionalProperties: false
ProfileCreateData:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
gender:
type: string
userId:
type: string
required:
- gender
- userId
additionalProperties: false
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
gender:
type: string
user:
type: object
properties:
connect:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutprofile"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutprofile"
required:
- where
- create
additionalProperties: false
additionalProperties: false
required:
- gender
- user
additionalProperties: false
ProfileCreateArgs:
type: object
properties:
data:
$ref: "#/components/schemas/ProfileCreateData"
select:
anyOf:
- $ref: "#/components/schemas/ProfileSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/ProfileInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/ProfileOmitInput"
- type: "null"
required:
- data
additionalProperties: false
ProfileCreateDataArrayWithoutRelation:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
gender:
type: string
userId:
type: string
required:
- gender
- userId
additionalProperties: false
- type: array
items:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
gender:
type: string
userId:
type: string
required:
- gender
- userId
additionalProperties: false
ProfileCreateManyPayload:
type: object
properties:
data:
$ref: "#/components/schemas/ProfileCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
ProfileCreateManyArgs:
type: object
properties:
data:
$ref: "#/components/schemas/ProfileCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
ProfileCreateManyAndReturnArgs:
type: object
properties:
data:
$ref: "#/components/schemas/ProfileCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
select:
anyOf:
- $ref: "#/components/schemas/ProfileSelect"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/ProfileOmitInput"
- type: "null"
required:
- data
additionalProperties: false
ProfileUpdateData:
anyOf:
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
gender:
type: string
userId:
type: string
additionalProperties: false
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
gender:
type: string
user:
type: object
properties:
connect:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutprofile"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutprofile"
required:
- where
- create
additionalProperties: false
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
data:
$ref: "#/components/schemas/UserUpdateDataWithoutprofile"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/UserUpdateDataWithoutprofile"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutprofile"
update:
$ref: "#/components/schemas/UserUpdateDataWithoutprofile"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutprofile"
update:
$ref: "#/components/schemas/UserUpdateDataWithoutprofile"
required:
- create
- update
additionalProperties: false
additionalProperties: false
additionalProperties: false
ProfileUpdateArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
data:
$ref: "#/components/schemas/ProfileUpdateData"
select:
anyOf:
- $ref: "#/components/schemas/ProfileSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/ProfileInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/ProfileOmitInput"
- type: "null"
required:
- where
- data
additionalProperties: false
ProfileUpdateDataWithoutRelation:
type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
gender:
type: string
userId:
type: string
additionalProperties: false
ProfileUpdateManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
data:
$ref: "#/components/schemas/ProfileUpdateDataWithoutRelation"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
required:
- data
additionalProperties: false
ProfileUpdateManyAndReturnArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
data:
$ref: "#/components/schemas/ProfileUpdateDataWithoutRelation"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
select:
anyOf:
- $ref: "#/components/schemas/ProfileSelect"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/ProfileOmitInput"
- type: "null"
required:
- data
additionalProperties: false
ProfileUpsertArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateData"
update:
$ref: "#/components/schemas/ProfileUpdateData"
select:
anyOf:
- $ref: "#/components/schemas/ProfileSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/ProfileInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/ProfileOmitInput"
- type: "null"
required:
- where
- create
- update
additionalProperties: false
ProfileDeleteArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
select:
anyOf:
- $ref: "#/components/schemas/ProfileSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/ProfileInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/ProfileOmitInput"
- type: "null"
required:
- where
additionalProperties: false
ProfileDeleteManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
additionalProperties: false
ProfileCountAggregateInput:
anyOf:
- type: boolean
const: true
- type: object
properties:
_all:
type: boolean
const: true
id:
type: boolean
const: true
gender:
type: boolean
const: true
user:
type: boolean
const: true
userId:
type: boolean
const: true
additionalProperties: false
ProfileCountArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/ProfileOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/ProfileOrderByWithRelationInput"
select:
$ref: "#/components/schemas/ProfileCountAggregateInput"
additionalProperties: false
ProfileSumAvgAggregateInput:
type: object
properties:
id:
type: boolean
const: true
additionalProperties: false
ProfileMinMaxAggregateInput:
type: object
properties:
id:
type: boolean
const: true
gender:
type: boolean
const: true
userId:
type: boolean
const: true
additionalProperties: false
ProfileAggregateArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/ProfileOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/ProfileOrderByWithRelationInput"
_count:
$ref: "#/components/schemas/ProfileCountAggregateInput"
_avg:
$ref: "#/components/schemas/ProfileSumAvgAggregateInput"
_sum:
$ref: "#/components/schemas/ProfileSumAvgAggregateInput"
_min:
$ref: "#/components/schemas/ProfileMinMaxAggregateInput"
_max:
$ref: "#/components/schemas/ProfileMinMaxAggregateInput"
additionalProperties: false
ProfileOrderByWithAggregationInput:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
gender:
anyOf:
- type: string
const: asc
- type: string
const: desc
userId:
anyOf:
- type: string
const: asc
- type: string
const: desc
_count:
$ref: "#/components/schemas/ProfileOrderByWithRelationInput"
_avg:
$ref: "#/components/schemas/ProfileOrderByWithRelationInput"
_sum:
$ref: "#/components/schemas/ProfileOrderByWithRelationInput"
_min:
$ref: "#/components/schemas/ProfileOrderByWithRelationInput"
_max:
$ref: "#/components/schemas/ProfileOrderByWithRelationInput"
additionalProperties: false
IntFilterAgg:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
equals:
$ref: "#/components/schemas/_integer"
in:
type: array
items:
$ref: "#/components/schemas/_integer"
notIn:
type: array
items:
$ref: "#/components/schemas/_integer"
lt:
$ref: "#/components/schemas/_integer"
lte:
$ref: "#/components/schemas/_integer"
gt:
$ref: "#/components/schemas/_integer"
gte:
$ref: "#/components/schemas/_integer"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/_integer"
not:
$ref: "#/components/schemas/IntFilterAgg"
_count:
$ref: "#/components/schemas/IntFilter"
_avg:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
equals:
$ref: "#/components/schemas/_integer"
in:
type: array
items:
$ref: "#/components/schemas/_integer"
notIn:
type: array
items:
$ref: "#/components/schemas/_integer"
lt:
$ref: "#/components/schemas/_integer"
lte:
$ref: "#/components/schemas/_integer"
gt:
$ref: "#/components/schemas/_integer"
gte:
$ref: "#/components/schemas/_integer"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/_integer"
not:
$ref: "#/components/schemas/IntFilterAgg"
additionalProperties: false
_sum:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
equals:
$ref: "#/components/schemas/_integer"
in:
type: array
items:
$ref: "#/components/schemas/_integer"
notIn:
type: array
items:
$ref: "#/components/schemas/_integer"
lt:
$ref: "#/components/schemas/_integer"
lte:
$ref: "#/components/schemas/_integer"
gt:
$ref: "#/components/schemas/_integer"
gte:
$ref: "#/components/schemas/_integer"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/_integer"
not:
$ref: "#/components/schemas/IntFilterAgg"
additionalProperties: false
_min:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
equals:
$ref: "#/components/schemas/_integer"
in:
type: array
items:
$ref: "#/components/schemas/_integer"
notIn:
type: array
items:
$ref: "#/components/schemas/_integer"
lt:
$ref: "#/components/schemas/_integer"
lte:
$ref: "#/components/schemas/_integer"
gt:
$ref: "#/components/schemas/_integer"
gte:
$ref: "#/components/schemas/_integer"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/_integer"
not:
$ref: "#/components/schemas/IntFilterAgg"
additionalProperties: false
_max:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
equals:
$ref: "#/components/schemas/_integer"
in:
type: array
items:
$ref: "#/components/schemas/_integer"
notIn:
type: array
items:
$ref: "#/components/schemas/_integer"
lt:
$ref: "#/components/schemas/_integer"
lte:
$ref: "#/components/schemas/_integer"
gt:
$ref: "#/components/schemas/_integer"
gte:
$ref: "#/components/schemas/_integer"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/_integer"
not:
$ref: "#/components/schemas/IntFilterAgg"
additionalProperties: false
additionalProperties: false
ProfileWhereInputWithoutRelationWithAggregation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilterAgg"
gender:
$ref: "#/components/schemas/StringFilterAgg"
userId:
$ref: "#/components/schemas/StringFilterAgg"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
additionalProperties: false
ProfileGroupByArgs:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
orderBy:
anyOf:
- $ref: "#/components/schemas/ProfileOrderByWithAggregationInput"
- type: array
items:
$ref: "#/components/schemas/ProfileOrderByWithAggregationInput"
by:
anyOf:
- type: string
enum:
- id
- gender
- userId
- type: array
items:
type: string
enum:
- id
- gender
- userId
having:
$ref: "#/components/schemas/ProfileWhereInputWithoutRelationWithAggregation"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
_count:
$ref: "#/components/schemas/ProfileCountAggregateInput"
_avg:
$ref: "#/components/schemas/ProfileSumAvgAggregateInput"
_sum:
$ref: "#/components/schemas/ProfileSumAvgAggregateInput"
_min:
$ref: "#/components/schemas/ProfileMinMaxAggregateInput"
_max:
$ref: "#/components/schemas/ProfileMinMaxAggregateInput"
required:
- by
additionalProperties: false
PostWhereUniqueInput:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
createdAt:
$ref: "#/components/schemas/DateTimeFilter"
updatedAt:
$ref: "#/components/schemas/DateTimeFilter"
title:
$ref: "#/components/schemas/StringFilter"
author:
anyOf:
- anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: "null"
- type: object
properties:
is:
anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: "null"
isNot:
anyOf:
- $ref: "#/components/schemas/UserWhereInput"
- type: "null"
additionalProperties: false
authorId:
$ref: "#/components/schemas/StringFilterOptional"
published:
$ref: "#/components/schemas/BooleanFilter"
publishedAt:
$ref: "#/components/schemas/DateTimeFilterOptional"
viewCount:
$ref: "#/components/schemas/IntFilter"
comments:
type: object
properties:
some:
$ref: "#/components/schemas/CommentWhereInput"
every:
$ref: "#/components/schemas/CommentWhereInput"
none:
$ref: "#/components/schemas/CommentWhereInput"
additionalProperties: false
setting:
anyOf:
- anyOf:
- $ref: "#/components/schemas/SettingWhereInput"
- type: "null"
- type: object
properties:
is:
anyOf:
- $ref: "#/components/schemas/SettingWhereInput"
- type: "null"
isNot:
anyOf:
- $ref: "#/components/schemas/SettingWhereInput"
- type: "null"
additionalProperties: false
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereInput"
OR:
type: array
items:
$ref: "#/components/schemas/PostWhereInput"
NOT:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereInput"
required:
- id
additionalProperties: false
PostAuthorRelationInput:
anyOf:
- type: boolean
- type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/UserSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/UserInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/UserOmitInput"
- type: "null"
additionalProperties: false
CommentWhereUniqueInputWithoutRelation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
postId:
$ref: "#/components/schemas/IntFilter"
content:
$ref: "#/components/schemas/StringFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/CommentWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/CommentWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
required:
- id
additionalProperties: false
CommentCursorInput:
$ref: "#/components/schemas/CommentWhereUniqueInputWithoutRelation"
CommentDistinctInput:
anyOf:
- type: string
enum:
- id
- postId
- content
- type: array
items:
type: string
enum:
- id
- postId
- content
PostCommentsRelationInput:
anyOf:
- type: boolean
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/CommentSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/CommentInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/CommentOmitInput"
- type: "null"
orderBy:
anyOf:
- $ref: "#/components/schemas/CommentOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/CommentOrderByWithRelationInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
cursor:
$ref: "#/components/schemas/CommentCursorInput"
distinct:
$ref: "#/components/schemas/CommentDistinctInput"
additionalProperties: false
PostSettingRelationInput:
anyOf:
- type: boolean
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/SettingSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/SettingInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/SettingOmitInput"
- type: "null"
additionalProperties: false
CommentWhereInput:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
post:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: object
properties:
is:
$ref: "#/components/schemas/PostWhereInput"
isNot:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
postId:
$ref: "#/components/schemas/IntFilter"
content:
$ref: "#/components/schemas/StringFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/CommentWhereInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
OR:
type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
NOT:
anyOf:
- $ref: "#/components/schemas/CommentWhereInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
additionalProperties: false
PostCountSelection:
anyOf:
- type: boolean
const: true
- type: object
properties:
select:
type: object
properties:
comments:
anyOf:
- type: boolean
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
required:
- where
additionalProperties: false
additionalProperties: false
required:
- select
additionalProperties: false
PostSelect:
type: object
properties:
id:
type: boolean
createdAt:
type: boolean
updatedAt:
type: boolean
title:
type: boolean
author:
$ref: "#/components/schemas/PostAuthorRelationInput"
authorId:
type: boolean
published:
type: boolean
publishedAt:
type: boolean
viewCount:
type: boolean
comments:
$ref: "#/components/schemas/PostCommentsRelationInput"
setting:
$ref: "#/components/schemas/PostSettingRelationInput"
_count:
$ref: "#/components/schemas/PostCountSelection"
additionalProperties: false
PostInclude:
type: object
properties:
author:
$ref: "#/components/schemas/PostAuthorRelationInput"
comments:
$ref: "#/components/schemas/PostCommentsRelationInput"
setting:
$ref: "#/components/schemas/PostSettingRelationInput"
_count:
$ref: "#/components/schemas/PostCountSelection"
additionalProperties: false
PostOmitInput:
type: object
properties:
id:
type: boolean
createdAt:
type: boolean
updatedAt:
type: boolean
title:
type: boolean
authorId:
type: boolean
published:
type: boolean
publishedAt:
type: boolean
viewCount:
type: boolean
additionalProperties: false
PostFindUniqueArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/PostInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
required:
- where
additionalProperties: false
PostOrderByWithRelationInput:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
createdAt:
anyOf:
- type: string
const: asc
- type: string
const: desc
updatedAt:
anyOf:
- type: string
const: asc
- type: string
const: desc
title:
anyOf:
- type: string
const: asc
- type: string
const: desc
author:
$ref: "#/components/schemas/UserOrderByWithRelationInput"
authorId:
anyOf:
- anyOf:
- type: string
const: asc
- type: string
const: desc
- type: object
properties:
sort:
anyOf:
- type: string
const: asc
- type: string
const: desc
nulls:
anyOf:
- type: string
const: first
- type: string
const: last
required:
- sort
additionalProperties: false
published:
anyOf:
- type: string
const: asc
- type: string
const: desc
publishedAt:
anyOf:
- anyOf:
- type: string
const: asc
- type: string
const: desc
- type: object
properties:
sort:
anyOf:
- type: string
const: asc
- type: string
const: desc
nulls:
anyOf:
- type: string
const: first
- type: string
const: last
required:
- sort
additionalProperties: false
viewCount:
anyOf:
- type: string
const: asc
- type: string
const: desc
comments:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
post:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
postId:
anyOf:
- type: string
const: asc
- type: string
const: desc
content:
anyOf:
- type: string
const: asc
- type: string
const: desc
_count:
anyOf:
- type: string
const: asc
- type: string
const: desc
required:
- _count
additionalProperties: false
setting:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
additionalProperties: false
PostFindFirstArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/PostInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
type: number
const: 1
orderBy:
anyOf:
- $ref: "#/components/schemas/PostOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
cursor:
$ref: "#/components/schemas/PostCursorInput"
distinct:
$ref: "#/components/schemas/PostDistinctInput"
additionalProperties: false
PostFindManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/PostInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/PostOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
cursor:
$ref: "#/components/schemas/PostCursorInput"
distinct:
$ref: "#/components/schemas/PostDistinctInput"
additionalProperties: false
PostExistsArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
PostCreateData:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
authorId:
anyOf:
- type: string
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
required:
- title
additionalProperties: false
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
author:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
required:
- title
additionalProperties: false
PostCreateArgs:
type: object
properties:
data:
$ref: "#/components/schemas/PostCreateData"
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/PostInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
required:
- data
additionalProperties: false
PostCreateDataArrayWithoutRelation:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
authorId:
anyOf:
- type: string
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
required:
- title
additionalProperties: false
- type: array
items:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
authorId:
anyOf:
- type: string
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
required:
- title
additionalProperties: false
PostCreateManyPayload:
type: object
properties:
data:
$ref: "#/components/schemas/PostCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
PostCreateManyArgs:
type: object
properties:
data:
$ref: "#/components/schemas/PostCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
PostCreateManyAndReturnArgs:
type: object
properties:
data:
$ref: "#/components/schemas/PostCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
required:
- data
additionalProperties: false
PostUpdateData:
anyOf:
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
authorId:
anyOf:
- type: string
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
disconnect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
delete:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
set:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
updateMany:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
deleteMany:
anyOf:
- $ref: "#/components/schemas/CommentWhereInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
data:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
additionalProperties: false
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
author:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/UserWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/UserWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
data:
$ref: "#/components/schemas/UserUpdateDataWithoutposts"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/UserUpdateDataWithoutposts"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
update:
$ref: "#/components/schemas/UserUpdateDataWithoutposts"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
update:
$ref: "#/components/schemas/UserUpdateDataWithoutposts"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
disconnect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
delete:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
set:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
updateMany:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
deleteMany:
anyOf:
- $ref: "#/components/schemas/CommentWhereInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
data:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
additionalProperties: false
PostUpdateArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
data:
$ref: "#/components/schemas/PostUpdateData"
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/PostInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
required:
- where
- data
additionalProperties: false
PostUpdateDataWithoutRelation:
type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
authorId:
anyOf:
- type: string
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
additionalProperties: false
PostUpdateManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutRelation"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
required:
- data
additionalProperties: false
PostUpdateManyAndReturnArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutRelation"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
required:
- data
additionalProperties: false
PostUpsertArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateData"
update:
$ref: "#/components/schemas/PostUpdateData"
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/PostInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
required:
- where
- create
- update
additionalProperties: false
PostDeleteArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/PostInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
required:
- where
additionalProperties: false
PostDeleteManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
additionalProperties: false
PostCountAggregateInput:
anyOf:
- type: boolean
const: true
- type: object
properties:
_all:
type: boolean
const: true
id:
type: boolean
const: true
createdAt:
type: boolean
const: true
updatedAt:
type: boolean
const: true
title:
type: boolean
const: true
author:
type: boolean
const: true
authorId:
type: boolean
const: true
published:
type: boolean
const: true
publishedAt:
type: boolean
const: true
viewCount:
type: boolean
const: true
comments:
type: boolean
const: true
setting:
type: boolean
const: true
additionalProperties: false
PostCountArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/PostOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
select:
$ref: "#/components/schemas/PostCountAggregateInput"
additionalProperties: false
PostSumAvgAggregateInput:
type: object
properties:
id:
type: boolean
const: true
viewCount:
type: boolean
const: true
additionalProperties: false
PostMinMaxAggregateInput:
type: object
properties:
id:
type: boolean
const: true
createdAt:
type: boolean
const: true
updatedAt:
type: boolean
const: true
title:
type: boolean
const: true
authorId:
type: boolean
const: true
published:
type: boolean
const: true
publishedAt:
type: boolean
const: true
viewCount:
type: boolean
const: true
additionalProperties: false
PostAggregateArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/PostOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
_count:
$ref: "#/components/schemas/PostCountAggregateInput"
_avg:
$ref: "#/components/schemas/PostSumAvgAggregateInput"
_sum:
$ref: "#/components/schemas/PostSumAvgAggregateInput"
_min:
$ref: "#/components/schemas/PostMinMaxAggregateInput"
_max:
$ref: "#/components/schemas/PostMinMaxAggregateInput"
additionalProperties: false
PostOrderByWithAggregationInput:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
createdAt:
anyOf:
- type: string
const: asc
- type: string
const: desc
updatedAt:
anyOf:
- type: string
const: asc
- type: string
const: desc
title:
anyOf:
- type: string
const: asc
- type: string
const: desc
authorId:
anyOf:
- anyOf:
- type: string
const: asc
- type: string
const: desc
- type: object
properties:
sort:
anyOf:
- type: string
const: asc
- type: string
const: desc
nulls:
anyOf:
- type: string
const: first
- type: string
const: last
required:
- sort
additionalProperties: false
published:
anyOf:
- type: string
const: asc
- type: string
const: desc
publishedAt:
anyOf:
- anyOf:
- type: string
const: asc
- type: string
const: desc
- type: object
properties:
sort:
anyOf:
- type: string
const: asc
- type: string
const: desc
nulls:
anyOf:
- type: string
const: first
- type: string
const: last
required:
- sort
additionalProperties: false
viewCount:
anyOf:
- type: string
const: asc
- type: string
const: desc
_count:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
_avg:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
_sum:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
_min:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
_max:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
additionalProperties: false
StringFilterOptionalAgg:
anyOf:
- anyOf:
- type: string
- type: "null"
- type: object
properties:
equals:
anyOf:
- type: string
- type: "null"
in:
type: array
items:
type: string
notIn:
type: array
items:
type: string
lt:
type: string
lte:
type: string
gt:
type: string
gte:
type: string
between:
minItems: 2
maxItems: 2
type: array
items:
type: string
not:
$ref: "#/components/schemas/StringFilterOptionalAgg"
_count:
$ref: "#/components/schemas/IntFilter"
_min:
anyOf:
- type: string
- type: object
properties:
equals:
type: string
in:
type: array
items:
type: string
notIn:
type: array
items:
type: string
lt:
type: string
lte:
type: string
gt:
type: string
gte:
type: string
between:
minItems: 2
maxItems: 2
type: array
items:
type: string
not:
$ref: "#/components/schemas/StringFilterOptionalAgg"
additionalProperties: false
_max:
anyOf:
- type: string
- type: object
properties:
equals:
type: string
in:
type: array
items:
type: string
notIn:
type: array
items:
type: string
lt:
type: string
lte:
type: string
gt:
type: string
gte:
type: string
between:
minItems: 2
maxItems: 2
type: array
items:
type: string
not:
$ref: "#/components/schemas/StringFilterOptionalAgg"
additionalProperties: false
startsWith:
type: string
endsWith:
type: string
contains:
type: string
mode:
anyOf:
- type: string
const: default
- type: string
const: insensitive
additionalProperties: false
BooleanFilterAgg:
anyOf:
- type: boolean
- type: object
properties:
equals:
type: boolean
not:
$ref: "#/components/schemas/BooleanFilterAgg"
_count:
$ref: "#/components/schemas/IntFilter"
_min:
anyOf:
- type: boolean
- type: object
properties:
equals:
type: boolean
in:
type: array
items:
type: boolean
notIn:
type: array
items:
type: boolean
lt:
type: boolean
lte:
type: boolean
gt:
type: boolean
gte:
type: boolean
between:
minItems: 2
maxItems: 2
type: array
items:
type: boolean
not:
$ref: "#/components/schemas/BooleanFilterAgg"
additionalProperties: false
_max:
anyOf:
- type: boolean
- type: object
properties:
equals:
type: boolean
in:
type: array
items:
type: boolean
notIn:
type: array
items:
type: boolean
lt:
type: boolean
lte:
type: boolean
gt:
type: boolean
gte:
type: boolean
between:
minItems: 2
maxItems: 2
type: array
items:
type: boolean
not:
$ref: "#/components/schemas/BooleanFilterAgg"
additionalProperties: false
additionalProperties: false
DateTimeFilterOptionalAgg:
anyOf:
- anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
- type: object
properties:
equals:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
in:
type: array
items:
$ref: "#/components/schemas/DateTime"
notIn:
type: array
items:
$ref: "#/components/schemas/DateTime"
lt:
$ref: "#/components/schemas/DateTime"
lte:
$ref: "#/components/schemas/DateTime"
gt:
$ref: "#/components/schemas/DateTime"
gte:
$ref: "#/components/schemas/DateTime"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/DateTime"
not:
$ref: "#/components/schemas/DateTimeFilterOptionalAgg"
_count:
$ref: "#/components/schemas/IntFilter"
_min:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: object
properties:
equals:
$ref: "#/components/schemas/DateTime"
in:
type: array
items:
$ref: "#/components/schemas/DateTime"
notIn:
type: array
items:
$ref: "#/components/schemas/DateTime"
lt:
$ref: "#/components/schemas/DateTime"
lte:
$ref: "#/components/schemas/DateTime"
gt:
$ref: "#/components/schemas/DateTime"
gte:
$ref: "#/components/schemas/DateTime"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/DateTime"
not:
$ref: "#/components/schemas/DateTimeFilterOptionalAgg"
additionalProperties: false
_max:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: object
properties:
equals:
$ref: "#/components/schemas/DateTime"
in:
type: array
items:
$ref: "#/components/schemas/DateTime"
notIn:
type: array
items:
$ref: "#/components/schemas/DateTime"
lt:
$ref: "#/components/schemas/DateTime"
lte:
$ref: "#/components/schemas/DateTime"
gt:
$ref: "#/components/schemas/DateTime"
gte:
$ref: "#/components/schemas/DateTime"
between:
minItems: 2
maxItems: 2
type: array
items:
$ref: "#/components/schemas/DateTime"
not:
$ref: "#/components/schemas/DateTimeFilterOptionalAgg"
additionalProperties: false
additionalProperties: false
PostWhereInputWithoutRelationWithAggregation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilterAgg"
createdAt:
$ref: "#/components/schemas/DateTimeFilterAgg"
updatedAt:
$ref: "#/components/schemas/DateTimeFilterAgg"
title:
$ref: "#/components/schemas/StringFilterAgg"
authorId:
$ref: "#/components/schemas/StringFilterOptionalAgg"
published:
$ref: "#/components/schemas/BooleanFilterAgg"
publishedAt:
$ref: "#/components/schemas/DateTimeFilterOptionalAgg"
viewCount:
$ref: "#/components/schemas/IntFilterAgg"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/PostWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/PostWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
additionalProperties: false
PostGroupByArgs:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
orderBy:
anyOf:
- $ref: "#/components/schemas/PostOrderByWithAggregationInput"
- type: array
items:
$ref: "#/components/schemas/PostOrderByWithAggregationInput"
by:
anyOf:
- type: string
enum:
- id
- createdAt
- updatedAt
- title
- authorId
- published
- publishedAt
- viewCount
- type: array
items:
type: string
enum:
- id
- createdAt
- updatedAt
- title
- authorId
- published
- publishedAt
- viewCount
having:
$ref: "#/components/schemas/PostWhereInputWithoutRelationWithAggregation"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
_count:
$ref: "#/components/schemas/PostCountAggregateInput"
_avg:
$ref: "#/components/schemas/PostSumAvgAggregateInput"
_sum:
$ref: "#/components/schemas/PostSumAvgAggregateInput"
_min:
$ref: "#/components/schemas/PostMinMaxAggregateInput"
_max:
$ref: "#/components/schemas/PostMinMaxAggregateInput"
required:
- by
additionalProperties: false
CommentWhereUniqueInput:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
post:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: object
properties:
is:
$ref: "#/components/schemas/PostWhereInput"
isNot:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
postId:
$ref: "#/components/schemas/IntFilter"
content:
$ref: "#/components/schemas/StringFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/CommentWhereInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
OR:
type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
NOT:
anyOf:
- $ref: "#/components/schemas/CommentWhereInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
required:
- id
additionalProperties: false
CommentPostRelationInput:
anyOf:
- type: boolean
- type: object
properties:
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/PostInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
additionalProperties: false
CommentSelect:
type: object
properties:
id:
type: boolean
post:
$ref: "#/components/schemas/CommentPostRelationInput"
postId:
type: boolean
content:
type: boolean
additionalProperties: false
CommentInclude:
type: object
properties:
post:
$ref: "#/components/schemas/CommentPostRelationInput"
additionalProperties: false
CommentOmitInput:
type: object
properties:
id:
type: boolean
postId:
type: boolean
content:
type: boolean
additionalProperties: false
CommentFindUniqueArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
select:
anyOf:
- $ref: "#/components/schemas/CommentSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/CommentInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/CommentOmitInput"
- type: "null"
required:
- where
additionalProperties: false
CommentOrderByWithRelationInput:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
post:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
postId:
anyOf:
- type: string
const: asc
- type: string
const: desc
content:
anyOf:
- type: string
const: asc
- type: string
const: desc
additionalProperties: false
CommentFindFirstArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/CommentSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/CommentInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/CommentOmitInput"
- type: "null"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
type: number
const: 1
orderBy:
anyOf:
- $ref: "#/components/schemas/CommentOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/CommentOrderByWithRelationInput"
cursor:
$ref: "#/components/schemas/CommentCursorInput"
distinct:
$ref: "#/components/schemas/CommentDistinctInput"
additionalProperties: false
CommentFindManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/CommentSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/CommentInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/CommentOmitInput"
- type: "null"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/CommentOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/CommentOrderByWithRelationInput"
cursor:
$ref: "#/components/schemas/CommentCursorInput"
distinct:
$ref: "#/components/schemas/CommentDistinctInput"
additionalProperties: false
CommentExistsArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
additionalProperties: false
CommentCreateData:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
postId:
$ref: "#/components/schemas/_integer"
content:
type: string
required:
- postId
- content
additionalProperties: false
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
post:
type: object
properties:
connect:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutcomments"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutcomments"
required:
- where
- create
additionalProperties: false
additionalProperties: false
content:
type: string
required:
- post
- content
additionalProperties: false
CommentCreateArgs:
type: object
properties:
data:
$ref: "#/components/schemas/CommentCreateData"
select:
anyOf:
- $ref: "#/components/schemas/CommentSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/CommentInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/CommentOmitInput"
- type: "null"
required:
- data
additionalProperties: false
CommentCreateDataArrayWithoutRelation:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
postId:
$ref: "#/components/schemas/_integer"
content:
type: string
required:
- postId
- content
additionalProperties: false
- type: array
items:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
postId:
$ref: "#/components/schemas/_integer"
content:
type: string
required:
- postId
- content
additionalProperties: false
CommentCreateManyPayload:
type: object
properties:
data:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
CommentCreateManyArgs:
type: object
properties:
data:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
CommentCreateManyAndReturnArgs:
type: object
properties:
data:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
select:
anyOf:
- $ref: "#/components/schemas/CommentSelect"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/CommentOmitInput"
- type: "null"
required:
- data
additionalProperties: false
CommentUpdateData:
anyOf:
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
postId:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
content:
type: string
additionalProperties: false
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
post:
type: object
properties:
connect:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutcomments"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutcomments"
required:
- where
- create
additionalProperties: false
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutcomments"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/PostUpdateDataWithoutcomments"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutcomments"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutcomments"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutcomments"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutcomments"
required:
- create
- update
additionalProperties: false
additionalProperties: false
content:
type: string
additionalProperties: false
CommentUpdateArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateData"
select:
anyOf:
- $ref: "#/components/schemas/CommentSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/CommentInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/CommentOmitInput"
- type: "null"
required:
- where
- data
additionalProperties: false
CommentUpdateDataWithoutRelation:
type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
postId:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
content:
type: string
additionalProperties: false
CommentUpdateManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutRelation"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
required:
- data
additionalProperties: false
CommentUpdateManyAndReturnArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutRelation"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
select:
anyOf:
- $ref: "#/components/schemas/CommentSelect"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/CommentOmitInput"
- type: "null"
required:
- data
additionalProperties: false
CommentUpsertArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateData"
update:
$ref: "#/components/schemas/CommentUpdateData"
select:
anyOf:
- $ref: "#/components/schemas/CommentSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/CommentInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/CommentOmitInput"
- type: "null"
required:
- where
- create
- update
additionalProperties: false
CommentDeleteArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
select:
anyOf:
- $ref: "#/components/schemas/CommentSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/CommentInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/CommentOmitInput"
- type: "null"
required:
- where
additionalProperties: false
CommentDeleteManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
additionalProperties: false
CommentCountAggregateInput:
anyOf:
- type: boolean
const: true
- type: object
properties:
_all:
type: boolean
const: true
id:
type: boolean
const: true
post:
type: boolean
const: true
postId:
type: boolean
const: true
content:
type: boolean
const: true
additionalProperties: false
CommentCountArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/CommentOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/CommentOrderByWithRelationInput"
select:
$ref: "#/components/schemas/CommentCountAggregateInput"
additionalProperties: false
CommentSumAvgAggregateInput:
type: object
properties:
id:
type: boolean
const: true
postId:
type: boolean
const: true
additionalProperties: false
CommentMinMaxAggregateInput:
type: object
properties:
id:
type: boolean
const: true
postId:
type: boolean
const: true
content:
type: boolean
const: true
additionalProperties: false
CommentAggregateArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/CommentOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/CommentOrderByWithRelationInput"
_count:
$ref: "#/components/schemas/CommentCountAggregateInput"
_avg:
$ref: "#/components/schemas/CommentSumAvgAggregateInput"
_sum:
$ref: "#/components/schemas/CommentSumAvgAggregateInput"
_min:
$ref: "#/components/schemas/CommentMinMaxAggregateInput"
_max:
$ref: "#/components/schemas/CommentMinMaxAggregateInput"
additionalProperties: false
CommentOrderByWithAggregationInput:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
postId:
anyOf:
- type: string
const: asc
- type: string
const: desc
content:
anyOf:
- type: string
const: asc
- type: string
const: desc
_count:
$ref: "#/components/schemas/CommentOrderByWithRelationInput"
_avg:
$ref: "#/components/schemas/CommentOrderByWithRelationInput"
_sum:
$ref: "#/components/schemas/CommentOrderByWithRelationInput"
_min:
$ref: "#/components/schemas/CommentOrderByWithRelationInput"
_max:
$ref: "#/components/schemas/CommentOrderByWithRelationInput"
additionalProperties: false
CommentWhereInputWithoutRelationWithAggregation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilterAgg"
postId:
$ref: "#/components/schemas/IntFilterAgg"
content:
$ref: "#/components/schemas/StringFilterAgg"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/CommentWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/CommentWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
additionalProperties: false
CommentGroupByArgs:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInput"
orderBy:
anyOf:
- $ref: "#/components/schemas/CommentOrderByWithAggregationInput"
- type: array
items:
$ref: "#/components/schemas/CommentOrderByWithAggregationInput"
by:
anyOf:
- type: string
enum:
- id
- postId
- content
- type: array
items:
type: string
enum:
- id
- postId
- content
having:
$ref: "#/components/schemas/CommentWhereInputWithoutRelationWithAggregation"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
_count:
$ref: "#/components/schemas/CommentCountAggregateInput"
_avg:
$ref: "#/components/schemas/CommentSumAvgAggregateInput"
_sum:
$ref: "#/components/schemas/CommentSumAvgAggregateInput"
_min:
$ref: "#/components/schemas/CommentMinMaxAggregateInput"
_max:
$ref: "#/components/schemas/CommentMinMaxAggregateInput"
required:
- by
additionalProperties: false
SettingWhereUniqueInput:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
boost:
$ref: "#/components/schemas/IntFilter"
post:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: object
properties:
is:
$ref: "#/components/schemas/PostWhereInput"
isNot:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
postId:
$ref: "#/components/schemas/IntFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/SettingWhereInput"
- type: array
items:
$ref: "#/components/schemas/SettingWhereInput"
OR:
type: array
items:
$ref: "#/components/schemas/SettingWhereInput"
NOT:
anyOf:
- $ref: "#/components/schemas/SettingWhereInput"
- type: array
items:
$ref: "#/components/schemas/SettingWhereInput"
additionalProperties: false
SettingPostRelationInput:
anyOf:
- type: boolean
- type: object
properties:
select:
anyOf:
- $ref: "#/components/schemas/PostSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/PostInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/PostOmitInput"
- type: "null"
additionalProperties: false
SettingSelect:
type: object
properties:
id:
type: boolean
boost:
type: boolean
post:
$ref: "#/components/schemas/SettingPostRelationInput"
postId:
type: boolean
additionalProperties: false
SettingInclude:
type: object
properties:
post:
$ref: "#/components/schemas/SettingPostRelationInput"
additionalProperties: false
SettingOmitInput:
type: object
properties:
id:
type: boolean
boost:
type: boolean
postId:
type: boolean
additionalProperties: false
SettingFindUniqueArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
select:
anyOf:
- $ref: "#/components/schemas/SettingSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/SettingInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/SettingOmitInput"
- type: "null"
required:
- where
additionalProperties: false
SettingWhereInput:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
boost:
$ref: "#/components/schemas/IntFilter"
post:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: object
properties:
is:
$ref: "#/components/schemas/PostWhereInput"
isNot:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
postId:
$ref: "#/components/schemas/IntFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/SettingWhereInput"
- type: array
items:
$ref: "#/components/schemas/SettingWhereInput"
OR:
type: array
items:
$ref: "#/components/schemas/SettingWhereInput"
NOT:
anyOf:
- $ref: "#/components/schemas/SettingWhereInput"
- type: array
items:
$ref: "#/components/schemas/SettingWhereInput"
additionalProperties: false
SettingOrderByWithRelationInput:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
boost:
anyOf:
- type: string
const: asc
- type: string
const: desc
post:
$ref: "#/components/schemas/PostOrderByWithRelationInput"
postId:
anyOf:
- type: string
const: asc
- type: string
const: desc
additionalProperties: false
SettingWhereUniqueInputWithoutRelation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
boost:
$ref: "#/components/schemas/IntFilter"
postId:
$ref: "#/components/schemas/IntFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/SettingWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/SettingWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/SettingWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/SettingWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/SettingWhereInputWithoutRelation"
additionalProperties: false
SettingCursorInput:
$ref: "#/components/schemas/SettingWhereUniqueInputWithoutRelation"
SettingDistinctInput:
anyOf:
- type: string
enum:
- id
- boost
- postId
- type: array
items:
type: string
enum:
- id
- boost
- postId
SettingFindFirstArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/SettingSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/SettingInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/SettingOmitInput"
- type: "null"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
type: number
const: 1
orderBy:
anyOf:
- $ref: "#/components/schemas/SettingOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
cursor:
$ref: "#/components/schemas/SettingCursorInput"
distinct:
$ref: "#/components/schemas/SettingDistinctInput"
additionalProperties: false
SettingFindManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
select:
anyOf:
- $ref: "#/components/schemas/SettingSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/SettingInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/SettingOmitInput"
- type: "null"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/SettingOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
cursor:
$ref: "#/components/schemas/SettingCursorInput"
distinct:
$ref: "#/components/schemas/SettingDistinctInput"
additionalProperties: false
SettingExistsArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
additionalProperties: false
SettingCreateData:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
boost:
$ref: "#/components/schemas/_integer"
postId:
$ref: "#/components/schemas/_integer"
required:
- boost
- postId
additionalProperties: false
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
boost:
$ref: "#/components/schemas/_integer"
post:
type: object
properties:
connect:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutsetting"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutsetting"
required:
- where
- create
additionalProperties: false
additionalProperties: false
required:
- boost
- post
additionalProperties: false
SettingCreateArgs:
type: object
properties:
data:
$ref: "#/components/schemas/SettingCreateData"
select:
anyOf:
- $ref: "#/components/schemas/SettingSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/SettingInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/SettingOmitInput"
- type: "null"
required:
- data
additionalProperties: false
SettingCreateDataArrayWithoutRelation:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
boost:
$ref: "#/components/schemas/_integer"
postId:
$ref: "#/components/schemas/_integer"
required:
- boost
- postId
additionalProperties: false
- type: array
items:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
boost:
$ref: "#/components/schemas/_integer"
postId:
$ref: "#/components/schemas/_integer"
required:
- boost
- postId
additionalProperties: false
SettingCreateManyPayload:
type: object
properties:
data:
$ref: "#/components/schemas/SettingCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
SettingCreateManyArgs:
type: object
properties:
data:
$ref: "#/components/schemas/SettingCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
SettingCreateManyAndReturnArgs:
type: object
properties:
data:
$ref: "#/components/schemas/SettingCreateDataArrayWithoutRelation"
skipDuplicates:
type: boolean
select:
anyOf:
- $ref: "#/components/schemas/SettingSelect"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/SettingOmitInput"
- type: "null"
required:
- data
additionalProperties: false
SettingUpdateData:
anyOf:
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
boost:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
postId:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
additionalProperties: false
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
boost:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
post:
type: object
properties:
connect:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutsetting"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutsetting"
required:
- where
- create
additionalProperties: false
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutsetting"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/PostUpdateDataWithoutsetting"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutsetting"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutsetting"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutsetting"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutsetting"
required:
- create
- update
additionalProperties: false
additionalProperties: false
additionalProperties: false
SettingUpdateArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
data:
$ref: "#/components/schemas/SettingUpdateData"
select:
anyOf:
- $ref: "#/components/schemas/SettingSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/SettingInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/SettingOmitInput"
- type: "null"
required:
- where
- data
additionalProperties: false
SettingUpdateDataWithoutRelation:
type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
boost:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
postId:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
additionalProperties: false
SettingUpdateManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
data:
$ref: "#/components/schemas/SettingUpdateDataWithoutRelation"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
required:
- data
additionalProperties: false
SettingUpdateManyAndReturnArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
data:
$ref: "#/components/schemas/SettingUpdateDataWithoutRelation"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
select:
anyOf:
- $ref: "#/components/schemas/SettingSelect"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/SettingOmitInput"
- type: "null"
required:
- data
additionalProperties: false
SettingUpsertArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateData"
update:
$ref: "#/components/schemas/SettingUpdateData"
select:
anyOf:
- $ref: "#/components/schemas/SettingSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/SettingInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/SettingOmitInput"
- type: "null"
required:
- where
- create
- update
additionalProperties: false
SettingDeleteArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
select:
anyOf:
- $ref: "#/components/schemas/SettingSelect"
- type: "null"
include:
anyOf:
- $ref: "#/components/schemas/SettingInclude"
- type: "null"
omit:
anyOf:
- $ref: "#/components/schemas/SettingOmitInput"
- type: "null"
required:
- where
additionalProperties: false
SettingDeleteManyArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
limit:
$ref: "#/components/schemas/_nonNegativeInteger"
additionalProperties: false
SettingCountAggregateInput:
anyOf:
- type: boolean
const: true
- type: object
properties:
_all:
type: boolean
const: true
id:
type: boolean
const: true
boost:
type: boolean
const: true
post:
type: boolean
const: true
postId:
type: boolean
const: true
additionalProperties: false
SettingCountArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/SettingOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
select:
$ref: "#/components/schemas/SettingCountAggregateInput"
additionalProperties: false
SettingSumAvgAggregateInput:
type: object
properties:
id:
type: boolean
const: true
boost:
type: boolean
const: true
postId:
type: boolean
const: true
additionalProperties: false
SettingMinMaxAggregateInput:
type: object
properties:
id:
type: boolean
const: true
boost:
type: boolean
const: true
postId:
type: boolean
const: true
additionalProperties: false
SettingAggregateArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
orderBy:
anyOf:
- $ref: "#/components/schemas/SettingOrderByWithRelationInput"
- type: array
items:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
_count:
$ref: "#/components/schemas/SettingCountAggregateInput"
_avg:
$ref: "#/components/schemas/SettingSumAvgAggregateInput"
_sum:
$ref: "#/components/schemas/SettingSumAvgAggregateInput"
_min:
$ref: "#/components/schemas/SettingMinMaxAggregateInput"
_max:
$ref: "#/components/schemas/SettingMinMaxAggregateInput"
additionalProperties: false
SettingOrderByWithAggregationInput:
type: object
properties:
id:
anyOf:
- type: string
const: asc
- type: string
const: desc
boost:
anyOf:
- type: string
const: asc
- type: string
const: desc
postId:
anyOf:
- type: string
const: asc
- type: string
const: desc
_count:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
_avg:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
_sum:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
_min:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
_max:
$ref: "#/components/schemas/SettingOrderByWithRelationInput"
additionalProperties: false
SettingWhereInputWithoutRelationWithAggregation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilterAgg"
boost:
$ref: "#/components/schemas/IntFilterAgg"
postId:
$ref: "#/components/schemas/IntFilterAgg"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/SettingWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/SettingWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/SettingWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/SettingWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/SettingWhereInputWithoutRelation"
additionalProperties: false
SettingGroupByArgs:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
orderBy:
anyOf:
- $ref: "#/components/schemas/SettingOrderByWithAggregationInput"
- type: array
items:
$ref: "#/components/schemas/SettingOrderByWithAggregationInput"
by:
anyOf:
- type: string
enum:
- id
- boost
- postId
- type: array
items:
type: string
enum:
- id
- boost
- postId
having:
$ref: "#/components/schemas/SettingWhereInputWithoutRelationWithAggregation"
skip:
$ref: "#/components/schemas/_nonNegativeInteger"
take:
$ref: "#/components/schemas/_integer"
_count:
$ref: "#/components/schemas/SettingCountAggregateInput"
_avg:
$ref: "#/components/schemas/SettingSumAvgAggregateInput"
_sum:
$ref: "#/components/schemas/SettingSumAvgAggregateInput"
_min:
$ref: "#/components/schemas/SettingMinMaxAggregateInput"
_max:
$ref: "#/components/schemas/SettingMinMaxAggregateInput"
required:
- by
additionalProperties: false
findPostsByUserProcArgs:
type: object
properties:
userId:
type: string
required:
- userId
additionalProperties: false
getPostCountProcArgs:
type: object
properties:
userId:
type: string
published:
type: boolean
required:
- userId
additionalProperties: false
publishPostProcArgs:
type: object
properties:
postId:
$ref: "#/components/schemas/_integer"
required:
- postId
additionalProperties: false
PostWhereInputWithoutRelation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
createdAt:
$ref: "#/components/schemas/DateTimeFilter"
updatedAt:
$ref: "#/components/schemas/DateTimeFilter"
title:
$ref: "#/components/schemas/StringFilter"
authorId:
$ref: "#/components/schemas/StringFilterOptional"
published:
$ref: "#/components/schemas/BooleanFilter"
publishedAt:
$ref: "#/components/schemas/DateTimeFilterOptional"
viewCount:
$ref: "#/components/schemas/IntFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/PostWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/PostWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
additionalProperties: false
CommentWhereInputWithoutRelation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
postId:
$ref: "#/components/schemas/IntFilter"
content:
$ref: "#/components/schemas/StringFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/CommentWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/CommentWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
additionalProperties: false
UserWhereInputWithoutRelation:
type: object
properties:
myId:
$ref: "#/components/schemas/StringFilter"
createdAt:
$ref: "#/components/schemas/DateTimeFilter"
updatedAt:
$ref: "#/components/schemas/DateTimeFilter"
email:
$ref: "#/components/schemas/StringFilter"
address:
$ref: "#/components/schemas/AddressFilterOptional"
someJson:
$ref: "#/components/schemas/JsonFilterOptional"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/UserWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/UserWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/UserWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/UserWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/UserWhereInputWithoutRelation"
additionalProperties: false
PostCreateDataArrayWithoutauthorauthorId:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
required:
- title
additionalProperties: false
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
required:
- title
additionalProperties: false
- type: array
items:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
required:
- title
additionalProperties: false
- type: array
items:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
required:
- title
additionalProperties: false
PostCreateDataWithoutauthorauthorId:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
required:
- title
additionalProperties: false
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
required:
- title
additionalProperties: false
PostCreateDataArrayWithoutRelationWithoutauthorauthorId:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
required:
- title
additionalProperties: false
- type: array
items:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
required:
- title
additionalProperties: false
PostCreateManyPayloadWithoutauthorauthorId:
type: object
properties:
data:
$ref: "#/components/schemas/PostCreateDataArrayWithoutRelationWithoutauthorauthorId"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
CommentCreateDataArrayWithoutpostpostId:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
content:
type: string
required:
- content
additionalProperties: false
- type: array
items:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
content:
type: string
required:
- content
additionalProperties: false
CommentCreateDataWithoutpostpostId:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
content:
type: string
required:
- content
additionalProperties: false
CommentCreateDataArrayWithoutRelationWithoutpostpostId:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
content:
type: string
required:
- content
additionalProperties: false
- type: array
items:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
content:
type: string
required:
- content
additionalProperties: false
CommentCreateManyPayloadWithoutpostpostId:
type: object
properties:
data:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutRelationWithoutpostpostId"
skipDuplicates:
type: boolean
required:
- data
additionalProperties: false
SettingCreateDataWithoutpostpostId:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
boost:
$ref: "#/components/schemas/_integer"
required:
- boost
additionalProperties: false
ProfileCreateDataWithoutuseruserId:
type: object
properties:
id:
$ref: "#/components/schemas/_integer"
gender:
type: string
required:
- gender
additionalProperties: false
PostUpdateDataWithoutauthorauthorId:
anyOf:
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
disconnect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
delete:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
set:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
updateMany:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
deleteMany:
anyOf:
- $ref: "#/components/schemas/CommentWhereInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
data:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
additionalProperties: false
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
disconnect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
delete:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
set:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
updateMany:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
deleteMany:
anyOf:
- $ref: "#/components/schemas/CommentWhereInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
data:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
additionalProperties: false
CommentUpdateDataWithoutpostpostId:
type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
content:
type: string
additionalProperties: false
SettingUpdateDataWithoutpostpostId:
type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
boost:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
additionalProperties: false
ProfileUpdateDataWithoutuseruserId:
type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
gender:
type: string
additionalProperties: false
ProfileWhereInputWithoutRelation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
gender:
$ref: "#/components/schemas/StringFilter"
userId:
$ref: "#/components/schemas/StringFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/ProfileWhereInputWithoutRelation"
additionalProperties: false
UserCreateDataWithoutprofile:
anyOf:
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
posts:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataArrayWithoutauthorauthorId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/PostCreateManyPayloadWithoutauthorauthorId"
additionalProperties: false
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
required:
- email
additionalProperties: false
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
posts:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataArrayWithoutauthorauthorId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/PostCreateManyPayloadWithoutauthorauthorId"
additionalProperties: false
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
required:
- email
additionalProperties: false
UserUpdateDataWithoutprofile:
anyOf:
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
posts:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataArrayWithoutauthorauthorId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/PostCreateManyPayloadWithoutauthorauthorId"
disconnect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
delete:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- create
- update
additionalProperties: false
set:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
updateMany:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
deleteMany:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
additionalProperties: false
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
posts:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataArrayWithoutauthorauthorId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/PostCreateManyPayloadWithoutauthorauthorId"
disconnect:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
delete:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereUniqueInput"
create:
$ref: "#/components/schemas/PostCreateDataWithoutauthorauthorId"
update:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- create
- update
additionalProperties: false
set:
anyOf:
- $ref: "#/components/schemas/PostWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereUniqueInput"
updateMany:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/PostWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/PostUpdateDataWithoutauthorauthorId"
required:
- where
- data
additionalProperties: false
deleteMany:
anyOf:
- $ref: "#/components/schemas/PostWhereInput"
- type: array
items:
$ref: "#/components/schemas/PostWhereInput"
additionalProperties: false
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
additionalProperties: false
UserCreateDataWithoutposts:
anyOf:
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
profile:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
required:
- email
additionalProperties: false
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
profile:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
required:
- email
additionalProperties: false
UserUpdateDataWithoutposts:
anyOf:
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
profile:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/ProfileWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/ProfileWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
data:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
update:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
update:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
additionalProperties: false
- type: object
properties:
myId:
type: string
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
email:
type: string
format: email
pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
profile:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/ProfileWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/ProfileWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereInput"
data:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
update:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/ProfileWhereUniqueInput"
create:
$ref: "#/components/schemas/ProfileCreateDataWithoutuseruserId"
update:
$ref: "#/components/schemas/ProfileUpdateDataWithoutuseruserId"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
address: {}
someJson:
anyOf:
- $ref: "#/components/schemas/JsonValue"
- {}
additionalProperties: false
PostCreateDataWithoutcomments:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
authorId:
anyOf:
- type: string
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
required:
- title
additionalProperties: false
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
author:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
required:
- title
additionalProperties: false
PostUpdateDataWithoutcomments:
anyOf:
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
authorId:
anyOf:
- type: string
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
data:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
additionalProperties: false
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
author:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/UserWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/UserWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
data:
$ref: "#/components/schemas/UserUpdateDataWithoutposts"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/UserUpdateDataWithoutposts"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
update:
$ref: "#/components/schemas/UserUpdateDataWithoutposts"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
update:
$ref: "#/components/schemas/UserUpdateDataWithoutposts"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
setting:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/SettingWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereInput"
data:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/SettingWhereUniqueInput"
create:
$ref: "#/components/schemas/SettingCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/SettingUpdateDataWithoutpostpostId"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
additionalProperties: false
SettingWhereInputWithoutRelation:
type: object
properties:
id:
$ref: "#/components/schemas/IntFilter"
boost:
$ref: "#/components/schemas/IntFilter"
postId:
$ref: "#/components/schemas/IntFilter"
$expr: {}
AND:
anyOf:
- $ref: "#/components/schemas/SettingWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/SettingWhereInputWithoutRelation"
OR:
type: array
items:
$ref: "#/components/schemas/SettingWhereInputWithoutRelation"
NOT:
anyOf:
- $ref: "#/components/schemas/SettingWhereInputWithoutRelation"
- type: array
items:
$ref: "#/components/schemas/SettingWhereInputWithoutRelation"
additionalProperties: false
PostCreateDataWithoutsetting:
anyOf:
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
authorId:
anyOf:
- type: string
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
additionalProperties: false
required:
- title
additionalProperties: false
- type: object
properties:
id:
$ref: "#/components/schemas/_integer"
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
author:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
required:
- where
- create
additionalProperties: false
additionalProperties: false
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
$ref: "#/components/schemas/_integer"
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
additionalProperties: false
required:
- title
additionalProperties: false
PostUpdateDataWithoutsetting:
anyOf:
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
authorId:
anyOf:
- type: string
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
disconnect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
delete:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
set:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
updateMany:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
deleteMany:
anyOf:
- $ref: "#/components/schemas/CommentWhereInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
additionalProperties: false
additionalProperties: false
- type: object
properties:
id:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
createdAt:
$ref: "#/components/schemas/DateTime"
updatedAt:
$ref: "#/components/schemas/DateTime"
title:
type: string
minLength: 1
maxLength: 10
author:
anyOf:
- type: object
properties:
connect:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
connectOrCreate:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
required:
- where
- create
additionalProperties: false
disconnect:
anyOf:
- type: boolean
- $ref: "#/components/schemas/UserWhereInput"
delete:
anyOf:
- type: boolean
- $ref: "#/components/schemas/UserWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/UserWhereInput"
data:
$ref: "#/components/schemas/UserUpdateDataWithoutposts"
required:
- data
additionalProperties: false
- $ref: "#/components/schemas/UserUpdateDataWithoutposts"
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
update:
$ref: "#/components/schemas/UserUpdateDataWithoutposts"
required:
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/UserWhereUniqueInput"
create:
$ref: "#/components/schemas/UserCreateDataWithoutposts"
update:
$ref: "#/components/schemas/UserUpdateDataWithoutposts"
required:
- create
- update
additionalProperties: false
additionalProperties: false
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- $ref: "#/components/schemas/DateTime"
- type: "null"
viewCount:
anyOf:
- $ref: "#/components/schemas/_integer"
- type: object
properties:
set:
type: number
increment:
type: number
decrement:
type: number
multiply:
type: number
divide:
type: number
additionalProperties: false
comments:
type: object
properties:
connect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataArrayWithoutpostpostId"
connectOrCreate:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
required:
- where
- create
additionalProperties: false
createMany:
$ref: "#/components/schemas/CommentCreateManyPayloadWithoutpostpostId"
disconnect:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
delete:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
update:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
upsert:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereUniqueInput"
create:
$ref: "#/components/schemas/CommentCreateDataWithoutpostpostId"
update:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- create
- update
additionalProperties: false
set:
anyOf:
- $ref: "#/components/schemas/CommentWhereUniqueInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereUniqueInput"
updateMany:
anyOf:
- type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
- type: array
items:
type: object
properties:
where:
$ref: "#/components/schemas/CommentWhereInputWithoutRelation"
data:
$ref: "#/components/schemas/CommentUpdateDataWithoutpostpostId"
required:
- where
- data
additionalProperties: false
deleteMany:
anyOf:
- $ref: "#/components/schemas/CommentWhereInput"
- type: array
items:
$ref: "#/components/schemas/CommentWhereInput"
additionalProperties: false
additionalProperties: false
User:
type: object
properties:
myId:
type: string
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
email:
type: string
posts:
type: array
items:
$ref: "#/components/schemas/Post"
profile:
anyOf:
- $ref: "#/components/schemas/Profile"
- type: "null"
address:
anyOf:
- $ref: "#/components/schemas/Address"
- type: "null"
someJson:
anyOf:
- {}
- type: "null"
required:
- myId
- createdAt
- updatedAt
- email
- address
- someJson
Profile:
type: object
properties:
id:
type: integer
gender:
type: string
user:
$ref: "#/components/schemas/User"
userId:
type: string
required:
- id
- gender
- userId
Post:
type: object
properties:
id:
type: integer
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
title:
type: string
author:
anyOf:
- $ref: "#/components/schemas/User"
- type: "null"
authorId:
anyOf:
- type: string
- type: "null"
published:
type: boolean
publishedAt:
anyOf:
- type: string
format: date-time
- type: "null"
viewCount:
type: integer
comments:
type: array
items:
$ref: "#/components/schemas/Comment"
setting:
anyOf:
- $ref: "#/components/schemas/Setting"
- type: "null"
required:
- id
- createdAt
- updatedAt
- title
- authorId
- published
- publishedAt
- viewCount
Comment:
type: object
properties:
id:
type: integer
post:
$ref: "#/components/schemas/Post"
postId:
type: integer
content:
type: string
required:
- id
- postId
- content
Setting:
type: object
properties:
id:
type: integer
boost:
type: integer
post:
$ref: "#/components/schemas/Post"
postId:
type: integer
required:
- id
- boost
- postId
_integer:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
_nonNegativeInteger:
type: integer
minimum: 0
maximum: 9007199254740991
_rpcSuccessResponse:
type: object
properties:
data: {}
meta:
type: object
properties:
serialization: {}
_rpcErrorResponse:
type: object
properties:
error:
type: object
properties:
message:
type: string
reason:
type: string
model:
type: string
rejectedByPolicy:
type: boolean
rejectedByValidation:
type: boolean
rejectReason:
type: string
dbErrorCode:
type: string
required:
- message
required:
- error
_rpcTransactionRequest:
type: array
items:
type: object
properties:
model:
type: string
op:
type: string
enum:
- findMany
- findUnique
- findFirst
- create
- createMany
- createManyAndReturn
- update
- updateMany
- updateManyAndReturn
- upsert
- delete
- deleteMany
- count
- aggregate
- groupBy
- exists
args:
type: object
required:
- model
- op