From 291803c31f829fe0d32bb3207bc11def95a7408c Mon Sep 17 00:00:00 2001 From: Nevena Bojovic Date: Tue, 1 Mar 2022 20:05:50 +0100 Subject: Urađena test aplikacija. Povezan front i back. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../@angular-devkit/schematics/src/sink/sink.d.ts | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.d.ts (limited to 'sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.d.ts') diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.d.ts new file mode 100644 index 00000000..9e441f2a --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.d.ts @@ -0,0 +1,35 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/// +import { Observable } from 'rxjs'; +import { Action, CreateFileAction, DeleteFileAction, OverwriteFileAction, RenameFileAction } from '../tree/action'; +import { Tree } from '../tree/interface'; +export interface Sink { + commit(tree: Tree): Observable; +} +export declare abstract class SimpleSinkBase implements Sink { + preCommitAction: (action: Action) => void | Action | PromiseLike | Observable; + postCommitAction: (action: Action) => void | Observable; + preCommit: () => void | Observable; + postCommit: () => void | Observable; + protected abstract _validateFileExists(p: string): Observable; + protected abstract _overwriteFile(path: string, content: Buffer): Observable; + protected abstract _createFile(path: string, content: Buffer): Observable; + protected abstract _renameFile(path: string, to: string): Observable; + protected abstract _deleteFile(path: string): Observable; + protected abstract _done(): Observable; + protected _fileAlreadyExistException(path: string): void; + protected _fileDoesNotExistException(path: string): void; + protected _validateOverwriteAction(action: OverwriteFileAction): Observable; + protected _validateCreateAction(action: CreateFileAction): Observable; + protected _validateRenameAction(action: RenameFileAction): Observable; + protected _validateDeleteAction(action: DeleteFileAction): Observable; + validateSingleAction(action: Action): Observable; + commitSingleAction(action: Action): Observable; + commit(tree: Tree): Observable; +} -- cgit v1.2.3