package schema
- Alphabetic
- Public
- All
Type Members
-
final
class
ArbitraryBytesBody extends ScalaRecordTemplate with Product
If a resource would like to return arbitrary bodies, it should have this as its schema.
If a resource would like to return arbitrary bodies, it should have this as its schema. (e.g. if a resource would like to return an image as part of an operation. TODO(saeta): Determine if we want to even include this in Naptime, or if we want to support this in some other manner.
- Annotations
- @Generated()
-
final
class
ArbitraryRecord extends ScalaRecordTemplate with Product
An empty record that allows us to package arbitrary Javascript data in a structured manner.
An empty record that allows us to package arbitrary Javascript data in a structured manner. Note: this is entirely an escape hatch from the Schema type system. Use judiciously!
- Annotations
- @Generated()
-
sealed abstract
class
ArbitraryValue extends ScalaUnionTemplate with Product
- Annotations
- @Generated()
-
final
class
Attribute extends ScalaRecordTemplate with Product
Extra data related to an entity including deprecation information or documentation.
Extra data related to an entity including deprecation information or documentation. Other uses of attributes include annotations to override defaults for code-generated clients. TODO(saeta): Move this to a proper scala type with a coercer and extra information.
- Annotations
- @Generated()
-
final
class
AttributeArray extends IndexedSeq[Attribute] with Product with GenTraversable[Attribute] with ScalaArrayTemplate
- Annotations
- @Generated()
-
sealed abstract
class
AuthOverride extends ScalaUnionTemplate with Product
- Annotations
- @Generated()
-
final
class
GraphQLRelationAnnotation extends ScalaRecordTemplate with Product
The schema for a GraphQL relation annotation.
The schema for a GraphQL relation annotation.
- Annotations
- @Generated()
-
final
class
Handler extends ScalaRecordTemplate with Product
The schema for a particular resource's Naptime handler.
The schema for a particular resource's Naptime handler.
- Annotations
- @Generated()
-
final
class
HandlerArray extends IndexedSeq[Handler] with Product with GenTraversable[Handler] with ScalaArrayTemplate
- Annotations
- @Generated()
- sealed abstract class HandlerKind extends ScalaEnumTemplateSymbol
-
final
class
InternalAuth extends ScalaRecordTemplate with Product
- Annotations
- @Generated()
-
final
class
JsValue extends ScalaRecordTemplate with Product
An empty record that allows us to package arbitrary Javascript data in a structured manner.
An empty record that allows us to package arbitrary Javascript data in a structured manner. Note: this is entirely an escape hatch from the Schema type system. Use judiciously!
- Annotations
- @Generated()
-
final
class
Parameter extends ScalaRecordTemplate with Product
Information regarding a [query] parameter to a Naptime Handler.
Information regarding a [query] parameter to a Naptime Handler.
- Annotations
- @Generated()
-
final
class
ParameterArray extends IndexedSeq[Parameter] with Product with GenTraversable[Parameter] with ScalaArrayTemplate
- Annotations
- @Generated()
-
final
class
ParameterDataSchema extends ScalaRecordTemplate with Product
Marker type identifying a Pegasus data schema.
Marker type identifying a Pegasus data schema. Because Pegasus data schemas are not self describing, they are represented in Courier with this record. Instances of this record will, however, be non-empty-- their underlying DataMap will contain the JSON representation of a Pegasus data schema.
- Annotations
- @Generated()
- sealed abstract class RelationType extends ScalaEnumTemplateSymbol
-
final
class
Resource extends ScalaRecordTemplate with Product
The schema for representing a Naptime resource.
The schema for representing a Naptime resource.
- Annotations
- @Generated()
-
final
class
ResourceDataSchema extends ScalaRecordTemplate with Product
Marker type identifying a Pegasus data schema.
Marker type identifying a Pegasus data schema. Because Pegasus data schemas are not self describing, they are represented in Courier with this record. Instances of this record will, however, be non-empty-- their underlying DataMap will contain the JSON representation of a Pegasus data schema.
- Annotations
- @Generated()
-
final
class
ResourceDataSchemaMap extends Iterable[(String, ResourceDataSchema)] with Map[String, ResourceDataSchema] with MapLike[String, ResourceDataSchema, Map[String, ResourceDataSchema]] with DataTemplate[DataMap]
- Annotations
- @Generated()
- sealed abstract class ResourceKind extends ScalaEnumTemplateSymbol
-
final
class
ResourceSchemas extends ScalaRecordTemplate with Product
The schema of a naptime resource plus the data schemas used in that resourceSchema.
The schema of a naptime resource plus the data schemas used in that resourceSchema.
- Annotations
- @Generated()
Value Members
- object ArbitraryBytesBody extends RecordCompanion[ArbitraryBytesBody]
- object ArbitraryRecord extends RecordCompanion[ArbitraryRecord]
- object ArbitraryValue extends UnionCompanion[ArbitraryValue] with UnionWithTyperefCompanion[ArbitraryValue]
- object Attribute extends RecordCompanion[Attribute]
- object AttributeArray extends ArrayCompanion[AttributeArray]
- object AuthOverride extends UnionCompanion[AuthOverride] with UnionWithTyperefCompanion[AuthOverride]
- object GraphQLRelationAnnotation extends RecordCompanion[GraphQLRelationAnnotation]
- object Handler extends RecordCompanion[Handler]
- object HandlerArray extends ArrayCompanion[HandlerArray]
-
object
HandlerKind extends ScalaEnumTemplate[HandlerKind]
- Annotations
- @Generated()
- object InternalAuth extends RecordCompanion[InternalAuth]
- object JsValue extends RecordCompanion[JsValue]
- object Parameter extends RecordCompanion[Parameter]
- object ParameterArray extends ArrayCompanion[ParameterArray]
- object ParameterDataSchema extends RecordCompanion[ParameterDataSchema]
-
object
RelationType extends ScalaEnumTemplate[RelationType]
- Annotations
- @Generated()
- object Resource extends RecordCompanion[Resource]
- object ResourceDataSchema extends RecordCompanion[ResourceDataSchema]
- object ResourceDataSchemaMap extends MapCompanion[ResourceDataSchemaMap]
-
object
ResourceKind extends ScalaEnumTemplate[ResourceKind]
An enumeration of the main types of resources.
An enumeration of the main types of resources.
- Annotations
- @Generated()
- object ResourceSchemas extends RecordCompanion[ResourceSchemas]