Models
Types

Models

collections

Fields

Name Type Attributes Required Comment
collection_id Int
  • @id
  • @default(autoincrement())
Yes -
created_at DateTime?
  • @default(now())
No -
updated_at DateTime?
  • @default(now())
No -
updated_by Int?
  • -
No -
last_media_added_at DateTime?
  • -
No -
cover_media_id Int?
  • -
No -
name String?
  • -
No -
description String?
  • -
No -
public Boolean?
  • -
No -
creator_id Int?
  • -
No -
old_creator_id Int?
  • -
No -
organization_id String
  • -
Yes -
old_album_id Int?
  • -
No -
sort String?
  • -
No -
token String?
  • -
No -
starts_at DateTime?
  • -
No -
ends_at DateTime?
  • -
No -
legacy_album Boolean
  • @default(false)
Yes -

Operations

findUnique

Find zero or one Collections

// Get one Collections
const collections = await prisma.collections.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where collectionsWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first Collections

// Get one Collections
const collections = await prisma.collections.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where collectionsWhereInput No
orderBy collectionsOrderByWithRelationInput[] | collectionsOrderByWithRelationInput No
cursor collectionsWhereUniqueInput No
take Int No
skip Int No
distinct CollectionsScalarFieldEnum | CollectionsScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more Collections

// Get all Collections
const Collections = await prisma.collections.findMany()
// Get first 10 Collections
const Collections = await prisma.collections.findMany({ take: 10 })

Input

Name Type Required
where collectionsWhereInput No
orderBy collectionsOrderByWithRelationInput[] | collectionsOrderByWithRelationInput No
cursor collectionsWhereUniqueInput No
take Int No
skip Int No
distinct CollectionsScalarFieldEnum | CollectionsScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one Collections

// Create one Collections
const Collections = await prisma.collections.create({
  data: {
    // ... data to create a Collections
  }
})

Input

Name Type Required
data collectionsCreateInput | collectionsUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one Collections

// Delete one Collections
const Collections = await prisma.collections.delete({
  where: {
    // ... filter to delete one Collections
  }
})

Input

Name Type Required
where collectionsWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one Collections

// Update one Collections
const collections = await prisma.collections.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data collectionsUpdateInput | collectionsUncheckedUpdateInput Yes
where collectionsWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more Collections

// Delete a few Collections
const { count } = await prisma.collections.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where collectionsWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Collections

const { count } = await prisma.collections.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data collectionsUpdateManyMutationInput | collectionsUncheckedUpdateManyInput Yes
where collectionsWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Collections

// Update or create a Collections
const collections = await prisma.collections.upsert({
  create: {
    // ... data to create a Collections
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Collections we want to update
  }
})

Input

Name Type Required
where collectionsWhereUniqueInput Yes
create collectionsCreateInput | collectionsUncheckedCreateInput Yes
update collectionsUpdateInput | collectionsUncheckedUpdateInput Yes

Output

Required: Yes
List: No

media

Fields

Name Type Attributes Required Comment
created_at DateTime?
  • -
No -
updated_at DateTime?
  • -
No -
reprocessed_at DateTime?
  • @default(now())
No -
updated_by Int?
  • -
No -
captured_at DateTime?
  • -
No -
creator_id Int?
  • -
No -
space_id Int?
  • -
No -
type Int?
  • -
No -
source String?
  • -
No -
source_id String?
  • -
No -
file_name String?
  • -
No -
original_file_name String?
  • -
No -
file_size Int?
  • -
No -
rotation Int?
  • -
No -
height Int?
  • -
No -
width Int?
  • -
No -
status Int?
  • -
No -
public Boolean?
  • -
No -
prevent_public Boolean?
  • -
No -
media_id Int
  • @id
  • @default(autoincrement())
Yes -
old_album_id Int?
  • -
No -
organization_id String?
  • -
No -
name String?
  • -
No -
caption String?
  • -
No -
description String?
  • -
No -
identifier_hash String?
  • -
No -
duration Int?
  • -
No -
watermark Boolean?
  • -
No -
requires_license Boolean?
  • -
No -
account_id String?
  • -
No -
display_thumbnail Boolean
  • @default(true)
Yes -
reprocess Boolean
  • @default(false)
Yes -

Operations

findUnique

Find zero or one Media

// Get one Media
const media = await prisma.media.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where mediaWhereUniqueInput Yes

Output

Type: media
Required: No
List: No

findFirst

Find first Media

// Get one Media
const media = await prisma.media.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where mediaWhereInput No
orderBy mediaOrderByWithRelationInput[] | mediaOrderByWithRelationInput No
cursor mediaWhereUniqueInput No
take Int No
skip Int No
distinct MediaScalarFieldEnum | MediaScalarFieldEnum[] No

Output

Type: media
Required: No
List: No

findMany

Find zero or more Media

// Get all Media
const Media = await prisma.media.findMany()
// Get first 10 Media
const Media = await prisma.media.findMany({ take: 10 })

Input

Name Type Required
where mediaWhereInput No
orderBy mediaOrderByWithRelationInput[] | mediaOrderByWithRelationInput No
cursor mediaWhereUniqueInput No
take Int No
skip Int No
distinct MediaScalarFieldEnum | MediaScalarFieldEnum[] No

Output

Type: media
Required: Yes
List: Yes

create

Create one Media

// Create one Media
const Media = await prisma.media.create({
  data: {
    // ... data to create a Media
  }
})

Input

Name Type Required
data mediaCreateInput | mediaUncheckedCreateInput No

Output

Type: media
Required: Yes
List: No

delete

Delete one Media

// Delete one Media
const Media = await prisma.media.delete({
  where: {
    // ... filter to delete one Media
  }
})

Input

Name Type Required
where mediaWhereUniqueInput Yes

Output

Type: media
Required: No
List: No

update

Update one Media

// Update one Media
const media = await prisma.media.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data mediaUpdateInput | mediaUncheckedUpdateInput Yes
where mediaWhereUniqueInput Yes

Output

Type: media
Required: No
List: No

deleteMany

Delete zero or more Media

// Delete a few Media
const { count } = await prisma.media.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where mediaWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Media

const { count } = await prisma.media.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data mediaUpdateManyMutationInput | mediaUncheckedUpdateManyInput Yes
where mediaWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Media

// Update or create a Media
const media = await prisma.media.upsert({
  create: {
    // ... data to create a Media
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Media we want to update
  }
})

Input

Name Type Required
where mediaWhereUniqueInput Yes
create mediaCreateInput | mediaUncheckedCreateInput Yes
update mediaUpdateInput | mediaUncheckedUpdateInput Yes

Output

Type: media
Required: Yes
List: No

Types

Input Types

collectionsWhereInput

