Skip to content

Commit

Permalink
fix(interfaces): Undo interface export
Browse files Browse the repository at this point in the history
  • Loading branch information
davismj committed Jun 19, 2018
1 parent 5fcb6f4 commit e21fc9c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/interfaces.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* A configuration object that describes a route.
*/
export interface RouteConfig {
interface RouteConfig {
/**
* The route pattern to match against incoming URL fragments, or an array of patterns.
*/
Expand Down Expand Up @@ -106,7 +106,7 @@ export interface RouteConfig {
/**
* An optional interface describing the canActivate convention.
*/
export interface RoutableComponentCanActivate {
interface RoutableComponentCanActivate {
/**
* Implement this hook if you want to control whether or not your view-model can be navigated to.
* Return a boolean value, a promise for a boolean value, or a navigation command.
Expand All @@ -117,7 +117,7 @@ export interface RoutableComponentCanActivate {
/**
* An optional interface describing the activate convention.
*/
export interface RoutableComponentActivate {
interface RoutableComponentActivate {
/**
* Implement this hook if you want to perform custom logic just before your view-model is displayed.
* You can optionally return a promise to tell the router to wait to bind and attach the view until
Expand All @@ -129,7 +129,7 @@ export interface RoutableComponentActivate {
/**
* An optional interface describing the canDeactivate convention.
*/
export interface RoutableComponentCanDeactivate {
interface RoutableComponentCanDeactivate {
/**
* Implement this hook if you want to control whether or not the router can navigate away from your
* view-model when moving to a new route. Return a boolean value, a promise for a boolean value,
Expand All @@ -141,7 +141,7 @@ export interface RoutableComponentCanDeactivate {
/**
* An optional interface describing the deactivate convention.
*/
export interface RoutableComponentDeactivate {
interface RoutableComponentDeactivate {
/**
* Implement this hook if you want to perform custom logic when your view-model is being
* navigated away from. You can optionally return a promise to tell the router to wait until
Expand All @@ -153,7 +153,7 @@ export interface RoutableComponentDeactivate {
/**
* An optional interface describing the determineActivationStrategy convention.
*/
export interface RoutableComponentDetermineActivationStrategy {
interface RoutableComponentDetermineActivationStrategy {
/**
* Implement this hook if you want to give hints to the router about the activation strategy, when reusing
* a view model for different routes. Available values are 'replace' and 'invoke-lifecycle'.
Expand All @@ -164,7 +164,7 @@ export interface RoutableComponentDetermineActivationStrategy {
/**
* An optional interface describing the router configuration convention.
*/
export interface ConfiguresRouter {
interface ConfiguresRouter {
/**
* Implement this hook if you want to configure a router.
*/
Expand All @@ -174,7 +174,7 @@ export interface ConfiguresRouter {
/**
* An optional interface describing the available activation strategies.
*/
export interface ActivationStrategy {
interface ActivationStrategy {
/**
* Reuse the existing view model, without invoking Router lifecycle hooks.
*/
Expand All @@ -192,7 +192,7 @@ export interface ActivationStrategy {
/**
* A step to be run during processing of the pipeline.
*/
export interface PipelineStep {
interface PipelineStep {
/**
* Execute the pipeline step. The step should invoke next(), next.complete(),
* next.cancel(), or next.reject() to allow the pipeline to continue.
Expand All @@ -206,7 +206,7 @@ export interface PipelineStep {
/**
* The result of a pipeline run.
*/
export interface PipelineResult {
interface PipelineResult {
status: string;
instruction: NavigationInstruction;
output: any;
Expand Down

0 comments on commit e21fc9c

Please sign in to comment.