Skip to content

Commit 0cdc688

Browse files
chore(git): add missed file
1 parent 0569c63 commit 0cdc688

File tree

1 file changed

+31
-23
lines changed

1 file changed

+31
-23
lines changed

dist/aurelia-framework.d.ts

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
declare module 'aurelia-framework' {
22
import * as TheLogManager from 'aurelia-logging';
3-
43
import {
54
Container
65
} from 'aurelia-dependency-injection';
@@ -22,45 +21,54 @@ declare module 'aurelia-framework' {
2221
import {
2322
join
2423
} from 'aurelia-path';
24+
2525
/**
2626
* The framework core that provides the main Aurelia object.
2727
*/
2828
export class Aurelia {
29+
2930
/**
3031
* The loader used by the application.
3132
*/
3233
loader: Loader;
34+
3335
/**
3436
* The root DI container used by the application.
3537
*/
3638
container: Container;
39+
3740
/**
3841
* The global view resources used by the application.
3942
*/
4043
resources: ViewResources;
44+
4145
/**
4246
* The configuration used during application startup.
4347
*/
4448
use: FrameworkConfiguration;
49+
4550
/**
4651
* Creates an instance of Aurelia.
4752
* @param loader The loader for this Aurelia instance to use. If a loader is not specified, Aurelia will use the loader type specified by PLATFORM.Loader.
4853
* @param container The dependency injection container for this Aurelia instance to use. If a container is not specified, Aurelia will create an empty, global container.
4954
* @param resources The resource registry for this Aurelia instance to use. If a resource registry is not specified, Aurelia will create an empty registry.
5055
*/
5156
constructor(loader?: Loader, container?: Container, resources?: ViewResources);
57+
5258
/**
5359
* Loads plugins, then resources, and then starts the Aurelia instance.
5460
* @return Returns a Promise with the started Aurelia instance.
5561
*/
5662
start(): Promise<Aurelia>;
63+
5764
/**
5865
* Enhances the host's existing elements with behaviors and bindings.
5966
* @param bindingContext A binding context for the enhanced elements.
6067
* @param applicationHost The DOM object that Aurelia will enhance.
6168
* @return Returns a Promise for the current Aurelia instance.
6269
*/
6370
enhance(bindingContext?: Object, applicationHost?: string | Element): Promise<Aurelia>;
71+
6472
/**
6573
* Instantiates the root component and adds it to the DOM.
6674
* @param root The root component to load upon bootstrap.
@@ -69,138 +77,139 @@ declare module 'aurelia-framework' {
6977
*/
7078
setRoot(root?: string, applicationHost?: string | Element): Promise<Aurelia>;
7179
}
80+
7281
/**
7382
* Manages configuring the aurelia framework instance.
7483
*/
7584
export class FrameworkConfiguration {
76-
85+
7786
/**
7887
* The root DI container used by the application.
7988
*/
8089
container: Container;
81-
90+
8291
/**
8392
* The aurelia instance.
8493
*/
8594
aurelia: Aurelia;
86-
95+
8796
/**
8897
* Creates an instance of FrameworkConfiguration.
8998
* @param aurelia An instance of Aurelia.
9099
*/
91100
constructor(aurelia: Aurelia);
92-
101+
93102
/**
94103
* Adds an existing object to the framework's dependency injection container.
95104
* @param type The object type of the dependency that the framework will inject.
96105
* @param instance The existing instance of the dependency that the framework will inject.
97106
* @return Returns the current FrameworkConfiguration instance.
98107
*/
99108
instance(type: any, instance: any): FrameworkConfiguration;
100-
109+
101110
/**
102111
* Adds a singleton to the framework's dependency injection container.
103112
* @param type The object type of the dependency that the framework will inject.
104113
* @param implementation The constructor function of the dependency that the framework will inject.
105114
* @return Returns the current FrameworkConfiguration instance.
106115
*/
107116
singleton(type: any, implementation?: Function): FrameworkConfiguration;
108-
117+
109118
/**
110119
* Adds a transient to the framework's dependency injection container.
111120
* @param type The object type of the dependency that the framework will inject.
112121
* @param implementation The constructor function of the dependency that the framework will inject.
113122
* @return Returns the current FrameworkConfiguration instance.
114123
*/
115124
transient(type: any, implementation?: Function): FrameworkConfiguration;
116-
125+
117126
/**
118127
* Adds an async function that runs before the plugins are run.
119128
* @param task The function to run before start.
120129
* @return Returns the current FrameworkConfiguration instance.
121130
*/
122131
preTask(task: Function): FrameworkConfiguration;
123-
132+
124133
/**
125134
* Adds an async function that runs after the plugins are run.
126135
* @param task The function to run after start.
127136
* @return Returns the current FrameworkConfiguration instance.
128137
*/
129138
postTask(task: Function): FrameworkConfiguration;
130-
139+
131140
/**
132141
* Configures an internal feature plugin before Aurelia starts.
133142
* @param plugin The folder for the internal plugin to configure (expects an index.js in that folder).
134143
* @param config The configuration for the specified plugin.
135144
* @return Returns the current FrameworkConfiguration instance.
136145
*/
137146
feature(plugin: string, config?: any): FrameworkConfiguration;
138-
147+
139148
/**
140149
* Adds globally available view resources to be imported into the Aurelia framework.
141150
* @param resources The relative module id to the resource. (Relative to the plugin's installer.)
142151
* @return Returns the current FrameworkConfiguration instance.
143152
*/
144153
globalResources(resources: string | string[]): FrameworkConfiguration;
145-
154+
146155
/**
147156
* Renames a global resource that was imported.
148157
* @param resourcePath The path to the resource.
149158
* @param newName The new name.
150159
* @return Returns the current FrameworkConfiguration instance.
151160
*/
152161
globalName(resourcePath: string, newName: string): FrameworkConfiguration;
153-
162+
154163
/**
155164
* Configures an external, 3rd party plugin before Aurelia starts.
156165
* @param plugin The ID of the 3rd party plugin to configure.
157166
* @param config The configuration for the specified plugin.
158167
* @return Returns the current FrameworkConfiguration instance.
159168
*/
160169
plugin(plugin: string, config?: any): FrameworkConfiguration;
161-
170+
162171
/**
163172
* Plugs in the default binding language from aurelia-templating-binding.
164173
* @return Returns the current FrameworkConfiguration instance.
165174
*/
166175
defaultBindingLanguage(): FrameworkConfiguration;
167-
176+
168177
/**
169178
* Plugs in the router from aurelia-templating-router.
170179
* @return Returns the current FrameworkConfiguration instance.
171180
*/
172181
router(): FrameworkConfiguration;
173-
182+
174183
/**
175184
* Plugs in the default history implementation from aurelia-history-browser.
176185
* @return Returns the current FrameworkConfiguration instance.
177186
*/
178187
history(): FrameworkConfiguration;
179-
188+
180189
/**
181190
* Plugs in the default templating resources (if, repeat, show, compose, etc.) from aurelia-templating-resources.
182191
* @return Returns the current FrameworkConfiguration instance.
183192
*/
184193
defaultResources(): FrameworkConfiguration;
185-
194+
186195
/**
187196
* Plugs in the event aggregator from aurelia-event-aggregator.
188197
* @return Returns the current FrameworkConfiguration instance.
189198
*/
190199
eventAggregator(): FrameworkConfiguration;
191-
200+
192201
/**
193202
* Sets up the Aurelia configuration. This is equivalent to calling `.defaultBindingLanguage().defaultResources().history().router().eventAggregator();`
194203
* @return Returns the current FrameworkConfiguration instance.
195204
*/
196205
standardConfiguration(): FrameworkConfiguration;
197-
206+
198207
/**
199208
* Plugs in the ConsoleAppender and sets the log level to debug.
200209
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
201210
*/
202211
developmentLogging(): FrameworkConfiguration;
203-
212+
204213
/**
205214
* Loads and configures the plugins registered with this instance.
206215
* @return Returns a promise which resolves when all plugins are loaded and configured.
@@ -215,9 +224,8 @@ declare module 'aurelia-framework' {
215224
export * from 'aurelia-task-queue';
216225
export * from 'aurelia-path';
217226
export * from 'aurelia-pal';
218-
219227
/**
220228
* The log manager.
221229
*/
222230
export const LogManager: any;
223-
}
231+
}

0 commit comments

Comments
 (0)