1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.feature = exports.defaultPerformanceStore = void 0;
|
4 | var actions_1 = require("@shopify/app-bridge/actions");
|
5 | exports.defaultPerformanceStore = null;
|
6 | function reducer(state) {
|
7 | if (state === void 0) { state = exports.defaultPerformanceStore; }
|
8 | return state;
|
9 | }
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | exports.feature = {
|
17 | actions: {
|
18 | skeletonPageLoad: actions_1.Performance.skeletonPageLoad,
|
19 | fullPageLoad: actions_1.Performance.fullPageLoad,
|
20 | },
|
21 | key: 'performance',
|
22 | initialState: exports.defaultPerformanceStore,
|
23 | reducer: reducer,
|
24 | };
|