// Copyright 2019-present Facebook Inc. All rights reserved. // This source code is licensed under the Apache 2.0 license found // in the LICENSE file in the root directory of this source tree. // Code generated by ent, DO NOT EDIT. package document import ( "entgo.io/ent/dialect/gremlin/graph/dsl" "entgo.io/ent/entc/integration/ent/schema" "entgo.io/ent/schema/field" ) const ( // Label holds the string label denoting the document type in the database. Label = "document" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldThumbnail holds the string denoting the thumbnail field in the database. FieldThumbnail = "thumbnail" // FieldAttachment holds the string denoting the attachment field in the database. FieldAttachment = "attachment" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldPayload holds the string denoting the payload field in the database. FieldPayload = "payload" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldArchive holds the string denoting the archive field in the database. FieldArchive = "archive" ) var ( // ValueScanner of all Document fields. ValueScanner struct { Payload field.TypeValueScanner[*schema.DocPayload] } ) // OrderOption defines the ordering options for the Document queries. type OrderOption func(*dsl.Traversal) // comment from another template.