UNPKG

aurelia-orm

Version:

Makes working with entities and calling your Rest API simple.

19 lines (14 loc) 501 B
import {endpoint} from '../../../src/decorator/endpoint'; import {identifier} from '../../../src/decorator/identifier'; import {resource} from '../../../src/decorator/resource'; import {Entity} from '../../../src/entity'; @resource('with-duplicated-resource') @endpoint('with-endpoint-foo') export class FirstWithSameResource extends Entity { foo = null; } @resource('with-duplicated-resource') @endpoint('with-endpoint-bar') export class SecondWithSameResource extends Entity { foo = null; }