You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
4 years ago
|
declare type _module = (xtype: string, cls: any) => void;
|
||
|
declare type _constant = (xtype: string, cls: any) => void;
|
||
|
declare type _model = (xtype: string, cls: any) => void;
|
||
|
declare type _store = (xtype: string, cls: any) => void;
|
||
|
declare type _service = (xtype: string, cls: any) => void;
|
||
|
declare type _provider = (xtype: string, cls: any) => void;
|
||
|
interface _modules {
|
||
|
getModule: (type: string) => any;
|
||
|
getAllModules: () => any;
|
||
|
}
|
||
|
interface _constants {
|
||
|
getConstant: (type: string) => any;
|
||
|
}
|
||
|
interface _models {
|
||
|
getModel: (type: string, options?: any) => any;
|
||
|
}
|
||
|
interface _stores {
|
||
|
getStore: (type: string, options?: any) => any;
|
||
|
}
|
||
|
interface _providers {
|
||
|
getProvider: (type: string, options?: any) => any;
|
||
|
}
|
||
|
interface _services {
|
||
|
getService: (type: string, options?: any) => any;
|
||
|
}
|
||
|
export declare type _inject = {
|
||
|
module: _module;
|
||
|
constant: _constant;
|
||
|
model: _model;
|
||
|
store: _store;
|
||
|
provider: _provider;
|
||
|
service: _service;
|
||
|
Modules: _modules;
|
||
|
Constants: _constants;
|
||
|
Models: _models;
|
||
|
Stores: _stores;
|
||
|
Providers: _providers;
|
||
|
Services: _services;
|
||
|
};
|
||
|
export {};
|