@crnk/angular-ngrx
Version:
Angular helper library for ngrx-json-api and crnk:
33 lines (32 loc) • 1.14 kB
TypeScript
import { BeanPath, BooleanPath, StringPath } from '../expression/';
import { MetaKey, QMetaKey } from './meta.key';
import { ManyQueryResult, OneQueryResult } from 'ngrx-json-api';
export declare module MetaPrimaryKey {
interface Attributes extends MetaKey.Attributes {
generated?: boolean;
}
}
export interface MetaPrimaryKey extends MetaKey {
attributes?: MetaPrimaryKey.Attributes;
}
export interface MetaPrimaryKeyResult extends OneQueryResult {
data?: MetaPrimaryKey;
}
export interface MetaPrimaryKeyListResult extends ManyQueryResult {
data?: Array<MetaPrimaryKey>;
}
export declare class QMetaPrimaryKey extends BeanPath<MetaPrimaryKey> {
metaId: string;
id: StringPath;
type: StringPath;
attributes: QMetaPrimaryKey.QAttributes;
relationships: QMetaKey.QRelationships;
}
export declare module QMetaPrimaryKey {
class QAttributes extends BeanPath<MetaPrimaryKey.Attributes> {
generated: BooleanPath;
unique: BooleanPath;
name: StringPath;
}
}
export declare let createEmptyMetaPrimaryKey: (id: string) => MetaPrimaryKey;