Name Type Nullable
AND collectionsWhereInput | collectionsWhereInput[] No
OR collectionsWhereInput[] No
NOT collectionsWhereInput | collectionsWhereInput[] No
collection_id IntFilter | Int No
created_at DateTimeNullableFilter | DateTime | Null Yes
updated_at DateTimeNullableFilter | DateTime | Null Yes
updated_by IntNullableFilter | Int | Null Yes
last_media_added_at DateTimeNullableFilter | DateTime | Null Yes
cover_media_id IntNullableFilter | Int | Null Yes
name StringNullableFilter | String | Null Yes
description StringNullableFilter | String | Null Yes
public BoolNullableFilter | Boolean | Null Yes
creator_id IntNullableFilter | Int | Null Yes
old_creator_id IntNullableFilter | Int | Null Yes
organization_id StringFilter | String No
old_album_id IntNullableFilter | Int | Null Yes
sort StringNullableFilter | String | Null Yes
token StringNullableFilter | String | Null Yes
starts_at DateTimeNullableFilter | DateTime | Null Yes
ends_at DateTimeNullableFilter | DateTime | Null Yes
legacy_album BoolFilter | Boolean No

collectionsOrderByWithRelationInput

Name Type Nullable
collection_id SortOrder No
created_at SortOrder | SortOrderInput No
updated_at SortOrder | SortOrderInput No
updated_by SortOrder | SortOrderInput No
last_media_added_at SortOrder | SortOrderInput No
cover_media_id SortOrder | SortOrderInput No
name SortOrder | SortOrderInput No
description SortOrder | SortOrderInput No
public SortOrder | SortOrderInput No
creator_id SortOrder | SortOrderInput No
old_creator_id SortOrder | SortOrderInput No
organization_id SortOrder No
old_album_id SortOrder | SortOrderInput No
sort SortOrder | SortOrderInput No
token SortOrder | SortOrderInput No
starts_at SortOrder | SortOrderInput No
ends_at SortOrder | SortOrderInput No
legacy_album SortOrder No

collectionsWhereUniqueInput

Name Type Nullable
collection_id Int No
AND collectionsWhereInput | collectionsWhereInput[] No
OR collectionsWhereInput[] No
NOT collectionsWhereInput | collectionsWhereInput[] No
created_at DateTimeNullableFilter | DateTime | Null Yes
updated_at DateTimeNullableFilter | DateTime | Null Yes
updated_by IntNullableFilter | Int | Null Yes
last_media_added_at DateTimeNullableFilter | DateTime | Null Yes
cover_media_id IntNullableFilter | Int | Null Yes
name StringNullableFilter | String | Null Yes
description StringNullableFilter | String | Null Yes
public BoolNullableFilter | Boolean | Null Yes
creator_id IntNullableFilter | Int | Null Yes
old_creator_id IntNullableFilter | Int | Null Yes
organization_id StringFilter | String No
old_album_id IntNullableFilter | Int | Null Yes
sort StringNullableFilter | String | Null Yes
token StringNullableFilter | String | Null Yes
starts_at DateTimeNullableFilter | DateTime | Null Yes
ends_at DateTimeNullableFilter | DateTime | Null Yes
legacy_album BoolFilter | Boolean No

collectionsOrderByWithAggregationInput

Name Type Nullable
collection_id SortOrder No
created_at SortOrder | SortOrderInput No
updated_at SortOrder | SortOrderInput No
updated_by SortOrder | SortOrderInput No
last_media_added_at SortOrder | SortOrderInput No
cover_media_id SortOrder | SortOrderInput No
name SortOrder | SortOrderInput No
description SortOrder | SortOrderInput No
public SortOrder | SortOrderInput No
creator_id SortOrder | SortOrderInput No
old_creator_id SortOrder | SortOrderInput No
organization_id SortOrder No
old_album_id SortOrder | SortOrderInput No
sort SortOrder | SortOrderInput No
token SortOrder | SortOrderInput No
starts_at SortOrder | SortOrderInput No
ends_at SortOrder | SortOrderInput No
legacy_album SortOrder No
_count collectionsCountOrderByAggregateInput No
_avg collectionsAvgOrderByAggregateInput No
_max collectionsMaxOrderByAggregateInput No
_min collectionsMinOrderByAggregateInput No
_sum collectionsSumOrderByAggregateInput No

collectionsScalarWhereWithAggregatesInput

Name Type Nullable
AND collectionsScalarWhereWithAggregatesInput | collectionsScalarWhereWithAggregatesInput[] No
OR collectionsScalarWhereWithAggregatesInput[] No
NOT collectionsScalarWhereWithAggregatesInput | collectionsScalarWhereWithAggregatesInput[] No
collection_id IntWithAggregatesFilter | Int No
created_at DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
updated_at DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
updated_by IntNullableWithAggregatesFilter | Int | Null Yes
last_media_added_at DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
cover_media_id IntNullableWithAggregatesFilter | Int | Null Yes
name StringNullableWithAggregatesFilter | String | Null Yes
description StringNullableWithAggregatesFilter | String | Null Yes
public BoolNullableWithAggregatesFilter | Boolean | Null Yes
creator_id IntNullableWithAggregatesFilter | Int | Null Yes
old_creator_id IntNullableWithAggregatesFilter | Int | Null Yes
organization_id StringWithAggregatesFilter | String No
old_album_id IntNullableWithAggregatesFilter | Int | Null Yes
sort StringNullableWithAggregatesFilter | String | Null Yes
token StringNullableWithAggregatesFilter | String | Null Yes
starts_at DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
ends_at DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
legacy_album BoolWithAggregatesFilter | Boolean No

mediaWhereInput

Name Type Nullable
AND mediaWhereInput | mediaWhereInput[] No
OR mediaWhereInput[] No
NOT mediaWhereInput | mediaWhereInput[] No
created_at DateTimeNullableFilter | DateTime | Null Yes
updated_at DateTimeNullableFilter | DateTime | Null Yes
reprocessed_at DateTimeNullableFilter | DateTime | Null Yes
updated_by IntNullableFilter | Int | Null Yes
captured_at DateTimeNullableFilter | DateTime | Null Yes
creator_id IntNullableFilter | Int | Null Yes
space_id IntNullableFilter | Int | Null Yes
type IntNullableFilter | Int | Null Yes
source StringNullableFilter | String | Null Yes
source_id StringNullableFilter | String | Null Yes
file_name StringNullableFilter | String | Null Yes
original_file_name StringNullableFilter | String | Null Yes
file_size IntNullableFilter | Int | Null Yes
rotation IntNullableFilter | Int | Null Yes
height IntNullableFilter | Int | Null Yes
width IntNullableFilter | Int | Null Yes
status IntNullableFilter | Int | Null Yes
public BoolNullableFilter | Boolean | Null Yes
prevent_public BoolNullableFilter | Boolean | Null Yes
media_id IntFilter | Int No
old_album_id IntNullableFilter | Int | Null Yes
organization_id StringNullableFilter | String | Null Yes
name StringNullableFilter | String | Null Yes
caption StringNullableFilter | String | Null Yes
description StringNullableFilter | String | Null Yes
identifier_hash StringNullableFilter | String | Null Yes
copyright_description StringNullableFilter | String | Null Yes
duration IntNullableFilter | Int | Null Yes
watermark BoolNullableFilter | Boolean | Null Yes
requires_license BoolNullableFilter | Boolean | Null Yes
copyright_watermark BoolNullableFilter | Boolean | Null Yes
account_id StringNullableFilter | String | Null Yes
display_thumbnail BoolFilter | Boolean No
reprocess BoolFilter | Boolean No

