RackHD/on-web-ui

View on GitHub
src/app/models/catalog.ts

Summary

Maintainability
A
0 mins
Test Coverage
/*
 This defines the data model of Node's catalog.
*/
export class Catalog {
    id: string;
    node: string;
    source: string;
    data: any; // {} or []
}

export const CATALOG_URL = {
    getAllUrl: '/catalogs',
    getByIdentifierUrl: '/catalogs/',
}