angular-auth-oidc-client
Version:
Angular Lib for OpenID Connect & OAuth2
13 lines (12 loc) • 964 B
TypeScript
import { Tree } from '@angular-devkit/schematics';
import { WorkspaceProject, WorkspaceSchema } from '@schematics/angular/utility/workspace-models';
import { Schema } from '../ng-add/schema';
import ts = require('@schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript');
export declare const ANGULAR_JSON_FILENAME = "angular.json";
export declare function getAngularWorkspace(tree: Tree): WorkspaceSchema;
export declare function updateProjectInAngularJson(tree: Tree, content: WorkspaceProject, projectName?: string): void;
export declare function getProject(tree: Tree, projectName?: string): [string, WorkspaceProject];
export declare function readIntoSourceFile(host: Tree, fileName: string): ts.SourceFile;
export declare function getDefaultProjectName(tree: Tree): string;
export declare function getAngularJsonContent(tree: Tree): string;
export declare function isStandaloneSchematic(host: Tree, options: Schema): Promise<boolean>;