mediaOrderByWithRelationInput

Name Type Nullable
created_at SortOrder | SortOrderInput No
updated_at SortOrder | SortOrderInput No
reprocessed_at SortOrder | SortOrderInput No
updated_by SortOrder | SortOrderInput No
captured_at SortOrder | SortOrderInput No
creator_id SortOrder | SortOrderInput No
space_id SortOrder | SortOrderInput No
type SortOrder | SortOrderInput No
source SortOrder | SortOrderInput No
source_id SortOrder | SortOrderInput No
file_name SortOrder | SortOrderInput No
original_file_name SortOrder | SortOrderInput No
file_size SortOrder | SortOrderInput No
rotation SortOrder | SortOrderInput No
height SortOrder | SortOrderInput No
width SortOrder | SortOrderInput No
status SortOrder | SortOrderInput No
public SortOrder | SortOrderInput No
prevent_public SortOrder | SortOrderInput No
media_id SortOrder No
old_album_id SortOrder | SortOrderInput No
organization_id SortOrder | SortOrderInput No
name SortOrder | SortOrderInput No
caption SortOrder | SortOrderInput No
description SortOrder | SortOrderInput No
identifier_hash SortOrder | SortOrderInput No
copyright_description SortOrder | SortOrderInput No
duration SortOrder | SortOrderInput No
watermark SortOrder | SortOrderInput No
requires_license SortOrder | SortOrderInput No
copyright_watermark SortOrder | SortOrderInput No
account_id SortOrder | SortOrderInput No
display_thumbnail SortOrder No
reprocess SortOrder No

mediaWhereUniqueInput

Name Type Nullable
media_id Int No
AND mediaWhereInput | mediaWhereInput[] No
OR mediaWhereInput[] No
NOT mediaWhereInput | mediaWhereInput[] No
created_at DateTimeNullableFilter | DateTime | Null Yes
updated_at DateTimeNullableFilter | DateTime | Null Yes
reprocessed_at DateTimeNullableFilter | DateTime | Null Yes
updated_by IntNullableFilter | Int | Null Yes
captured_at DateTimeNullableFilter | DateTime | Null Yes
creator_id IntNullableFilter | Int | Null Yes
space_id IntNullableFilter | Int | Null Yes
type IntNullableFilter | Int | Null Yes
source StringNullableFilter | String | Null Yes
source_id StringNullableFilter | String | Null Yes
file_name StringNullableFilter | String | Null Yes
original_file_name StringNullableFilter | String | Null Yes
file_size IntNullableFilter | Int | Null Yes
rotation IntNullableFilter | Int | Null Yes
height IntNullableFilter | Int | Null Yes
width IntNullableFilter | Int | Null Yes
status IntNullableFilter | Int | Null Yes
public BoolNullableFilter | Boolean | Null Yes
prevent_public BoolNullableFilter | Boolean | Null Yes
old_album_id IntNullableFilter | Int | Null Yes
organization_id StringNullableFilter | String | Null Yes
name StringNullableFilter | String | Null Yes
caption StringNullableFilter | String | Null Yes
description StringNullableFilter | String | Null Yes
identifier_hash StringNullableFilter | String | Null Yes
copyright_description StringNullableFilter | String | Null Yes
duration IntNullableFilter | Int | Null Yes
watermark BoolNullableFilter | Boolean | Null Yes
requires_license BoolNullableFilter | Boolean | Null Yes
copyright_watermark BoolNullableFilter | Boolean | Null Yes
account_id StringNullableFilter | String | Null Yes
display_thumbnail BoolFilter | Boolean No
reprocess BoolFilter | Boolean No

mediaOrderByWithAggregationInput

Name Type Nullable
created_at SortOrder | SortOrderInput No
updated_at SortOrder | SortOrderInput No
reprocessed_at SortOrder | SortOrderInput No
updated_by SortOrder | SortOrderInput No
captured_at SortOrder | SortOrderInput No
creator_id SortOrder | SortOrderInput No
space_id SortOrder | SortOrderInput No
type SortOrder | SortOrderInput No
source SortOrder | SortOrderInput No
source_id SortOrder | SortOrderInput No
file_name SortOrder | SortOrderInput No
original_file_name SortOrder | SortOrderInput No
file_size SortOrder | SortOrderInput No
rotation SortOrder | SortOrderInput No
height SortOrder | SortOrderInput No
width SortOrder | SortOrderInput No
status SortOrder | SortOrderInput No
public SortOrder | SortOrderInput No
prevent_public SortOrder | SortOrderInput No
media_id SortOrder No
old_album_id SortOrder | SortOrderInput No
organization_id SortOrder | SortOrderInput No
name SortOrder | SortOrderInput No
caption SortOrder | SortOrderInput No
description SortOrder | SortOrderInput No
identifier_hash SortOrder | SortOrderInput No
copyright_description SortOrder | SortOrderInput No
duration SortOrder | SortOrderInput No
watermark SortOrder | SortOrderInput No
requires_license SortOrder | SortOrderInput No
copyright_watermark SortOrder | SortOrderInput No
account_id SortOrder | SortOrderInput No
display_thumbnail SortOrder No
reprocess SortOrder No
_count mediaCountOrderByAggregateInput No
_avg mediaAvgOrderByAggregateInput No
_max mediaMaxOrderByAggregateInput No
_min mediaMinOrderByAggregateInput No
_sum mediaSumOrderByAggregateInput No

mediaScalarWhereWithAggregatesInput

Name Type Nullable
AND mediaScalarWhereWithAggregatesInput | mediaScalarWhereWithAggregatesInput[] No
OR mediaScalarWhereWithAggregatesInput[] No
NOT mediaScalarWhereWithAggregatesInput | mediaScalarWhereWithAggregatesInput[] No
created_at DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
updated_at DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
reprocessed_at DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
updated_by IntNullableWithAggregatesFilter | Int | Null Yes
captured_at DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
creator_id IntNullableWithAggregatesFilter | Int | Null Yes
space_id IntNullableWithAggregatesFilter | Int | Null Yes
type IntNullableWithAggregatesFilter | Int | Null Yes
source StringNullableWithAggregatesFilter | String | Null Yes
source_id StringNullableWithAggregatesFilter | String | Null Yes
file_name StringNullableWithAggregatesFilter | String | Null Yes
original_file_name StringNullableWithAggregatesFilter | String | Null Yes
file_size IntNullableWithAggregatesFilter | Int | Null Yes
rotation IntNullableWithAggregatesFilter | Int | Null Yes
height IntNullableWithAggregatesFilter | Int | Null Yes
width IntNullableWithAggregatesFilter | Int | Null Yes
status IntNullableWithAggregatesFilter | Int | Null Yes
public BoolNullableWithAggregatesFilter | Boolean | Null Yes
prevent_public BoolNullableWithAggregatesFilter | Boolean | Null Yes
media_id IntWithAggregatesFilter | Int No
old_album_id IntNullableWithAggregatesFilter | Int | Null Yes
organization_id StringNullableWithAggregatesFilter | String | Null Yes
name StringNullableWithAggregatesFilter | String | Null Yes
caption StringNullableWithAggregatesFilter | String | Null Yes
description StringNullableWithAggregatesFilter | String | Null Yes
identifier_hash StringNullableWithAggregatesFilter | String | Null Yes
copyright_description StringNullableWithAggregatesFilter | String | Null Yes
duration IntNullableWithAggregatesFilter | Int | Null Yes
watermark BoolNullableWithAggregatesFilter | Boolean | Null Yes
requires_license BoolNullableWithAggregatesFilter | Boolean | Null Yes
copyright_watermark BoolNullableWithAggregatesFilter | Boolean | Null Yes
account_id StringNullableWithAggregatesFilter | String | Null Yes
display_thumbnail BoolWithAggregatesFilter | Boolean No
reprocess BoolWithAggregatesFilter | Boolean No

