@awdware/gah-shared
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -8,3 +8,2 @@ export * from './models/gah-config'; | ||
export * from './models/gah-event-handler'; | ||
export * from './models/gah-event-payload.model'; | ||
export * from './models/gah-plugin'; | ||
@@ -20,3 +19,6 @@ export * from './models/module-definition'; | ||
export * from './models/plugin-update'; | ||
export * from './models/events/install-finished.event'; | ||
export * from './models/install-helper/gah-file'; | ||
export * from './models/install-helper/gah-folder'; | ||
export * from './models/install-helper/gah-module-base'; | ||
export * from './models/install-helper/ts-config-file'; | ||
export * from './services/configuration.service'; | ||
@@ -23,0 +25,0 @@ export * from './services/context.service'; |
@@ -20,3 +20,2 @@ "use strict"; | ||
__exportStar(require("./models/gah-event-handler"), exports); | ||
__exportStar(require("./models/gah-event-payload.model"), exports); | ||
__exportStar(require("./models/gah-plugin"), exports); | ||
@@ -32,3 +31,6 @@ __exportStar(require("./models/module-definition"), exports); | ||
__exportStar(require("./models/plugin-update"), exports); | ||
__exportStar(require("./models/events/install-finished.event"), exports); | ||
__exportStar(require("./models/install-helper/gah-file"), exports); | ||
__exportStar(require("./models/install-helper/gah-folder"), exports); | ||
__exportStar(require("./models/install-helper/gah-module-base"), exports); | ||
__exportStar(require("./models/install-helper/ts-config-file"), exports); | ||
__exportStar(require("./services/configuration.service"), exports); | ||
@@ -35,0 +37,0 @@ __exportStar(require("./services/context.service"), exports); |
@@ -1,3 +0,2 @@ | ||
import { GahEvent } from './gah-event'; | ||
import { GahEventPayload } from './gah-event-payload.model'; | ||
import { GahEvent, GahEventPayload } from './gah-event'; | ||
export declare class GahEventHandler { | ||
@@ -4,0 +3,0 @@ event: GahEvent; |
@@ -0,4 +1,47 @@ | ||
import { GahFileData } from './install-helper/gah-file'; | ||
import { GahModuleData } from './install-helper/gah-module-base'; | ||
export declare enum GahEvent { | ||
UNKNOWN = 0, | ||
INSTALL_FINISHED = 1 | ||
INSTALL_FINISHED = 1, | ||
INSTALL_STARTED = 2, | ||
HOST_COPIED = 3, | ||
STARTING_MODULE_INSTALL = 4, | ||
FINISHED_MODULE_INSTALL = 5, | ||
TS_CONFIG_CLEANED = 6, | ||
GAH_FOLDER_CLEANED = 7, | ||
STYLES_FILE_GENERATED = 8, | ||
SYMLINKS_CREATED = 9, | ||
TS_CONFIG_ADJUSTED = 10, | ||
TEMPLATE_GENERATED = 11, | ||
ASSETS_BASE_STYLES_COPIED = 12, | ||
DEPENDENCIES_MERGED = 13, | ||
STYLE_IMPORTS_GENERATED = 14, | ||
GITIGNORE_ADJUSTED = 15, | ||
ANGULAR_JSON_ADJUSTED = 16, | ||
PACKAGES_INSTALLED = 17 | ||
} | ||
export interface GahEventPayload { | ||
} | ||
export interface GahFileDataPayload extends GahEventPayload { | ||
readonly gahFile?: GahFileData; | ||
} | ||
export interface GahModuleDataPayload extends GahEventPayload { | ||
readonly module?: GahModuleData; | ||
} | ||
export declare type InstallFinishedEvent = GahFileDataPayload; | ||
export declare type InstallStartedEvent = GahFileDataPayload; | ||
export declare type HostCopiedEvent = GahFileDataPayload; | ||
export declare type StartingModuleInstallEvent = GahModuleDataPayload; | ||
export declare type FinishedgModuleInstallEvent = GahModuleDataPayload; | ||
export declare type TsConfigCleanedEvent = GahModuleDataPayload; | ||
export declare type GahFolderCleanedEvent = GahModuleDataPayload; | ||
export declare type StylesFileGeneratedEvent = GahModuleDataPayload; | ||
export declare type SymlinksCreatedEvent = GahModuleDataPayload; | ||
export declare type TsConfigAdjustedEvent = GahModuleDataPayload; | ||
export declare type TemplateGeneratedEvent = GahModuleDataPayload; | ||
export declare type AssetsBaseStylesCopiedEvent = GahModuleDataPayload; | ||
export declare type DependenciesMergedEvent = GahModuleDataPayload; | ||
export declare type StyleImportsGeneratedEvent = GahModuleDataPayload; | ||
export declare type GitignoreAdjustedEvent = GahModuleDataPayload; | ||
export declare type AngularJsonAdjustedEvent = GahModuleDataPayload; | ||
export declare type PackagesInstalledEvent = GahModuleDataPayload; |
@@ -8,3 +8,19 @@ "use strict"; | ||
GahEvent[GahEvent["INSTALL_FINISHED"] = 1] = "INSTALL_FINISHED"; | ||
GahEvent[GahEvent["INSTALL_STARTED"] = 2] = "INSTALL_STARTED"; | ||
GahEvent[GahEvent["HOST_COPIED"] = 3] = "HOST_COPIED"; | ||
GahEvent[GahEvent["STARTING_MODULE_INSTALL"] = 4] = "STARTING_MODULE_INSTALL"; | ||
GahEvent[GahEvent["FINISHED_MODULE_INSTALL"] = 5] = "FINISHED_MODULE_INSTALL"; | ||
GahEvent[GahEvent["TS_CONFIG_CLEANED"] = 6] = "TS_CONFIG_CLEANED"; | ||
GahEvent[GahEvent["GAH_FOLDER_CLEANED"] = 7] = "GAH_FOLDER_CLEANED"; | ||
GahEvent[GahEvent["STYLES_FILE_GENERATED"] = 8] = "STYLES_FILE_GENERATED"; | ||
GahEvent[GahEvent["SYMLINKS_CREATED"] = 9] = "SYMLINKS_CREATED"; | ||
GahEvent[GahEvent["TS_CONFIG_ADJUSTED"] = 10] = "TS_CONFIG_ADJUSTED"; | ||
GahEvent[GahEvent["TEMPLATE_GENERATED"] = 11] = "TEMPLATE_GENERATED"; | ||
GahEvent[GahEvent["ASSETS_BASE_STYLES_COPIED"] = 12] = "ASSETS_BASE_STYLES_COPIED"; | ||
GahEvent[GahEvent["DEPENDENCIES_MERGED"] = 13] = "DEPENDENCIES_MERGED"; | ||
GahEvent[GahEvent["STYLE_IMPORTS_GENERATED"] = 14] = "STYLE_IMPORTS_GENERATED"; | ||
GahEvent[GahEvent["GITIGNORE_ADJUSTED"] = 15] = "GITIGNORE_ADJUSTED"; | ||
GahEvent[GahEvent["ANGULAR_JSON_ADJUSTED"] = 16] = "ANGULAR_JSON_ADJUSTED"; | ||
GahEvent[GahEvent["PACKAGES_INSTALLED"] = 17] = "PACKAGES_INSTALLED"; | ||
})(GahEvent = exports.GahEvent || (exports.GahEvent = {})); | ||
//# sourceMappingURL=gah-event.js.map |
@@ -7,4 +7,3 @@ import { IFileSystemService } from '../services/file-system.service'; | ||
import { IWorkspaceService } from '../services/workspace.service'; | ||
import { GahEventPayload } from './gah-event-payload.model'; | ||
import { GahEvent } from './gah-event'; | ||
import { GahEvent, GahEventPayload } from './gah-event'; | ||
import { GahPluginConfig } from './gah-plugin-config'; | ||
@@ -11,0 +10,0 @@ import { IExecutionService } from '../services/execution.service'; |
@@ -104,3 +104,3 @@ export declare type FileSystemType = ('any' | 'file' | 'directory'); | ||
*/ | ||
createDirLink(linkPath: string, realPath: string): void; | ||
createDirLink(linkPath: string, realPath: string): Promise<void>; | ||
/** | ||
@@ -111,3 +111,3 @@ * Synchronously creates a symbolic link to a file. | ||
*/ | ||
createFileLink(linkPath: string, realPath: string): void; | ||
createFileLink(linkPath: string, realPath: string): Promise<void>; | ||
/** | ||
@@ -114,0 +114,0 @@ * Get the name of the current working directory |
@@ -11,4 +11,4 @@ export interface ILoggerService { | ||
enableDebugLogging(): void; | ||
updateProgressBar(value: number): void; | ||
startProgressBar(total: number, description: string): void; | ||
getProgressBarString(total: number, current: number, length?: number, char0?: string, char1?: string): string; | ||
interruptLoading(interruptForAction: () => void): void; | ||
} |
@@ -1,3 +0,2 @@ | ||
import { GahEventPayload } from '../models/gah-event-payload.model'; | ||
import { GahEvent } from '../models/gah-event'; | ||
import { GahEvent, GahEventPayload } from '../models/gah-event'; | ||
import { PlguinUpdate } from '../models/plugin-update'; | ||
@@ -4,0 +3,0 @@ export interface IPluginService { |
{ | ||
"name": "@awdware/gah-shared", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "Provides types and interfaces for gah", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -8,3 +8,2 @@ export * from './models/gah-config'; | ||
export * from './models/gah-event-handler'; | ||
export * from './models/gah-event-payload.model'; | ||
export * from './models/gah-plugin'; | ||
@@ -20,3 +19,6 @@ export * from './models/module-definition'; | ||
export * from './models/plugin-update'; | ||
export * from './models/events/install-finished.event'; | ||
export * from './models/install-helper/gah-file'; | ||
export * from './models/install-helper/gah-folder'; | ||
export * from './models/install-helper/gah-module-base'; | ||
export * from './models/install-helper/ts-config-file'; | ||
export * from './services/configuration.service'; | ||
@@ -23,0 +25,0 @@ export * from './services/context.service'; |
import { GahEventPayload } from '../gah-event-payload.model'; | ||
export declare class InstallFinishedEvent extends GahEventPayload { | ||
export interface InstallFinishedEvent extends GahEventPayload { | ||
baseDir: string; | ||
} |
@@ -1,3 +0,2 @@ | ||
import { GahEvent } from './gah-event'; | ||
import { GahEventPayload } from './gah-event-payload.model'; | ||
import { GahEvent, GahEventPayload } from './gah-event'; | ||
export declare class GahEventHandler { | ||
@@ -4,0 +3,0 @@ event: GahEvent; |
@@ -1,2 +0,2 @@ | ||
export declare abstract class GahEventPayload { | ||
export interface GahEventPayload { | ||
} |
@@ -0,4 +1,47 @@ | ||
import { GahFileData } from './install-helper/gah-file'; | ||
import { GahModuleData } from './install-helper/gah-module-base'; | ||
export declare enum GahEvent { | ||
UNKNOWN = 0, | ||
INSTALL_FINISHED = 1 | ||
INSTALL_FINISHED = 1, | ||
INSTALL_STARTED = 2, | ||
HOST_COPIED = 3, | ||
STARTING_MODULE_INSTALL = 4, | ||
FINISHED_MODULE_INSTALL = 5, | ||
TS_CONFIG_CLEANED = 6, | ||
GAH_FOLDER_CLEANED = 7, | ||
STYLES_FILE_GENERATED = 8, | ||
SYMLINKS_CREATED = 9, | ||
TS_CONFIG_ADJUSTED = 10, | ||
TEMPLATE_GENERATED = 11, | ||
ASSETS_BASE_STYLES_COPIED = 12, | ||
DEPENDENCIES_MERGED = 13, | ||
STYLE_IMPORTS_GENERATED = 14, | ||
GITIGNORE_ADJUSTED = 15, | ||
ANGULAR_JSON_ADJUSTED = 16, | ||
PACKAGES_INSTALLED = 17 | ||
} | ||
export interface GahEventPayload { | ||
} | ||
export interface GahFileDataPayload extends GahEventPayload { | ||
readonly gahFile?: GahFileData; | ||
} | ||
export interface GahModuleDataPayload extends GahEventPayload { | ||
readonly module?: GahModuleData; | ||
} | ||
export declare type InstallFinishedEvent = GahFileDataPayload; | ||
export declare type InstallStartedEvent = GahFileDataPayload; | ||
export declare type HostCopiedEvent = GahFileDataPayload; | ||
export declare type StartingModuleInstallEvent = GahModuleDataPayload; | ||
export declare type FinishedgModuleInstallEvent = GahModuleDataPayload; | ||
export declare type TsConfigCleanedEvent = GahModuleDataPayload; | ||
export declare type GahFolderCleanedEvent = GahModuleDataPayload; | ||
export declare type StylesFileGeneratedEvent = GahModuleDataPayload; | ||
export declare type SymlinksCreatedEvent = GahModuleDataPayload; | ||
export declare type TsConfigAdjustedEvent = GahModuleDataPayload; | ||
export declare type TemplateGeneratedEvent = GahModuleDataPayload; | ||
export declare type AssetsBaseStylesCopiedEvent = GahModuleDataPayload; | ||
export declare type DependenciesMergedEvent = GahModuleDataPayload; | ||
export declare type StyleImportsGeneratedEvent = GahModuleDataPayload; | ||
export declare type GitignoreAdjustedEvent = GahModuleDataPayload; | ||
export declare type AngularJsonAdjustedEvent = GahModuleDataPayload; | ||
export declare type PackagesInstalledEvent = GahModuleDataPayload; |
@@ -7,4 +7,3 @@ import { IFileSystemService } from '../services/file-system.service'; | ||
import { IWorkspaceService } from '../services/workspace.service'; | ||
import { GahEventPayload } from './gah-event-payload.model'; | ||
import { GahEvent } from './gah-event'; | ||
import { GahEvent, GahEventPayload } from './gah-event'; | ||
import { GahPluginConfig } from './gah-plugin-config'; | ||
@@ -11,0 +10,0 @@ import { IExecutionService } from '../services/execution.service'; |
@@ -104,3 +104,3 @@ export declare type FileSystemType = ('any' | 'file' | 'directory'); | ||
*/ | ||
createDirLink(linkPath: string, realPath: string): void; | ||
createDirLink(linkPath: string, realPath: string): Promise<void>; | ||
/** | ||
@@ -111,3 +111,3 @@ * Synchronously creates a symbolic link to a file. | ||
*/ | ||
createFileLink(linkPath: string, realPath: string): void; | ||
createFileLink(linkPath: string, realPath: string): Promise<void>; | ||
/** | ||
@@ -114,0 +114,0 @@ * Get the name of the current working directory |
@@ -11,4 +11,4 @@ export interface ILoggerService { | ||
enableDebugLogging(): void; | ||
updateProgressBar(value: number): void; | ||
startProgressBar(total: number, description: string): void; | ||
getProgressBarString(total: number, current: number, length?: number, char0?: string, char1?: string): string; | ||
interruptLoading(interruptForAction: () => void): void; | ||
} |
@@ -1,3 +0,2 @@ | ||
import { GahEventPayload } from '../models/gah-event-payload.model'; | ||
import { GahEvent } from '../models/gah-event'; | ||
import { GahEvent, GahEventPayload } from '../models/gah-event'; | ||
import { PlguinUpdate } from '../models/plugin-update'; | ||
@@ -4,0 +3,0 @@ export interface IPluginService { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92755
143
2155