@plyaz/types 1.5.0 → 1.5.1

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.
@@ -732,3 +732,34 @@ export interface RepositoryOperationTestInput {
732
732
  /** Whether operation should throw an error */
733
733
  shouldThrow?: boolean;
734
734
  }
735
+ /**
736
+ * Flag defaults interface
737
+ * @interface FlagDefaults
738
+ */
739
+ export interface FlagDefaults {
740
+ /** Flag name */
741
+ name: string;
742
+ /** Flag description */
743
+ description: string;
744
+ /** Whether flag is enabled */
745
+ isEnabled: boolean;
746
+ /** Default value */
747
+ value: FeatureFlagValue;
748
+ /** Flag type */
749
+ type: FlagType;
750
+ /** Environment */
751
+ environment: 'development' | 'staging' | 'production' | 'all';
752
+ /** Created date */
753
+ createdAt: Date;
754
+ /** Updated date */
755
+ updatedAt: Date;
756
+ /** Created by */
757
+ createdBy: string;
758
+ /** Updated by */
759
+ updatedBy: string;
760
+ }
761
+ /**
762
+ * Feature flag value type
763
+ * @type FlagType
764
+ */
765
+ export type FlagType = 'boolean' | 'string' | 'number' | 'json';
@@ -1500,34 +1500,3 @@ export interface CreateABTestScenario<T extends string> {
1500
1500
  /** Reset test state */
1501
1501
  reset: () => void;
1502
1502
  }
1503
- /**
1504
- * Flag defaults interface
1505
- * @interface FlagDefaults
1506
- */
1507
- export interface FlagDefaults {
1508
- /** Flag name */
1509
- name: string;
1510
- /** Flag description */
1511
- description: string;
1512
- /** Whether flag is enabled */
1513
- isEnabled: boolean;
1514
- /** Default value */
1515
- value: FeatureFlagValue;
1516
- /** Flag type */
1517
- type: FlagType;
1518
- /** Environment */
1519
- environment: 'development' | 'staging' | 'production' | 'all';
1520
- /** Created date */
1521
- createdAt: Date;
1522
- /** Updated date */
1523
- updatedAt: Date;
1524
- /** Created by */
1525
- createdBy: string;
1526
- /** Updated by */
1527
- updatedBy: string;
1528
- }
1529
- /**
1530
- * Feature flag value type
1531
- * @type FlagType
1532
- */
1533
- export type FlagType = 'boolean' | 'string' | 'number' | 'json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/types",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
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.",