collectionsCreateInput

Name Type Nullable
created_at DateTime | Null Yes
updated_at DateTime | Null Yes
updated_by Int | Null Yes
last_media_added_at DateTime | Null Yes
cover_media_id Int | Null Yes
name String | Null Yes
description String | Null Yes
public Boolean | Null Yes
creator_id Int | Null Yes
old_creator_id Int | Null Yes
organization_id String No
old_album_id Int | Null Yes
sort String | Null Yes
token String | Null Yes
starts_at DateTime | Null Yes
ends_at DateTime | Null Yes
legacy_album Boolean No

collectionsUncheckedCreateInput

Name Type Nullable
collection_id Int No
created_at DateTime | Null Yes
updated_at DateTime | Null Yes
updated_by Int | Null Yes
last_media_added_at DateTime | Null Yes
cover_media_id Int | Null Yes
name String | Null Yes
description String | Null Yes
public Boolean | Null Yes
creator_id Int | Null Yes
old_creator_id Int | Null Yes
organization_id String No
old_album_id Int | Null Yes
sort String | Null Yes
token String | Null Yes
starts_at DateTime | Null Yes
ends_at DateTime | Null Yes
legacy_album Boolean No

collectionsUpdateInput

Name Type Nullable
created_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_by Int | NullableIntFieldUpdateOperationsInput | Null Yes
last_media_added_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
cover_media_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
name String | NullableStringFieldUpdateOperationsInput | Null Yes
description String | NullableStringFieldUpdateOperationsInput | Null Yes
public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
old_creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
organization_id String | StringFieldUpdateOperationsInput No
old_album_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
sort String | NullableStringFieldUpdateOperationsInput | Null Yes
token String | NullableStringFieldUpdateOperationsInput | Null Yes
starts_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
ends_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
legacy_album Boolean | BoolFieldUpdateOperationsInput No

collectionsUncheckedUpdateInput

Name Type Nullable
collection_id Int | IntFieldUpdateOperationsInput No
created_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_by Int | NullableIntFieldUpdateOperationsInput | Null Yes
last_media_added_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
cover_media_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
name String | NullableStringFieldUpdateOperationsInput | Null Yes
description String | NullableStringFieldUpdateOperationsInput | Null Yes
public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
old_creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
organization_id String | StringFieldUpdateOperationsInput No
old_album_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
sort String | NullableStringFieldUpdateOperationsInput | Null Yes
token String | NullableStringFieldUpdateOperationsInput | Null Yes
starts_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
ends_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
legacy_album Boolean | BoolFieldUpdateOperationsInput No

collectionsCreateManyInput

Name Type Nullable
collection_id Int No
created_at DateTime | Null Yes
updated_at DateTime | Null Yes
updated_by Int | Null Yes
last_media_added_at DateTime | Null Yes
cover_media_id Int | Null Yes
name String | Null Yes
description String | Null Yes
public Boolean | Null Yes
creator_id Int | Null Yes
old_creator_id Int | Null Yes
organization_id String No
old_album_id Int | Null Yes
sort String | Null Yes
token String | Null Yes
starts_at DateTime | Null Yes
ends_at DateTime | Null Yes
legacy_album Boolean No

collectionsUpdateManyMutationInput

Name Type Nullable
created_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_by Int | NullableIntFieldUpdateOperationsInput | Null Yes
last_media_added_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
cover_media_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
name String | NullableStringFieldUpdateOperationsInput | Null Yes
description String | NullableStringFieldUpdateOperationsInput | Null Yes
public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
old_creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
organization_id String | StringFieldUpdateOperationsInput No
old_album_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
sort String | NullableStringFieldUpdateOperationsInput | Null Yes
token String | NullableStringFieldUpdateOperationsInput | Null Yes
starts_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
ends_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
legacy_album Boolean | BoolFieldUpdateOperationsInput No

collectionsUncheckedUpdateManyInput

Name Type Nullable
collection_id Int | IntFieldUpdateOperationsInput No
created_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_by Int | NullableIntFieldUpdateOperationsInput | Null Yes
last_media_added_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
cover_media_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
name String | NullableStringFieldUpdateOperationsInput | Null Yes
description String | NullableStringFieldUpdateOperationsInput | Null Yes
public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
old_creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
organization_id String | StringFieldUpdateOperationsInput No
old_album_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
sort String | NullableStringFieldUpdateOperationsInput | Null Yes
token String | NullableStringFieldUpdateOperationsInput | Null Yes
starts_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
ends_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
legacy_album Boolean | BoolFieldUpdateOperationsInput No

mediaCreateInput

Name Type Nullable
created_at DateTime | Null Yes
updated_at DateTime | Null Yes
reprocessed_at DateTime | Null Yes
updated_by Int | Null Yes
captured_at DateTime | Null Yes
creator_id Int | Null Yes
space_id Int | Null Yes
type Int | Null Yes
source String | Null Yes
source_id String | Null Yes
file_name String | Null Yes
original_file_name String | Null Yes
file_size Int | Null Yes
rotation Int | Null Yes
height Int | Null Yes
width Int | Null Yes
status Int | Null Yes
public Boolean | Null Yes
prevent_public Boolean | Null Yes
old_album_id Int | Null Yes
organization_id String | Null Yes
name String | Null Yes
caption String | Null Yes
description String | Null Yes
identifier_hash String | Null Yes
copyright_description String | Null Yes
duration Int | Null Yes
watermark Boolean | Null Yes
requires_license Boolean | Null Yes
copyright_watermark Boolean | Null Yes
account_id String | Null Yes
display_thumbnail Boolean No
reprocess Boolean No

mediaUncheckedCreateInput

Name Type Nullable
created_at DateTime | Null Yes
updated_at DateTime | Null Yes
reprocessed_at DateTime | Null Yes
updated_by Int | Null Yes
captured_at DateTime | Null Yes
creator_id Int | Null Yes
space_id Int | Null Yes
type Int | Null Yes
source String | Null Yes
source_id String | Null Yes
file_name String | Null Yes
original_file_name String | Null Yes
file_size Int | Null Yes
rotation Int | Null Yes
height Int | Null Yes
width Int | Null Yes
status Int | Null Yes
public Boolean | Null Yes
prevent_public Boolean | Null Yes
media_id Int No
old_album_id Int | Null Yes
organization_id String | Null Yes
name String | Null Yes
caption String | Null Yes
description String | Null Yes
identifier_hash String | Null Yes
copyright_description String | Null Yes
duration Int | Null Yes
watermark Boolean | Null Yes
requires_license Boolean | Null Yes
copyright_watermark Boolean | Null Yes
account_id String | Null Yes
display_thumbnail Boolean No
reprocess Boolean No

