Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/exports for experience controls #1312

Merged
merged 27 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9017a64
feat(xcontrols): add skeleton (#1278)
mgg709 Sep 13, 2023
02f6f2d
feat(xcontrols): add store module (#1285)
AnaOstio Sep 15, 2023
6534e8f
feat(xcontrols): add actions (#1288)
mgg709 Sep 20, 2023
b52ff8c
feat(xcontrols): add emitter (#1290)
mgg709 Sep 20, 2023
3844630
feat(xcontrols): add experience-controls component (#1297)
AnaOstio Sep 22, 2023
4ebbaab
feat(xcontrols): add request mapper (#1300)
mgg709 Sep 27, 2023
ce7af6f
feat(xcontrols): create response mapper (#1305)
AnaOstio Sep 28, 2023
347a135
feat(xcontrols): update the xperience-controls module with adapter (#…
AnaOstio Oct 3, 2023
068146f
Merge remote-tracking branch 'origin/main' into feature/EMP-1939-crea…
CachedaCodes Oct 3, 2023
53c0a4f
install missing deps for `x-types`
diegopf Oct 3, 2023
d9ceae5
export `PlatformExperienceControlsRequest`
diegopf Oct 3, 2023
13b9d67
remove unnecessary eslint-disable comment
diegopf Oct 3, 2023
2278faf
refactor `ExperienceControlsRequestMapper` comment
diegopf Oct 3, 2023
5189842
use `ExperienceControlsResponse` type for experienceControlsEndpointA…
diegopf Oct 3, 2023
408c798
change default endpoint for experienceControlsEndpointAdapter
diegopf Oct 3, 2023
9703847
add test for experienceControlsEndpointAdapter
diegopf Oct 3, 2023
173cf6d
extend experienceControlsAdapter to point to test
diegopf Oct 3, 2023
168dd72
skip test
diegopf Oct 3, 2023
566e1f8
enable test again
diegopf Oct 3, 2023
966d21f
chore: change object assign to vue set
CachedaCodes Oct 3, 2023
e574c4f
skip test again
CachedaCodes Oct 4, 2023
ef75c33
restore test
CachedaCodes Oct 4, 2023
6d4246f
remove tests from svg package scripts
CachedaCodes Oct 4, 2023
6b68219
fix: exports for experience controls
CachedaCodes Oct 4, 2023
9f1e010
fix: exports for experience controls
CachedaCodes Oct 4, 2023
78e7f37
Merge remote-tracking branch 'origin/main' into fix/exports-for-exper…
CachedaCodes Oct 4, 2023
83a266b
fix: experience controls comment
lauramargar Oct 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/x-components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ export * from './x-modules/search-box';
export * from './x-modules/semantic-queries';
export * from './x-modules/tagging';
export * from './x-modules/url';
export * from './x-modules/experience-controls';
export * from './x-modules/x-modules.types';
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**.
* Iterates the list of XEvents received and emits them
*
* @param {Partial<XEventsTypes>} events events to be emitted
* @param events - events to be emitted
*/
@XOn('ExperienceControlsEventsChanged')
onEventsChanged(events: Partial<XEventsTypes>): void {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as ExperienceControls } from './experience-controls.vue';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export * from './components';
export * from './events.types';
export * from './store';
export * from './wiring';
export * from './x-module';
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ const { fetchAndSave, cancelPrevious } = createFetchAndSaveActions<
});

/**
* Default implementation for {@link ExperienceControlsActions.fetchAndSaveControls} action.
* Default implementation for fetchAndSaveExperienceControls action.
*
* @public
*/
export const fetchAndSaveExperienceControlsResponse = fetchAndSave;

/**
* Default implementation for {@link ExperienceControlsActions.cancelFetchAndSaveControls} action.
* Default implementation for fetchAndSaveExperienceControls action.
*
* @public
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './fetch-and-save-experience-controls.action';
export * from './fetch-experience-controls.action';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './experience-controls-results-request.getter';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export * from './actions';
export * from './emitters';
export * from './getters';
export * from './module';
export * from './types';
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ export interface ExperienceControlsMutations extends StatusMutations {
setParams(params: Dictionary<unknown>): void;
}

/**
* Experience Controls store actions.
*
* @public
*/
export interface ExperienceControlsActions {
/**.
* Requests the experience controls
Expand Down
Loading