@timeax/digital-service-engine 0.3.1 → 0.3.3
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.
- package/dist/core/index.cjs +471 -434
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +1 -8
- package/dist/core/index.d.ts +1 -8
- package/dist/core/index.js +471 -434
- package/dist/core/index.js.map +1 -1
- package/dist/react/index.cjs +1636 -1145
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +66 -29
- package/dist/react/index.d.ts +66 -29
- package/dist/react/index.js +1635 -1145
- package/dist/react/index.js.map +1 -1
- package/dist/workspace/index.cjs +651 -173
- package/dist/workspace/index.cjs.map +1 -1
- package/dist/workspace/index.d.cts +71 -24
- package/dist/workspace/index.d.ts +71 -24
- package/dist/workspace/index.js +650 -173
- package/dist/workspace/index.js.map +1 -1
- package/package.json +2 -2
package/dist/core/index.d.cts
CHANGED
|
@@ -811,28 +811,21 @@ declare function filterServicesForVisibleGroup(input: FilterServicesForVisibleGr
|
|
|
811
811
|
type BuildOrderSnapshotSettings = {
|
|
812
812
|
mode?: "prod" | "dev";
|
|
813
813
|
hostDefaultQuantity?: number;
|
|
814
|
-
/** Full fallback policy */
|
|
815
814
|
fallback?: FallbackSettings;
|
|
816
815
|
workspaceId?: string;
|
|
817
816
|
builderCommit?: string;
|
|
818
817
|
};
|
|
819
818
|
type BuildOrderSelection = {
|
|
820
|
-
/** Single active context (one tag) coming from Selection */
|
|
821
819
|
activeTagId: string;
|
|
822
|
-
/** Non-option inputs, keyed by fieldId (will be remapped to field.name in the payload) */
|
|
823
820
|
formValuesByFieldId: Record<string, Scalar | Scalar[]>;
|
|
824
|
-
/** Option selections, keyed by fieldId → optionId[] */
|
|
825
821
|
optionSelectionsByFieldId: Record<string, string[]>;
|
|
826
822
|
selectedKeys?: string[];
|
|
827
|
-
/**
|
|
828
|
-
* Selection visit order for options (optional, improves "first option wins primary" determinism).
|
|
829
|
-
* If omitted, iteration order falls back to Object.entries(optionSelectionsByFieldId).
|
|
830
|
-
*/
|
|
831
823
|
optionTraversalOrder?: Array<{
|
|
832
824
|
fieldId: string;
|
|
833
825
|
optionId: string;
|
|
834
826
|
}>;
|
|
835
827
|
};
|
|
828
|
+
|
|
836
829
|
declare function buildOrderSnapshot(props: ServiceProps, builder: Builder, selection: BuildOrderSelection, services: DgpServiceMap, settings?: BuildOrderSnapshotSettings): OrderSnapshot;
|
|
837
830
|
|
|
838
831
|
/**
|
package/dist/core/index.d.ts
CHANGED
|
@@ -811,28 +811,21 @@ declare function filterServicesForVisibleGroup(input: FilterServicesForVisibleGr
|
|
|
811
811
|
type BuildOrderSnapshotSettings = {
|
|
812
812
|
mode?: "prod" | "dev";
|
|
813
813
|
hostDefaultQuantity?: number;
|
|
814
|
-
/** Full fallback policy */
|
|
815
814
|
fallback?: FallbackSettings;
|
|
816
815
|
workspaceId?: string;
|
|
817
816
|
builderCommit?: string;
|
|
818
817
|
};
|
|
819
818
|
type BuildOrderSelection = {
|
|
820
|
-
/** Single active context (one tag) coming from Selection */
|
|
821
819
|
activeTagId: string;
|
|
822
|
-
/** Non-option inputs, keyed by fieldId (will be remapped to field.name in the payload) */
|
|
823
820
|
formValuesByFieldId: Record<string, Scalar | Scalar[]>;
|
|
824
|
-
/** Option selections, keyed by fieldId → optionId[] */
|
|
825
821
|
optionSelectionsByFieldId: Record<string, string[]>;
|
|
826
822
|
selectedKeys?: string[];
|
|
827
|
-
/**
|
|
828
|
-
* Selection visit order for options (optional, improves "first option wins primary" determinism).
|
|
829
|
-
* If omitted, iteration order falls back to Object.entries(optionSelectionsByFieldId).
|
|
830
|
-
*/
|
|
831
823
|
optionTraversalOrder?: Array<{
|
|
832
824
|
fieldId: string;
|
|
833
825
|
optionId: string;
|
|
834
826
|
}>;
|
|
835
827
|
};
|
|
828
|
+
|
|
836
829
|
declare function buildOrderSnapshot(props: ServiceProps, builder: Builder, selection: BuildOrderSelection, services: DgpServiceMap, settings?: BuildOrderSnapshotSettings): OrderSnapshot;
|
|
837
830
|
|
|
838
831
|
/**
|