(record: EraProps)
| 39 | delegators?: DelegationFrom[]; |
| 40 | |
| 41 | static create(record: EraProps): EraEntity { |
| 42 | assert(typeof record.id === 'string', 'id must be provided'); |
| 43 | const entity = new this(record.id, record.startTime); |
| 44 | Object.assign(entity, record); |
| 45 | return entity; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | const models: GraphQLModelsType[] = [ |
no outgoing calls
no test coverage detected