mediaUpdateInput

Name Type Nullable
created_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
reprocessed_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_by Int | NullableIntFieldUpdateOperationsInput | Null Yes
captured_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
space_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
type Int | NullableIntFieldUpdateOperationsInput | Null Yes
source String | NullableStringFieldUpdateOperationsInput | Null Yes
source_id String | NullableStringFieldUpdateOperationsInput | Null Yes
file_name String | NullableStringFieldUpdateOperationsInput | Null Yes
original_file_name String | NullableStringFieldUpdateOperationsInput | Null Yes
file_size Int | NullableIntFieldUpdateOperationsInput | Null Yes
rotation Int | NullableIntFieldUpdateOperationsInput | Null Yes
height Int | NullableIntFieldUpdateOperationsInput | Null Yes
width Int | NullableIntFieldUpdateOperationsInput | Null Yes
status Int | NullableIntFieldUpdateOperationsInput | Null Yes
public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
prevent_public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
old_album_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
organization_id String | NullableStringFieldUpdateOperationsInput | Null Yes
name String | NullableStringFieldUpdateOperationsInput | Null Yes
caption String | NullableStringFieldUpdateOperationsInput | Null Yes
description String | NullableStringFieldUpdateOperationsInput | Null Yes
identifier_hash String | NullableStringFieldUpdateOperationsInput | Null Yes
copyright_description String | NullableStringFieldUpdateOperationsInput | Null Yes
duration Int | NullableIntFieldUpdateOperationsInput | Null Yes
watermark Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
requires_license Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
copyright_watermark Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
account_id String | NullableStringFieldUpdateOperationsInput | Null Yes
display_thumbnail Boolean | BoolFieldUpdateOperationsInput No
reprocess Boolean | BoolFieldUpdateOperationsInput No

mediaUncheckedUpdateInput

Name Type Nullable
created_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
reprocessed_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_by Int | NullableIntFieldUpdateOperationsInput | Null Yes
captured_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
space_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
type Int | NullableIntFieldUpdateOperationsInput | Null Yes
source String | NullableStringFieldUpdateOperationsInput | Null Yes
source_id String | NullableStringFieldUpdateOperationsInput | Null Yes
file_name String | NullableStringFieldUpdateOperationsInput | Null Yes
original_file_name String | NullableStringFieldUpdateOperationsInput | Null Yes
file_size Int | NullableIntFieldUpdateOperationsInput | Null Yes
rotation Int | NullableIntFieldUpdateOperationsInput | Null Yes
height Int | NullableIntFieldUpdateOperationsInput | Null Yes
width Int | NullableIntFieldUpdateOperationsInput | Null Yes
status Int | NullableIntFieldUpdateOperationsInput | Null Yes
public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
prevent_public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
media_id Int | IntFieldUpdateOperationsInput No
old_album_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
organization_id String | NullableStringFieldUpdateOperationsInput | Null Yes
name String | NullableStringFieldUpdateOperationsInput | Null Yes
caption String | NullableStringFieldUpdateOperationsInput | Null Yes
description String | NullableStringFieldUpdateOperationsInput | Null Yes
identifier_hash String | NullableStringFieldUpdateOperationsInput | Null Yes
copyright_description String | NullableStringFieldUpdateOperationsInput | Null Yes
duration Int | NullableIntFieldUpdateOperationsInput | Null Yes
watermark Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
requires_license Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
copyright_watermark Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
account_id String | NullableStringFieldUpdateOperationsInput | Null Yes
display_thumbnail Boolean | BoolFieldUpdateOperationsInput No
reprocess Boolean | BoolFieldUpdateOperationsInput No

mediaCreateManyInput

Name Type Nullable
created_at DateTime | Null Yes
updated_at DateTime | Null Yes
reprocessed_at DateTime | Null Yes
updated_by Int | Null Yes
captured_at DateTime | Null Yes
creator_id Int | Null Yes
space_id Int | Null Yes
type Int | Null Yes
source String | Null Yes
source_id String | Null Yes
file_name String | Null Yes
original_file_name String | Null Yes
file_size Int | Null Yes
rotation Int | Null Yes
height Int | Null Yes
width Int | Null Yes
status Int | Null Yes
public Boolean | Null Yes
prevent_public Boolean | Null Yes
media_id Int No
old_album_id Int | Null Yes
organization_id String | Null Yes
name String | Null Yes
caption String | Null Yes
description String | Null Yes
identifier_hash String | Null Yes
copyright_description String | Null Yes
duration Int | Null Yes
watermark Boolean | Null Yes
requires_license Boolean | Null Yes
copyright_watermark Boolean | Null Yes
account_id String | Null Yes
display_thumbnail Boolean No
reprocess Boolean No

mediaUpdateManyMutationInput

Name Type Nullable
created_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
reprocessed_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_by Int | NullableIntFieldUpdateOperationsInput | Null Yes
captured_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
space_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
type Int | NullableIntFieldUpdateOperationsInput | Null Yes
source String | NullableStringFieldUpdateOperationsInput | Null Yes
source_id String | NullableStringFieldUpdateOperationsInput | Null Yes
file_name String | NullableStringFieldUpdateOperationsInput | Null Yes
original_file_name String | NullableStringFieldUpdateOperationsInput | Null Yes
file_size Int | NullableIntFieldUpdateOperationsInput | Null Yes
rotation Int | NullableIntFieldUpdateOperationsInput | Null Yes
height Int | NullableIntFieldUpdateOperationsInput | Null Yes
width Int | NullableIntFieldUpdateOperationsInput | Null Yes
status Int | NullableIntFieldUpdateOperationsInput | Null Yes
public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
prevent_public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
old_album_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
organization_id String | NullableStringFieldUpdateOperationsInput | Null Yes
name String | NullableStringFieldUpdateOperationsInput | Null Yes
caption String | NullableStringFieldUpdateOperationsInput | Null Yes
description String | NullableStringFieldUpdateOperationsInput | Null Yes
identifier_hash String | NullableStringFieldUpdateOperationsInput | Null Yes
copyright_description String | NullableStringFieldUpdateOperationsInput | Null Yes
duration Int | NullableIntFieldUpdateOperationsInput | Null Yes
watermark Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
requires_license Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
copyright_watermark Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
account_id String | NullableStringFieldUpdateOperationsInput | Null Yes
display_thumbnail Boolean | BoolFieldUpdateOperationsInput No
reprocess Boolean | BoolFieldUpdateOperationsInput No

mediaUncheckedUpdateManyInput

