Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Mar 1, 2016
1 parent 52fe3fe commit 0880a6a
Show file tree
Hide file tree
Showing 14 changed files with 1,575 additions and 808 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-router",
"version": "1.0.0-beta.1.1.1",
"version": "1.0.0-beta.1.1.2",
"description": "A powerful client-side router.",
"keywords": [
"aurelia",
Expand Down
45 changes: 41 additions & 4 deletions dist/amd/aurelia-router.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
declare module 'aurelia-router' {
import 'core-js';
import * as LogManager from 'aurelia-logging';
import { Container } from 'aurelia-dependency-injection';
import { RouteRecognizer } from 'aurelia-route-recognizer';
Expand Down Expand Up @@ -129,18 +128,24 @@ declare module 'aurelia-router' {
* like pipeline steps and activated modules.
*/
settings?: any;

/**
* The navigation model for storing and interacting with the route's navigation settings.
*/
navModel?: NavModel;
[x: string]: any;
}
export class RouteFilterContainer {
static inject(): any;
constructor(container: Container);
register(key: string, aliases: string[]): any;
addStep(name: string, step: any, index?: number): void;
getFilterSteps(name: string): any;
getFilterSteps(key: string): any;
}
export function createRouteFilterStep(name: string): Function;
export function createRouteFilterStep(name: string, options?: any): Function;
class RouteFilterStep {
isMultiStep: boolean;
constructor(name: string, routeFilterContainer: RouteFilterContainer);
constructor(key: string, routeFilterContainer: RouteFilterContainer);
getSteps(): any;
}

Expand Down Expand Up @@ -353,6 +358,38 @@ declare module 'aurelia-router' {
*/
addPipelineStep(name: string, step: Function | PipelineStep): RouterConfiguration;

/**
* Adds a step to be run during the [[Router]]'s authorize pipeline slot.
*
* @param step The pipeline step.
* @chainable
*/
addAuthorizeStep(step: Function | PipelineStep): RouterConfiguration;

/**
* Adds a step to be run during the [[Router]]'s preActivate pipeline slot.
*
* @param step The pipeline step.
* @chainable
*/
addPreActivateStep(step: Function | PipelineStep): RouterConfiguration;

/**
* Adds a step to be run during the [[Router]]'s preRender pipeline slot.
*
* @param step The pipeline step.
* @chainable
*/
addPreRenderStep(step: Function | PipelineStep): RouterConfiguration;

/**
* Adds a step to be run during the [[Router]]'s postRender pipeline slot.
*
* @param step The pipeline step.
* @chainable
*/
addPostRenderStep(step: Function | PipelineStep): RouterConfiguration;

/**
* Maps one or more routes to be registered with the router.
*
Expand Down
Loading

0 comments on commit 0880a6a

Please sign in to comment.