Skip to content

Commit

Permalink
update SchemaService interface with improved method signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed May 22, 2024
1 parent d23cf69 commit d908627
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions text/1027-ember-data-schema-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ interface SchemaService {
// Retrieval APIs
fields(resource: { type: string } | StableRecordIdentifier): Map<string, FieldSchema>;
resource(resource: { type: string } | StableRecordIdentifier): ResourceSchema;
transformation(name: string): Transformation;
derivation(name: string): Derivation;
hashFn(name: string): HashFn;
transformation(field: GenericField | ObjectField | ArrayField | { type: string }): Transformation;
derivation(field: DerivedField | { type: string }): Derivation;
hashFn(field: HashField | { type: string }): HashFn;

hasTrait(name: string): boolean;
resourceHasTrait(resource: { type: string } | StableRecordIdentifier, trait: string): boolean;
Expand Down

0 comments on commit d908627

Please sign in to comment.