@plyaz/types 1.22.7 → 1.22.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -837,18 +837,6 @@ export interface CoreFeatureFlagStoreInitConfig {
837
837
  * Base service config for frontend services (constructor config)
838
838
  */
839
839
  export interface CoreBaseFrontendServiceConstructorConfig<TConfig extends CoreBaseFrontendServiceConfig<TData, TStore>, TStore extends CoreBaseFrontendStore<TData>, TData = Record<string, unknown>, TMapper extends CoreBaseMapperInstance = CoreBaseMapperInstance, TValidator extends CoreBaseValidatorInstance = CoreBaseValidatorInstance> extends CoreBaseServiceConfig<TConfig, TMapper, TValidator> {
840
- /**
841
- * Data key used for store sync - indicates which property in the store contains the primary data.
842
- *
843
- * Examples:
844
- * - For feature flags: 'flags' (store has flags property)
845
- * - For items/entities: 'items' (store has items property)
846
- * - For nested data: 'nested.items' (store has nested.items)
847
- *
848
- * This is used as metadata and for potential helper methods.
849
- * For custom sync behavior, use `storeHandlers` in serviceConfig instead.
850
- */
851
- storeDataKey?: string;
852
840
  }
853
841
  /**
854
842
  * Props for initialization error component
@@ -9,6 +9,7 @@ import type { CreateExampleSchema, UpdateExampleSchema, PatchExampleSchema, Quer
9
9
  import type { CoreEntityCreatedPayload, CoreEntityUpdatedPayload, CoreEntityDeletedPayload, CoreValidationFailedPayload } from '../core/events';
10
10
  import type { CoreBaseFrontendStore, CoreBaseFrontendServiceConfig } from '../core/frontend';
11
11
  import type { CoreServiceInitConfig } from '../core/init';
12
+ import type { CoreInjectedServices } from '../core/domain';
12
13
  /**
13
14
  * Create request DTO (POST body)
14
15
  */
@@ -144,6 +145,8 @@ export interface ExampleFrontendServiceConfig extends CoreBaseFrontendServiceCon
144
145
  autoFetch?: boolean;
145
146
  /** Polling interval in ms (0 = disabled) */
146
147
  pollingInterval?: number;
148
+ /** Injected services (for testing/manual store injection) */
149
+ injected?: CoreInjectedServices;
147
150
  }
148
151
  /**
149
152
  * Example frontend event types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/types",
3
- "version": "1.22.7",
3
+ "version": "1.22.8",
4
4
  "author": "Redeemer Pace",
5
5
  "license": "ISC",
6
6
  "description": "Provides shared TypeScript types and schema utilities for validation and parsing in the @playz ecosystem.",