aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/@schematics/angular/guard/schema.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@schematics/angular/guard/schema.d.ts')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/guard/schema.d.ts36
1 files changed, 36 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/guard/schema.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/guard/schema.d.ts
new file mode 100644
index 00000000..c4f7f68a
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/guard/schema.d.ts
@@ -0,0 +1,36 @@
+/**
+ * Generates a new, generic route guard definition in the given or default project.
+ */
+export interface Schema {
+ /**
+ * When true (the default), creates the new files at the top level of the current project.
+ */
+ flat?: boolean;
+ /**
+ * Specifies which interfaces to implement.
+ */
+ implements?: Implement[];
+ /**
+ * The name of the new route guard.
+ */
+ name: string;
+ /**
+ * The path at which to create the interface that defines the guard, relative to the current
+ * workspace.
+ */
+ path?: string;
+ /**
+ * The name of the project.
+ */
+ project?: string;
+ /**
+ * Do not create "spec.ts" test files for the new guard.
+ */
+ skipTests?: boolean;
+}
+export declare enum Implement {
+ CanActivate = "CanActivate",
+ CanActivateChild = "CanActivateChild",
+ CanDeactivate = "CanDeactivate",
+ CanLoad = "CanLoad"
+}