Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // index.d.ts
- //FRIENDS
- export type FriendsCreateInput = {
- id?: string
- createAt?: Date | string
- updateAt?: Date | string
- usersFriends: UsersCreateNestedOneWithoutUserInFriendInput
- friend: UsersCreateNestedOneWithoutFriendInput
- }
- export type FriendsUncheckedCreateInput = {
- id?: string
- usernameId: string
- friendId: string
- createAt?: Date | string
- updateAt?: Date | string
- }
- export type FriendsWhereUniqueInput = {
- id?: string
- usernameId?: string
- }
- //GROUPS
- export type GroupsCreateInput = {
- groupId?: string
- name: string
- description: string
- logoUrl?: string | null
- createAt?: Date | string
- updateAt?: Date | string
- owner: UsersCreateNestedOneWithoutOwnerInput
- moderator?: UsersCreateNestedOneWithoutModeratorInput
- user?: UsersCreateNestedOneWithoutUserInput
- }
- export type GroupsUncheckedCreateInput = {
- groupId?: string
- name: string
- description: string
- adminId: string
- moderatorsId?: string | null
- usersId?: string | null
- logoUrl?: string | null
- createAt?: Date | string
- updateAt?: Date | string
- }
- export type GroupsWhereUniqueInput = {
- groupId?: string
- name?: string
- adminId?: string
- }
- //USERS
- export type UsersCreateInput = {
- id?: string
- username?: string | null
- pseudonym?: string | null
- email: string
- password: string
- description?: string | null
- profilePhoto?: string | null
- plan?: Plan
- createAt?: Date | string
- updateAt?: Date | string
- userInFriend?: FriendsCreateNestedOneWithoutUsersFriendsInput
- friend?: FriendsCreateNestedManyWithoutFriendInput
- owner?: GroupsCreateNestedOneWithoutOwnerInput
- moderator?: GroupsCreateNestedManyWithoutModeratorInput
- user?: GroupsCreateNestedManyWithoutUserInput
- profile?: FilesCreateNestedOneWithoutProfileInput
- ownerFile?: FilesCreateNestedManyWithoutOwnerInput
- }
- export type UsersUncheckedCreateInput = {
- id?: string
- username?: string | null
- pseudonym?: string | null
- email: string
- password: string
- description?: string | null
- profilePhoto?: string | null
- plan?: Plan
- createAt?: Date | string
- updateAt?: Date | string
- userInFriend?: FriendsUncheckedCreateNestedOneWithoutUsersFriendsInput
- friend?: FriendsUncheckedCreateNestedManyWithoutFriendInput
- owner?: GroupsUncheckedCreateNestedOneWithoutOwnerInput
- moderator?: GroupsUncheckedCreateNestedManyWithoutModeratorInput
- user?: GroupsUncheckedCreateNestedManyWithoutUserInput
- profile?: FilesUncheckedCreateNestedOneWithoutProfileInput
- ownerFile?: FilesUncheckedCreateNestedManyWithoutOwnerInput
- }
- export type UsersWhereUniqueInput = {
- id?: string
- pseudonym?: string
- email?: string
- profilePhoto?: string
- }
Advertisement
Add Comment
Please, Sign In to add comment