@ngxs/store
Advanced tools
Comparing version 18.1.5 to 18.1.6-dev.master-a9e7ff3
import * as _angular_core from '@angular/core'; | ||
/** | ||
* This is an experimental feature that contributes to app stability, | ||
* which is required during server-side rendering. With asynchronous | ||
* actions being dispatched and handled, Angular is unaware of them in | ||
* zoneless mode and doesn't know whether the app is still unstable. | ||
* This may prematurely serialize the final HTML that is sent to the client. | ||
* Required for correct functioning of SSR apps. | ||
* | ||
* @deprecated | ||
* This experimental export is deprecated in favour of the non-experimental export. | ||
* This is no longer an experimental feature, but is now available as | ||
* `withNgxsPendingTasks` in the main `@ngxs/store` package. | ||
*/ | ||
@@ -10,0 +11,0 @@ declare function withExperimentalNgxsPendingTasks(): _angular_core.EnvironmentProviders; |
229
index.d.ts
import * as i0 from '@angular/core'; | ||
import { Type, ModuleWithProviders, OnDestroy, NgZone, Signal, EnvironmentProviders } from '@angular/core'; | ||
import { ɵSharedSelectorOptions as _SharedSelectorOptions, ɵStateClass as _StateClass, ɵActionOptions as _ActionOptions, ɵPlainObjectOf as _PlainObjectOf, ɵStateClassInternal as _StateClassInternal, ɵActionHandlerMetaData as _ActionHandlerMetaData, ɵOrderedSubject as _OrderedSubject, ɵStateStream as _StateStream, ɵRuntimeSelectorContext as _RuntimeSelectorContext, StateToken, ɵStoreOptions as _StoreOptions } from '@ngxs/store/internals'; | ||
import { Type, ModuleWithProviders, Signal, EnvironmentProviders } from '@angular/core'; | ||
import { ɵSharedSelectorOptions as _SharedSelectorOptions, ɵStateClass as _StateClass, ɵActionOptions as _ActionOptions, StateToken, ɵStoreOptions as _StoreOptions } from '@ngxs/store/internals'; | ||
export { ɵActionOptions as ActionOptions, StateToken } from '@ngxs/store/internals'; | ||
import * as rxjs from 'rxjs'; | ||
import { Observable, Subject, Subscription, OperatorFunction } from 'rxjs'; | ||
import { Observable, Subscription, OperatorFunction } from 'rxjs'; | ||
import { StateOperator } from '@ngxs/store/operators'; | ||
export { StateOperator } from '@ngxs/store/operators'; | ||
import { NgxsPluginFn, NgxsPlugin } from '@ngxs/store/plugins'; | ||
import { NgxsPlugin, NgxsPluginFn } from '@ngxs/store/plugins'; | ||
export { InitState, NGXS_PLUGINS, NgxsNextPluginFn, NgxsPlugin, NgxsPluginFn, UpdateState, actionMatcher, getActionTypeFromInstance, getValue, setValue } from '@ngxs/store/plugins'; | ||
@@ -173,178 +173,2 @@ | ||
declare class InternalNgxsExecutionStrategy implements NgxsExecutionStrategy { | ||
private _executionStrategy; | ||
constructor(_executionStrategy: NgxsExecutionStrategy); | ||
enter<T>(func: () => T): T; | ||
leave<T>(func: () => T): T; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<InternalNgxsExecutionStrategy, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<InternalNgxsExecutionStrategy>; | ||
} | ||
type StatesByName = _PlainObjectOf<_StateClassInternal>; | ||
interface StateOperations<T> { | ||
getState(): T; | ||
setState(val: T): void; | ||
dispatch(actionOrActions: any | any[]): Observable<void>; | ||
} | ||
interface MappedStore { | ||
name: string; | ||
isInitialised: boolean; | ||
actions: _PlainObjectOf<_ActionHandlerMetaData[]>; | ||
defaults: any; | ||
instance: any; | ||
path: string; | ||
} | ||
interface StatesAndDefaults { | ||
defaults: any; | ||
states: MappedStore[]; | ||
} | ||
/** | ||
* Status of a dispatched action | ||
*/ | ||
declare const enum ActionStatus { | ||
Dispatched = "DISPATCHED", | ||
Successful = "SUCCESSFUL", | ||
Canceled = "CANCELED", | ||
Errored = "ERRORED" | ||
} | ||
interface ActionContext<T = any> { | ||
status: ActionStatus; | ||
action: T; | ||
error?: Error; | ||
} | ||
/** | ||
* Internal Action stream that is emitted anytime an action is dispatched. | ||
*/ | ||
declare class InternalActions extends _OrderedSubject<ActionContext> implements OnDestroy { | ||
readonly dispatched$: Subject<ActionContext<any>>; | ||
constructor(); | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<InternalActions, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<InternalActions>; | ||
} | ||
/** | ||
* Action stream that is emitted anytime an action is dispatched. | ||
* | ||
* You can listen to this in services to react without stores. | ||
*/ | ||
declare class Actions extends Observable<ActionContext> { | ||
constructor(internalActions$: InternalActions, internalExecutionStrategy: InternalNgxsExecutionStrategy); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<Actions, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<Actions>; | ||
} | ||
declare class PluginManager { | ||
readonly plugins: NgxsPluginFn[]; | ||
private readonly _parentManager; | ||
private readonly _pluginHandlers; | ||
constructor(); | ||
private get _rootPlugins(); | ||
private registerHandlers; | ||
private getPluginHandlers; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PluginManager, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<PluginManager>; | ||
} | ||
/** | ||
* Internal Action result stream that is emitted when an action is completed. | ||
* This is used as a method of returning the action result to the dispatcher | ||
* for the observable returned by the dispatch(...) call. | ||
* The dispatcher then asynchronously pushes the result from this stream onto the main action stream as a result. | ||
*/ | ||
declare class InternalDispatchedActionResults extends Subject<ActionContext> { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<InternalDispatchedActionResults, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<InternalDispatchedActionResults>; | ||
} | ||
declare class InternalDispatcher { | ||
private _ngZone; | ||
private _actions; | ||
private _actionResults; | ||
private _pluginManager; | ||
private _stateStream; | ||
private _ngxsExecutionStrategy; | ||
constructor(_ngZone: NgZone, _actions: InternalActions, _actionResults: InternalDispatchedActionResults, _pluginManager: PluginManager, _stateStream: _StateStream, _ngxsExecutionStrategy: InternalNgxsExecutionStrategy); | ||
/** | ||
* Dispatches event(s). | ||
*/ | ||
dispatch(actionOrActions: any | any[]): Observable<void>; | ||
private dispatchByEvents; | ||
private dispatchSingle; | ||
private getActionResultStream; | ||
private createDispatchObservable; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<InternalDispatcher, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<InternalDispatcher>; | ||
} | ||
/** | ||
* @ignore | ||
*/ | ||
declare class InternalStateOperations { | ||
private _stateStream; | ||
private _dispatcher; | ||
private _config; | ||
constructor(_stateStream: _StateStream, _dispatcher: InternalDispatcher, _config: NgxsConfig); | ||
/** | ||
* Returns the root state operators. | ||
*/ | ||
getRootStateOperations(): StateOperations<any>; | ||
setStateToTheCurrentWithNew(results: StatesAndDefaults): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<InternalStateOperations, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<InternalStateOperations>; | ||
} | ||
/** | ||
* The `StateFactory` class adds root and feature states to the graph. | ||
* This extracts state names from state classes, checks if they already | ||
* exist in the global graph, throws errors if their names are invalid, etc. | ||
* See its constructor, state factories inject state factories that are | ||
* parent-level providers. This is required to get feature states from the | ||
* injector on the same level. | ||
* | ||
* The `NgxsModule.forFeature(...)` returns `providers: [StateFactory, ...states]`. | ||
* The `StateFactory` is initialized on the feature level and goes through `...states` | ||
* to get them from the injector through `injector.get(state)`. | ||
* @ignore | ||
*/ | ||
declare class StateFactory implements OnDestroy { | ||
private readonly _injector; | ||
private readonly _config; | ||
private readonly _parentFactory; | ||
private readonly _stateContextFactory; | ||
private readonly _actions; | ||
private readonly _actionResults; | ||
private readonly _initialState; | ||
private readonly _actionRegistry; | ||
private readonly _propGetter; | ||
private _actionsSubscription; | ||
private _ngxsUnhandledErrorHandler; | ||
private _states; | ||
get states(): MappedStore[]; | ||
private _statesByName; | ||
get statesByName(): StatesByName; | ||
private _statePaths; | ||
private get statePaths(); | ||
getRuntimeSelectorContext: () => _RuntimeSelectorContext; | ||
ngOnDestroy(): void; | ||
/** | ||
* Add a new state to the global defs. | ||
*/ | ||
add(stateClasses: _StateClassInternal[]): MappedStore[]; | ||
/** | ||
* Add a set of states to the store and return the defaults | ||
*/ | ||
addAndReturnDefaults(stateClasses: _StateClassInternal[]): StatesAndDefaults; | ||
connectActionHandlers(): void; | ||
/** | ||
* Invoke actions on the states. | ||
*/ | ||
private invokeActions; | ||
private addToStatesMap; | ||
private addRuntimeInfoToMeta; | ||
private hasBeenMountedAndBootstrapped; | ||
private hydrateActionMetasMap; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<StateFactory, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<StateFactory>; | ||
} | ||
type ɵSelectorFunc<TModel> = (...arg: any[]) => TModel; | ||
@@ -411,3 +235,3 @@ type TypedSelector<TModel> = StateToken<TModel> | ɵSelectorFunc<TModel>; | ||
private _selectableStateStream; | ||
constructor(_stateStream: _StateStream, _internalStateOperations: InternalStateOperations, _config: NgxsConfig, _internalExecutionStrategy: InternalNgxsExecutionStrategy, _stateFactory: StateFactory, initialStateValue: any); | ||
constructor(); | ||
/** | ||
@@ -448,3 +272,3 @@ * Dispatches action(s). | ||
private initStateStream; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<Store, [null, null, null, null, null, { optional: true; }]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<Store, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<Store>; | ||
@@ -471,2 +295,27 @@ } | ||
/** | ||
* Status of a dispatched action | ||
*/ | ||
declare const enum ActionStatus { | ||
Dispatched = "DISPATCHED", | ||
Successful = "SUCCESSFUL", | ||
Canceled = "CANCELED", | ||
Errored = "ERRORED" | ||
} | ||
interface ActionContext<T = any> { | ||
status: ActionStatus; | ||
action: T; | ||
error?: Error; | ||
} | ||
/** | ||
* Action stream that is emitted anytime an action is dispatched. | ||
* | ||
* You can listen to this in services to react without stores. | ||
*/ | ||
declare class Actions extends Observable<ActionContext> { | ||
constructor(); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<Actions, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<Actions>; | ||
} | ||
type TupleKeys<T extends any[]> = Exclude<keyof T, keyof []>; | ||
@@ -649,3 +498,3 @@ /** | ||
private _ignoredActions; | ||
constructor(options: NgxsDevelopmentOptions); | ||
constructor(); | ||
/** | ||
@@ -660,2 +509,12 @@ * Adds actions to the internal list of actions that should be ignored. | ||
/** | ||
* This feature that contributes to app stability, which is required during | ||
* server-side rendering. With asynchronous actions being dispatched and handled, | ||
* Angular is unaware of them in zoneless mode and doesn't know whether the app is | ||
* still unstable. This may prematurely serialize the final HTML that is sent to the client. | ||
* Including `withNgxsPendingTasks` in your `provideStore` for your SSR | ||
* app will resolve the above issue. | ||
*/ | ||
declare function withNgxsPendingTasks(): i0.EnvironmentProviders; | ||
/** | ||
* This function provides global store providers and initializes the store. | ||
@@ -711,3 +570,3 @@ * | ||
*/ | ||
declare function withNgxsPlugin(plugin: Type<NgxsPlugin>): EnvironmentProviders; | ||
declare function withNgxsPlugin(plugin: Type<NgxsPlugin> | NgxsPluginFn): EnvironmentProviders; | ||
@@ -761,2 +620,2 @@ /** | ||
export { Action, type ActionCompletion, type ActionContext, type ActionDef, type ActionMap, ActionStatus, type ActionType, Actions, type NgxsAfterBootstrap, NgxsConfig, NgxsDevelopmentModule, type NgxsDevelopmentOptions, type NgxsExecutionStrategy, NgxsModule, type NgxsModuleOptions, type NgxsOnChanges, type NgxsOnInit, NgxsSimpleChange, NgxsUnhandledActionsLogger, type NgxsUnhandledErrorContext, NgxsUnhandledErrorHandler, NoopNgxsExecutionStrategy, type PropertySelectors, Select, Selector, type SelectorMap, SelectorOptions, State, type StateContext, Store, type TypedSelector, createDispatchMap, createModelSelector, createPickSelector, createPropertySelectors, createSelectMap, createSelector, dispatch, ofAction, ofActionCanceled, ofActionCompleted, ofActionDispatched, ofActionErrored, ofActionSuccessful, provideStates, provideStore, select, withNgxsDevelopmentOptions, withNgxsPlugin, withNgxsPreboot, NgxsFeatureModule as ɵNgxsFeatureModule, NgxsRootModule as ɵNgxsRootModule, type ɵSelectorDef, type ɵSelectorFunc, type ɵSelectorReturnType, type ɵStateSelector, ɵprovideNgxsInternalStateTokens }; | ||
export { Action, type ActionCompletion, type ActionContext, type ActionDef, type ActionMap, ActionStatus, type ActionType, Actions, type NgxsAfterBootstrap, NgxsConfig, NgxsDevelopmentModule, type NgxsDevelopmentOptions, type NgxsExecutionStrategy, NgxsModule, type NgxsModuleOptions, type NgxsOnChanges, type NgxsOnInit, NgxsSimpleChange, NgxsUnhandledActionsLogger, type NgxsUnhandledErrorContext, NgxsUnhandledErrorHandler, NoopNgxsExecutionStrategy, type PropertySelectors, Select, Selector, type SelectorMap, SelectorOptions, State, type StateContext, Store, type TypedSelector, createDispatchMap, createModelSelector, createPickSelector, createPropertySelectors, createSelectMap, createSelector, dispatch, ofAction, ofActionCanceled, ofActionCompleted, ofActionDispatched, ofActionErrored, ofActionSuccessful, provideStates, provideStore, select, withNgxsDevelopmentOptions, withNgxsPendingTasks, withNgxsPlugin, withNgxsPreboot, NgxsFeatureModule as ɵNgxsFeatureModule, NgxsRootModule as ɵNgxsRootModule, type ɵSelectorDef, type ɵSelectorFunc, type ɵSelectorReturnType, type ɵStateSelector, ɵprovideNgxsInternalStateTokens }; |
{ | ||
"name": "@ngxs/store", | ||
"version": "18.1.5", | ||
"version": "18.1.6-dev.master-a9e7ff3", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"peerDependencies": { | ||
"@angular/core": ">=16.0.0 <19.0.0", | ||
"@angular/core": ">=19.0.0 <20.0.0", | ||
"rxjs": ">=7.0.0" | ||
@@ -19,4 +19,2 @@ }, | ||
"types": "./index.d.ts", | ||
"esm2022": "./esm2022/ngxs-store.mjs", | ||
"esm": "./esm2022/ngxs-store.mjs", | ||
"default": "./fesm2022/ngxs-store.mjs" | ||
@@ -26,4 +24,2 @@ }, | ||
"types": "./experimental/index.d.ts", | ||
"esm2022": "./esm2022/experimental/ngxs-store-experimental.mjs", | ||
"esm": "./esm2022/experimental/ngxs-store-experimental.mjs", | ||
"default": "./fesm2022/ngxs-store-experimental.mjs" | ||
@@ -33,22 +29,14 @@ }, | ||
"types": "./internals/index.d.ts", | ||
"esm2022": "./esm2022/internals/ngxs-store-internals.mjs", | ||
"esm": "./esm2022/internals/ngxs-store-internals.mjs", | ||
"default": "./fesm2022/ngxs-store-internals.mjs" | ||
}, | ||
"./plugins": { | ||
"types": "./plugins/index.d.ts", | ||
"default": "./fesm2022/ngxs-store-plugins.mjs" | ||
}, | ||
"./operators": { | ||
"types": "./operators/index.d.ts", | ||
"esm2022": "./esm2022/operators/ngxs-store-operators.mjs", | ||
"esm": "./esm2022/operators/ngxs-store-operators.mjs", | ||
"default": "./fesm2022/ngxs-store-operators.mjs" | ||
}, | ||
"./plugins": { | ||
"types": "./plugins/index.d.ts", | ||
"esm2022": "./esm2022/plugins/ngxs-store-plugins.mjs", | ||
"esm": "./esm2022/plugins/ngxs-store-plugins.mjs", | ||
"default": "./fesm2022/ngxs-store-plugins.mjs" | ||
}, | ||
"./internals/testing": { | ||
"types": "./internals/testing/index.d.ts", | ||
"esm2022": "./esm2022/internals/testing/ngxs-store-internals-testing.mjs", | ||
"esm": "./esm2022/internals/testing/ngxs-store-internals-testing.mjs", | ||
"default": "./fesm2022/ngxs-store-internals-testing.mjs" | ||
@@ -103,2 +91,2 @@ } | ||
} | ||
} | ||
} |
import { ɵPlainObject as _PlainObject } from '@ngxs/store/internals'; | ||
import { InjectionToken } from '@angular/core'; | ||
import { InjectionToken, Type } from '@angular/core'; | ||
@@ -19,5 +19,4 @@ /** | ||
declare const NGXS_PLUGINS: InjectionToken<unknown>; | ||
type NgxsPluginFn = (state: any, mutation: any, next: NgxsNextPluginFn) => any; | ||
type NgxsNextPluginFn = (state: any, mutation: any) => any; | ||
type NgxsNextPluginFn = (state: any, action: any) => any; | ||
type NgxsPluginFn = (state: any, action: any, next: NgxsNextPluginFn) => any; | ||
/** | ||
@@ -32,2 +31,10 @@ * Plugin interface | ||
} | ||
/** | ||
* A multi-provider token used to resolve to custom NGXS plugins provided | ||
* at the root and feature levels through the `{provide}` scheme. | ||
* | ||
* @deprecated from v18.0.0, use `withNgxsPlugin` instead. | ||
*/ | ||
declare const NGXS_PLUGINS: InjectionToken<NgxsPlugin[]>; | ||
declare function ɵisPluginClass(plugin: Type<NgxsPlugin> | NgxsPluginFn): plugin is Type<NgxsPlugin>; | ||
@@ -64,2 +71,2 @@ /** | ||
export { InitState, NGXS_PLUGINS, type NgxsNextPluginFn, type NgxsPlugin, type NgxsPluginFn, UpdateState, actionMatcher, getActionTypeFromInstance, getValue, setValue }; | ||
export { InitState, NGXS_PLUGINS, type NgxsNextPluginFn, type NgxsPlugin, type NgxsPluginFn, UpdateState, actionMatcher, getActionTypeFromInstance, getValue, setValue, ɵisPluginClass }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.actions = void 0; | ||
exports.actions = actions; | ||
const schematics_1 = require("@angular-devkit/schematics"); | ||
@@ -23,3 +23,2 @@ const generate_utils_1 = require("../utils/generate-utils"); | ||
} | ||
exports.actions = actions; | ||
//# sourceMappingURL=actions.factory.js.map |
@@ -12,3 +12,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.addDeclarationToNonStandaloneApp = exports.addDeclarationToStandaloneApp = void 0; | ||
exports.addDeclarationToStandaloneApp = addDeclarationToStandaloneApp; | ||
exports.addDeclarationToNonStandaloneApp = addDeclarationToNonStandaloneApp; | ||
const schematics_1 = require("@angular-devkit/schematics"); | ||
@@ -44,3 +45,2 @@ const rules_1 = require("@schematics/angular/utility/standalone/rules"); | ||
} | ||
exports.addDeclarationToStandaloneApp = addDeclarationToStandaloneApp; | ||
function addDeclarationToNonStandaloneApp(options) { | ||
@@ -60,3 +60,2 @@ const pluginRules = options.plugins | ||
} | ||
exports.addDeclarationToNonStandaloneApp = addDeclarationToNonStandaloneApp; | ||
const pluginData = new Map([ | ||
@@ -63,0 +62,0 @@ [ |
@@ -12,3 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ngAdd = void 0; | ||
exports.ngAdd = ngAdd; | ||
const schematics_1 = require("@angular-devkit/schematics"); | ||
@@ -33,3 +33,2 @@ const tasks_1 = require("@angular-devkit/schematics/tasks"); | ||
} | ||
exports.ngAdd = ngAdd; | ||
function addNgxsPackageToPackageJson(schema) { | ||
@@ -36,0 +35,0 @@ return (host, context) => { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.starterKit = void 0; | ||
exports.starterKit = starterKit; | ||
const schematics_1 = require("@angular-devkit/schematics"); | ||
@@ -20,3 +20,2 @@ const generate_utils_1 = require("../utils/generate-utils"); | ||
} | ||
exports.starterKit = starterKit; | ||
//# sourceMappingURL=starter-kit.factory.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.state = void 0; | ||
exports.state = state; | ||
const schematics_1 = require("@angular-devkit/schematics"); | ||
@@ -28,3 +28,2 @@ const path_1 = require("path"); | ||
} | ||
exports.state = state; | ||
//# sourceMappingURL=state.factory.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.store = void 0; | ||
exports.store = store; | ||
const schematics_1 = require("@angular-devkit/schematics"); | ||
@@ -28,3 +28,2 @@ const path_1 = require("path"); | ||
} | ||
exports.store = store; | ||
//# sourceMappingURL=store.factory.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isEmpty = void 0; | ||
exports.isEmpty = isEmpty; | ||
function isEmpty(value) { | ||
return typeof value !== 'undefined' && !value.trim().length; | ||
} | ||
exports.isEmpty = isEmpty; | ||
//# sourceMappingURL=properties.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getWorkspace = exports.getWorkspacePath = void 0; | ||
exports.getWorkspacePath = getWorkspacePath; | ||
exports.getWorkspace = getWorkspace; | ||
const schematics_1 = require("@angular-devkit/schematics"); | ||
@@ -10,3 +11,2 @@ function getWorkspacePath(host) { | ||
} | ||
exports.getWorkspacePath = getWorkspacePath; | ||
function getWorkspace(host) { | ||
@@ -21,3 +21,2 @@ const path = getWorkspacePath(host); | ||
} | ||
exports.getWorkspace = getWorkspace; | ||
//# sourceMappingURL=config.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.generateFiles = void 0; | ||
exports.generateFiles = generateFiles; | ||
const core_1 = require("@angular-devkit/core"); | ||
@@ -13,3 +13,2 @@ const schematics_1 = require("@angular-devkit/schematics"); | ||
} | ||
exports.generateFiles = generateFiles; | ||
//# sourceMappingURL=generate-utils.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.normalizeOptionalBoolean = exports.normalizePath = exports.normalizeBaseOptions = void 0; | ||
exports.normalizeBaseOptions = normalizeBaseOptions; | ||
exports.normalizePath = normalizePath; | ||
exports.normalizeOptionalBoolean = normalizeOptionalBoolean; | ||
const core_1 = require("@angular-devkit/core"); | ||
@@ -14,7 +16,5 @@ const project_1 = require("./project"); | ||
} | ||
exports.normalizeBaseOptions = normalizeBaseOptions; | ||
function normalizePath(path) { | ||
return path !== undefined ? (0, core_1.normalize)(path) : ''; | ||
} | ||
exports.normalizePath = normalizePath; | ||
/** Returns `value` if it's "true" | "false" and default value otherwise */ | ||
@@ -27,3 +27,2 @@ function normalizeOptionalBoolean(value, defaultValue) { | ||
} | ||
exports.normalizeOptionalBoolean = normalizeOptionalBoolean; | ||
//# sourceMappingURL=normalize-options.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getProjectMainFile = exports.isLib = exports.getProjectData = exports.getProject = void 0; | ||
exports.getProject = getProject; | ||
exports.getProjectData = getProjectData; | ||
exports.isLib = isLib; | ||
exports.getProjectMainFile = getProjectMainFile; | ||
const config_1 = require("./config"); | ||
@@ -25,3 +28,2 @@ const schematics_1 = require("@angular-devkit/schematics"); | ||
} | ||
exports.getProject = getProject; | ||
function getProjectData(host, options) { | ||
@@ -42,3 +44,2 @@ var _a, _b; | ||
} | ||
exports.getProjectData = getProjectData; | ||
function isLib(host, project) { | ||
@@ -48,3 +49,2 @@ const resolvedProject = getProject(host, project); | ||
} | ||
exports.isLib = isLib; | ||
function getProjectMainFile(host, project) { | ||
@@ -70,3 +70,2 @@ const resolvedProject = getProject(host, project); | ||
} | ||
exports.getProjectMainFile = getProjectMainFile; | ||
//# sourceMappingURL=project.js.map |
{ | ||
"@ngxs/store": "18.1.5" | ||
"@ngxs/store": "18.1.6" | ||
} |
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
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
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
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
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1
479151
74
4833
1