Name Type Nullable
created_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
reprocessed_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
updated_by Int | NullableIntFieldUpdateOperationsInput | Null Yes
captured_at DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
creator_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
space_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
type Int | NullableIntFieldUpdateOperationsInput | Null Yes
source String | NullableStringFieldUpdateOperationsInput | Null Yes
source_id String | NullableStringFieldUpdateOperationsInput | Null Yes
file_name String | NullableStringFieldUpdateOperationsInput | Null Yes
original_file_name String | NullableStringFieldUpdateOperationsInput | Null Yes
file_size Int | NullableIntFieldUpdateOperationsInput | Null Yes
rotation Int | NullableIntFieldUpdateOperationsInput | Null Yes
height Int | NullableIntFieldUpdateOperationsInput | Null Yes
width Int | NullableIntFieldUpdateOperationsInput | Null Yes
status Int | NullableIntFieldUpdateOperationsInput | Null Yes
public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
prevent_public Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
media_id Int | IntFieldUpdateOperationsInput No
old_album_id Int | NullableIntFieldUpdateOperationsInput | Null Yes
organization_id String | NullableStringFieldUpdateOperationsInput | Null Yes
name String | NullableStringFieldUpdateOperationsInput | Null Yes
caption String | NullableStringFieldUpdateOperationsInput | Null Yes
description String | NullableStringFieldUpdateOperationsInput | Null Yes
identifier_hash String | NullableStringFieldUpdateOperationsInput | Null Yes
copyright_description String | NullableStringFieldUpdateOperationsInput | Null Yes
duration Int | NullableIntFieldUpdateOperationsInput | Null Yes
watermark Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
requires_license Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
copyright_watermark Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
account_id String | NullableStringFieldUpdateOperationsInput | Null Yes
display_thumbnail Boolean | BoolFieldUpdateOperationsInput No
reprocess Boolean | BoolFieldUpdateOperationsInput No

IntFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntFilter No

DateTimeNullableFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableFilter | Null Yes

IntNullableFilter

Name Type Nullable
equals Int | IntFieldRefInput | Null Yes
in Int | ListIntFieldRefInput | Null Yes
notIn Int | ListIntFieldRefInput | Null Yes
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntNullableFilter | Null Yes

StringNullableFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringNullableFilter | Null Yes

BoolNullableFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput | Null Yes
not Boolean | NestedBoolNullableFilter | Null Yes

StringFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringFilter No

BoolFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolFilter No

SortOrderInput

Name Type Nullable
sort SortOrder No
nulls NullsOrder No

collectionsCountOrderByAggregateInput

Name Type Nullable
collection_id SortOrder No
created_at SortOrder No
updated_at SortOrder No
updated_by SortOrder No
last_media_added_at SortOrder No
cover_media_id SortOrder No
name SortOrder No
description SortOrder No
public SortOrder No
creator_id SortOrder No
old_creator_id SortOrder No
organization_id SortOrder No
old_album_id SortOrder No
sort SortOrder No
token SortOrder No
starts_at SortOrder No
ends_at SortOrder No
legacy_album SortOrder No

collectionsAvgOrderByAggregateInput

Name Type Nullable
collection_id SortOrder No
updated_by SortOrder No
cover_media_id SortOrder No
creator_id SortOrder No
old_creator_id SortOrder No
old_album_id SortOrder No

collectionsMaxOrderByAggregateInput

Name Type Nullable
collection_id SortOrder No
created_at SortOrder No
updated_at SortOrder No
updated_by SortOrder No
last_media_added_at SortOrder No
cover_media_id SortOrder No
name SortOrder No
description SortOrder No
public SortOrder No
creator_id SortOrder No
old_creator_id SortOrder No
organization_id SortOrder No
old_album_id SortOrder No
sort SortOrder No
token SortOrder No
starts_at SortOrder No
ends_at SortOrder No
legacy_album SortOrder No

collectionsMinOrderByAggregateInput

Name Type Nullable
collection_id SortOrder No
created_at SortOrder No
updated_at SortOrder No
updated_by SortOrder No
last_media_added_at SortOrder No
cover_media_id SortOrder No
name SortOrder No
description SortOrder No
public SortOrder No
creator_id SortOrder No
old_creator_id SortOrder No
organization_id SortOrder No
old_album_id SortOrder No
sort SortOrder No
token SortOrder No
starts_at SortOrder No
ends_at SortOrder No
legacy_album SortOrder No

collectionsSumOrderByAggregateInput

Name Type Nullable
collection_id SortOrder No
updated_by SortOrder No
cover_media_id SortOrder No
creator_id SortOrder No
old_creator_id SortOrder No
old_album_id SortOrder No

IntWithAggregatesFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntWithAggregatesFilter No
_count NestedIntFilter No
_avg NestedFloatFilter No
_sum NestedIntFilter No
_min NestedIntFilter No
_max NestedIntFilter No

DateTimeNullableWithAggregatesFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedDateTimeNullableFilter No
_max NestedDateTimeNullableFilter No

IntNullableWithAggregatesFilter

Name Type Nullable
equals Int | IntFieldRefInput | Null Yes
in Int | ListIntFieldRefInput | Null Yes
notIn Int | ListIntFieldRefInput | Null Yes
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_avg NestedFloatNullableFilter No
_sum NestedIntNullableFilter No
_min NestedIntNullableFilter No
_max NestedIntNullableFilter No

StringNullableWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedStringNullableFilter No
_max NestedStringNullableFilter No

BoolNullableWithAggregatesFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput | Null Yes
not Boolean | NestedBoolNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedBoolNullableFilter No
_max NestedBoolNullableFilter No

StringWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringWithAggregatesFilter No
_count NestedIntFilter No
_min NestedStringFilter No
_max NestedStringFilter No

BoolWithAggregatesFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolWithAggregatesFilter No
_count NestedIntFilter No
_min NestedBoolFilter No
_max NestedBoolFilter No

mediaCountOrderByAggregateInput

Name Type Nullable
created_at SortOrder No
updated_at SortOrder No
reprocessed_at SortOrder No
updated_by SortOrder No
captured_at SortOrder No
creator_id SortOrder No
space_id SortOrder No
type SortOrder No
source SortOrder No
source_id SortOrder No
file_name SortOrder No
original_file_name SortOrder No
file_size SortOrder No
rotation SortOrder No
height SortOrder No
width SortOrder No
status SortOrder No
public SortOrder No
prevent_public SortOrder No
media_id SortOrder No
old_album_id SortOrder No
organization_id SortOrder No
name SortOrder No
caption SortOrder No
description SortOrder No
identifier_hash SortOrder No
copyright_description SortOrder No
duration SortOrder No
watermark SortOrder No
requires_license SortOrder No
copyright_watermark SortOrder No
account_id SortOrder No
display_thumbnail SortOrder No
reprocess SortOrder No

mediaAvgOrderByAggregateInput

Name Type Nullable
updated_by SortOrder No
creator_id SortOrder No
space_id SortOrder No
type SortOrder No
file_size SortOrder No
rotation SortOrder No
height SortOrder No
width SortOrder No
status SortOrder No
media_id SortOrder No
old_album_id SortOrder No
duration SortOrder No

mediaMaxOrderByAggregateInput

