-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.d.ts
36 lines (28 loc) · 905 Bytes
/
types.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
31
32
33
34
35
36
import {IEnhancement, BEAllProps} from './node_modules/trans-render/be/types';
import {EndUserProps as BeBasedEndUserProps} from './node_modules/be-based/types';
import {Inserts} from './node_modules/stream-orator/types';
export interface EndUserProps extends IEnhancement{
from?: string,
to?: string,
shadowRootMode?: 'open' | 'closed'
reqInit?: RequestInit,
wrapper?: string,
beBased?: boolean | BeBasedEndUserProps,
beOosoom?: string,
defer?: boolean,
inProgressCss?: string,
inserts?:Inserts,
between?: [lhs: string, rhs: string],
once?: boolean,
}
export interface AllProps extends EndUserProps{
to: string,
from: string,
}
export interface AllProps extends EndUserProps {}
export type AP = AllProps;
export type PAP = Partial<AP>;
export type ProPAP = Promise<PAP>;
export interface Actions{
write(self: AP & BEAllProps): ProPAP;
}