-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.d.ts
31 lines (26 loc) · 991 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { Actions, Compacts, Handlers, Infractions, Positractions, Hitches } from 'trans-render/O.d.ts';
//export {IEnhancement, BEAllProps} from 'trans-render/be.d.ts';
export type Enhancement = string; //camelCase;
export type EnhKey = string; //lisp case;
export type FQN = string;
export interface PropInfo{
dry?: boolean;
ro?: boolean;
def?: any;
propName?: string,
}
export type PropLookup = {[key: string]: PropInfo}
export interface BEConfig<TProps = any, TActions = TProps, ETProps = TProps>{
propDefaults?: Partial<{[key in keyof TProps]: TProps[key]}>;
propInfo?: Partial<{[key in keyof TProps]: PropInfo}>;
actions?: Actions<TProps, TActions>;
/**
* inferred actions
*/
infractions?: Infractions<TProps>,
compacts?: Compacts<TProps, TProps & TActions>;
hitch?: Hitches<TProps, TActions>
handlers?: Handlers<ETProps, TActions>;
positractions?: Positractions<TProps, TActions>;
watchedBranches?: Set<number>;
}