Name Type Nullable
created_at SortOrder No
updated_at SortOrder No
reprocessed_at SortOrder No
updated_by SortOrder No
captured_at SortOrder No
creator_id SortOrder No
space_id SortOrder No
type SortOrder No
source SortOrder No
source_id SortOrder No
file_name SortOrder No
original_file_name SortOrder No
file_size SortOrder No
rotation SortOrder No
height SortOrder No
width SortOrder No
status SortOrder No
public SortOrder No
prevent_public SortOrder No
media_id SortOrder No
old_album_id SortOrder No
organization_id SortOrder No
name SortOrder No
caption SortOrder No
description SortOrder No
identifier_hash SortOrder No
copyright_description SortOrder No
duration SortOrder No
watermark SortOrder No
requires_license SortOrder No
copyright_watermark SortOrder No
account_id SortOrder No
display_thumbnail SortOrder No
reprocess SortOrder No

mediaMinOrderByAggregateInput

Name Type Nullable
created_at SortOrder No
updated_at SortOrder No
reprocessed_at SortOrder No
updated_by SortOrder No
captured_at SortOrder No
creator_id SortOrder No
space_id SortOrder No
type SortOrder No
source SortOrder No
source_id SortOrder No
file_name SortOrder No
original_file_name SortOrder No
file_size SortOrder No
rotation SortOrder No
height SortOrder No
width SortOrder No
status SortOrder No
public SortOrder No
prevent_public SortOrder No
media_id SortOrder No
old_album_id SortOrder No
organization_id SortOrder No
name SortOrder No
caption SortOrder No
description SortOrder No
identifier_hash SortOrder No
copyright_description SortOrder No
duration SortOrder No
watermark SortOrder No
requires_license SortOrder No
copyright_watermark SortOrder No
account_id SortOrder No
display_thumbnail SortOrder No
reprocess SortOrder No

mediaSumOrderByAggregateInput

Name Type Nullable
updated_by SortOrder No
creator_id SortOrder No
space_id SortOrder No
type SortOrder No
file_size SortOrder No
rotation SortOrder No
height SortOrder No
width SortOrder No
status SortOrder No
media_id SortOrder No
old_album_id SortOrder No
duration SortOrder No

NullableDateTimeFieldUpdateOperationsInput

Name Type Nullable
set DateTime | Null Yes

NullableIntFieldUpdateOperationsInput

Name Type Nullable
set Int | Null Yes
increment Int No
decrement Int No
multiply Int No
divide Int No

NullableStringFieldUpdateOperationsInput

Name Type Nullable
set String | Null Yes

NullableBoolFieldUpdateOperationsInput

Name Type Nullable
set Boolean | Null Yes

StringFieldUpdateOperationsInput

Name Type Nullable
set String No

BoolFieldUpdateOperationsInput

Name Type Nullable
set Boolean No

IntFieldUpdateOperationsInput

Name Type Nullable
set Int No
increment Int No
decrement Int No
multiply Int No
divide Int No

NestedIntFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntFilter No

NestedDateTimeNullableFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableFilter | Null Yes

NestedIntNullableFilter

Name Type Nullable
equals Int | IntFieldRefInput | Null Yes
in Int | ListIntFieldRefInput | Null Yes
notIn Int | ListIntFieldRefInput | Null Yes
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntNullableFilter | Null Yes

NestedStringNullableFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringNullableFilter | Null Yes

NestedBoolNullableFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput | Null Yes
not Boolean | NestedBoolNullableFilter | Null Yes

NestedStringFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringFilter No

NestedBoolFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolFilter No

NestedIntWithAggregatesFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntWithAggregatesFilter No
_count NestedIntFilter No
_avg NestedFloatFilter No
_sum NestedIntFilter No
_min NestedIntFilter No
_max NestedIntFilter No

NestedFloatFilter

Name Type Nullable
equals Float | FloatFieldRefInput No
in Float | ListFloatFieldRefInput No
notIn Float | ListFloatFieldRefInput No
lt Float | FloatFieldRefInput No
lte Float | FloatFieldRefInput No
gt Float | FloatFieldRefInput No
gte Float | FloatFieldRefInput No
not Float | NestedFloatFilter No

NestedDateTimeNullableWithAggregatesFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedDateTimeNullableFilter No
_max NestedDateTimeNullableFilter No

NestedIntNullableWithAggregatesFilter

Name Type Nullable
equals Int | IntFieldRefInput | Null Yes
in Int | ListIntFieldRefInput | Null Yes
notIn Int | ListIntFieldRefInput | Null Yes
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_avg NestedFloatNullableFilter No
_sum NestedIntNullableFilter No
_min NestedIntNullableFilter No
_max NestedIntNullableFilter No

NestedFloatNullableFilter

Name Type Nullable
equals Float | FloatFieldRefInput | Null Yes
in Float | ListFloatFieldRefInput | Null Yes
notIn Float | ListFloatFieldRefInput | Null Yes
lt Float | FloatFieldRefInput No
lte Float | FloatFieldRefInput No
gt Float | FloatFieldRefInput No
gte Float | FloatFieldRefInput No
not Float | NestedFloatNullableFilter | Null Yes

NestedStringNullableWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedStringNullableFilter No
_max NestedStringNullableFilter No

NestedBoolNullableWithAggregatesFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput | Null Yes
not Boolean | NestedBoolNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedBoolNullableFilter No
_max NestedBoolNullableFilter No

NestedStringWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringWithAggregatesFilter No
_count NestedIntFilter No
_min NestedStringFilter No
_max NestedStringFilter No

NestedBoolWithAggregatesFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolWithAggregatesFilter No
_count NestedIntFilter No
_min NestedBoolFilter No
_max NestedBoolFilter No

Output Types

collections

Name Type Nullable
collection_id Int Yes
created_at DateTime No
updated_at DateTime No
updated_by Int No
last_media_added_at DateTime No
cover_media_id Int No
name String No
description String No
public Boolean No
creator_id Int No
old_creator_id Int No
organization_id String Yes
old_album_id Int No
sort String No
token String No
starts_at DateTime No
ends_at DateTime No
legacy_album Boolean Yes

media

Name Type Nullable
created_at DateTime No
updated_at DateTime No
reprocessed_at DateTime No
updated_by Int No
captured_at DateTime No
creator_id Int No
space_id Int No
type Int No
source String No
source_id String No
file_name String No
original_file_name String No
file_size Int No
rotation Int No
height Int No
width Int No
status Int No
public Boolean No
prevent_public Boolean No
media_id Int Yes
old_album_id Int No
organization_id String No
name String No
caption String No
description String No
identifier_hash String No
copyright_description String No
duration Int No
watermark Boolean No
requires_license Boolean No
copyright_watermark Boolean No
account_id String No
display_thumbnail Boolean Yes
reprocess Boolean Yes

CreateManycollectionsAndReturnOutputType

Name Type Nullable
collection_id Int Yes
created_at DateTime No
updated_at DateTime No
updated_by Int No
last_media_added_at DateTime No
cover_media_id Int No
name String No
description String No
public Boolean No
creator_id Int No
old_creator_id Int No
organization_id String Yes
old_album_id Int No
sort String No
token String No
starts_at DateTime No
ends_at DateTime No
legacy_album Boolean Yes

