14 lines
456 B
TypeScript
14 lines
456 B
TypeScript
import { CollectionWithIdExport } from "jslib-common/models/export/collectionWithIdExport";
|
|
import { CollectionView } from "jslib-common/models/view/collectionView";
|
|
import { BaseResponse } from "jslib-node/cli/models/response/baseResponse";
|
|
|
|
export class CollectionResponse extends CollectionWithIdExport implements BaseResponse {
|
|
object: string;
|
|
|
|
constructor(o: CollectionView) {
|
|
super();
|
|
this.object = "collection";
|
|
this.build(o);
|
|
}
|
|
}
|