18 lines
480 B
TypeScript
18 lines
480 B
TypeScript
|
|
/**
|
||
|
|
* @fileOverview
|
||
|
|
*
|
||
|
|
* Created on 5/21/16.
|
||
|
|
* @author Siggi Orn <siggi@jibo.com>
|
||
|
|
*/
|
||
|
|
import { Server } from './Server';
|
||
|
|
import { Field, FieldType } from './Field';
|
||
|
|
export declare class Folder {
|
||
|
|
name: string;
|
||
|
|
server: Server;
|
||
|
|
fields: Map<string, Field<any>>;
|
||
|
|
constructor(name: string, server: Server);
|
||
|
|
_installField(name: string, creator: () => Field<any>): Field<any>;
|
||
|
|
getFieldOrThrow(name: string): Field<any>;
|
||
|
|
getValue(name: string): FieldType;
|
||
|
|
}
|