CreateManymediaAndReturnOutputType

Name Type Nullable
created_at DateTime No
updated_at DateTime No
reprocessed_at DateTime No
updated_by Int No
captured_at DateTime No
creator_id Int No
space_id Int No
type Int No
source String No
source_id String No
file_name String No
original_file_name String No
file_size Int No
rotation Int No
height Int No
width Int No
status Int No
public Boolean No
prevent_public Boolean No
media_id Int Yes
old_album_id Int No
organization_id String No
name String No
caption String No
description String No
identifier_hash String No
copyright_description String No
duration Int No
watermark Boolean No
requires_license Boolean No
copyright_watermark Boolean No
account_id String No
display_thumbnail Boolean Yes
reprocess Boolean Yes


CollectionsGroupByOutputType

Name Type Nullable
collection_id Int Yes
created_at DateTime No
updated_at DateTime No
updated_by Int No
last_media_added_at DateTime No
cover_media_id Int No
name String No
description String No
public Boolean No
creator_id Int No
old_creator_id Int No
organization_id String Yes
old_album_id Int No
sort String No
token String No
starts_at DateTime No
ends_at DateTime No
legacy_album Boolean Yes
_count CollectionsCountAggregateOutputType No
_avg CollectionsAvgAggregateOutputType No
_sum CollectionsSumAggregateOutputType No
_min CollectionsMinAggregateOutputType No
_max CollectionsMaxAggregateOutputType No


MediaGroupByOutputType

Name Type Nullable
created_at DateTime No
updated_at DateTime No
reprocessed_at DateTime No
updated_by Int No
captured_at DateTime No
creator_id Int No
space_id Int No
type Int No
source String No
source_id String No
file_name String No
original_file_name String No
file_size Int No
rotation Int No
height Int No
width Int No
status Int No
public Boolean No
prevent_public Boolean No
media_id Int Yes
old_album_id Int No
organization_id String No
name String No
caption String No
description String No
identifier_hash String No
copyright_description String No
duration Int No
watermark Boolean No
requires_license Boolean No
copyright_watermark Boolean No
account_id String No
display_thumbnail Boolean Yes
reprocess Boolean Yes
_count MediaCountAggregateOutputType No
_avg MediaAvgAggregateOutputType No
_sum MediaSumAggregateOutputType No
_min MediaMinAggregateOutputType No
_max MediaMaxAggregateOutputType No

AffectedRowsOutput

Name Type Nullable
count Int Yes

CollectionsCountAggregateOutputType

Name Type Nullable
collection_id Int Yes
created_at Int Yes
updated_at Int Yes
updated_by Int Yes
last_media_added_at Int Yes
cover_media_id Int Yes
name Int Yes
description Int Yes
public Int Yes
creator_id Int Yes
old_creator_id Int Yes
organization_id Int Yes
old_album_id Int Yes
sort Int Yes
token Int Yes
starts_at Int Yes
ends_at Int Yes
legacy_album Int Yes
_all Int Yes

CollectionsAvgAggregateOutputType

Name Type Nullable
collection_id Float No
updated_by Float No
cover_media_id Float No
creator_id Float No
old_creator_id Float No
old_album_id Float No

CollectionsSumAggregateOutputType

Name Type Nullable
collection_id Int No
updated_by Int No
cover_media_id Int No
creator_id Int No
old_creator_id Int No
old_album_id Int No

CollectionsMinAggregateOutputType

Name Type Nullable
collection_id Int No
created_at DateTime No
updated_at DateTime No
updated_by Int No
last_media_added_at DateTime No
cover_media_id Int No
name String No
description String No
public Boolean No
creator_id Int No
old_creator_id Int No
organization_id String No
old_album_id Int No
sort String No
token String No
starts_at DateTime No
ends_at DateTime No
legacy_album Boolean No

CollectionsMaxAggregateOutputType

Name Type Nullable
collection_id Int No
created_at DateTime No
updated_at DateTime No
updated_by Int No
last_media_added_at DateTime No
cover_media_id Int No
name String No
description String No
public Boolean No
creator_id Int No
old_creator_id Int No
organization_id String No
old_album_id Int No
sort String No
token String No
starts_at DateTime No
ends_at DateTime No
legacy_album Boolean No

MediaCountAggregateOutputType

Name Type Nullable
created_at Int Yes
updated_at Int Yes
reprocessed_at Int Yes
updated_by Int Yes
captured_at Int Yes
creator_id Int Yes
space_id Int Yes
type Int Yes
source Int Yes
source_id Int Yes
file_name Int Yes
original_file_name Int Yes
file_size Int Yes
rotation Int Yes
height Int Yes
width Int Yes
status Int Yes
public Int Yes
prevent_public Int Yes
media_id Int Yes
old_album_id Int Yes
organization_id Int Yes
name Int Yes
caption Int Yes
description Int Yes
identifier_hash Int Yes
copyright_description Int Yes
duration Int Yes
watermark Int Yes
requires_license Int Yes
copyright_watermark Int Yes
account_id Int Yes
display_thumbnail Int Yes
reprocess Int Yes
_all Int Yes

MediaAvgAggregateOutputType

Name Type Nullable
updated_by Float No
creator_id Float No
space_id Float No
type Float No
file_size Float No
rotation Float No
height Float No
width Float No
status Float No
media_id Float No
old_album_id Float No
duration Float No

MediaSumAggregateOutputType

Name Type Nullable
updated_by Int No
creator_id Int No
space_id Int No
type Int No
file_size Int No
rotation Int No
height Int No
width Int No
status Int No
media_id Int No
old_album_id Int No
duration Int No

MediaMinAggregateOutputType

Name Type Nullable
created_at DateTime No
updated_at DateTime No
reprocessed_at DateTime No
updated_by Int No
captured_at DateTime No
creator_id Int No
space_id Int No
type Int No
source String No
source_id String No
file_name String No
original_file_name String No
file_size Int No
rotation Int No
height Int No
width Int No
status Int No
public Boolean No
prevent_public Boolean No
media_id Int No
old_album_id Int No
organization_id String No
name String No
caption String No
description String No
identifier_hash String No
copyright_description String No
duration Int No
watermark Boolean No
requires_license Boolean No
copyright_watermark Boolean No
account_id String No
display_thumbnail Boolean No
reprocess Boolean No

MediaMaxAggregateOutputType

Name Type Nullable
created_at DateTime No
updated_at DateTime No
reprocessed_at DateTime No
updated_by Int No
captured_at DateTime No
creator_id Int No
space_id Int No
type Int No
source String No
source_id String No
file_name String No
original_file_name String No
file_size Int No
rotation Int No
height Int No
width Int No
status Int No
public Boolean No
prevent_public Boolean No
media_id Int No
old_album_id Int No
organization_id String No
name String No
caption String No
description String No
identifier_hash String No
copyright_description String No
duration Int No
watermark Boolean No
requires_license Boolean No
copyright_watermark Boolean No
account_id String No
display_thumbnail Boolean No
reprocess Boolean No