@salesforce/webapp-template-app-react-template-b2e-experimental 1.36.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/LICENSE.txt +82 -0
- package/dist/.a4drules/build-validation.md +81 -0
- package/dist/.a4drules/code-quality.md +150 -0
- package/dist/.a4drules/graphql/tools/knowledge/lds-explore-graphql-schema.md +227 -0
- package/dist/.a4drules/graphql/tools/knowledge/lds-generate-graphql-mutationquery.md +212 -0
- package/dist/.a4drules/graphql/tools/knowledge/lds-generate-graphql-readquery.md +185 -0
- package/dist/.a4drules/graphql/tools/knowledge/lds-guide-graphql.md +205 -0
- package/dist/.a4drules/graphql/tools/schemas/shared.graphqls +1150 -0
- package/dist/.a4drules/graphql.md +408 -0
- package/dist/.a4drules/images.md +13 -0
- package/dist/.a4drules/react.md +361 -0
- package/dist/.a4drules/react_image_processing.md +45 -0
- package/dist/.a4drules/skills/install-feature/SKILL.md +67 -0
- package/dist/.a4drules/skills/install-feature/scripts/copy-feature-assets.sh +36 -0
- package/dist/.a4drules/typescript.md +224 -0
- package/dist/.forceignore +15 -0
- package/dist/.husky/pre-commit +4 -0
- package/dist/.prettierignore +11 -0
- package/dist/.prettierrc +17 -0
- package/dist/CHANGELOG.md +533 -0
- package/dist/README.md +18 -0
- package/dist/config/project-scratch-def.json +13 -0
- package/dist/force-app/main/default/classes/WebAppAuthUtils.cls +68 -0
- package/dist/force-app/main/default/classes/WebAppAuthUtils.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/WebAppChangePassword.cls +77 -0
- package/dist/force-app/main/default/classes/WebAppChangePassword.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/WebAppForgotPassword.cls +71 -0
- package/dist/force-app/main/default/classes/WebAppForgotPassword.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/WebAppLogin.cls +97 -0
- package/dist/force-app/main/default/classes/WebAppLogin.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/WebAppRegistration.cls +162 -0
- package/dist/force-app/main/default/classes/WebAppRegistration.cls-meta.xml +5 -0
- package/dist/force-app/main/default/digitalExperienceConfigs/appreacttemplateb2e1.digitalExperienceConfig +8 -0
- package/dist/force-app/main/default/digitalExperiences/site/appreacttemplateb2e1/appreacttemplateb2e1.digitalExperience-meta.xml +11 -0
- package/dist/force-app/main/default/digitalExperiences/site/appreacttemplateb2e1/sfdc_cms__site/appreacttemplateb2e1/_meta.json +5 -0
- package/dist/force-app/main/default/digitalExperiences/site/appreacttemplateb2e1/sfdc_cms__site/appreacttemplateb2e1/content.json +10 -0
- package/dist/force-app/main/default/networks/appreacttemplateb2e.network +60 -0
- package/dist/force-app/main/default/package.xml +20 -0
- package/dist/force-app/main/default/sites/appreacttemplateb2e.site +31 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/.graphqlrc.yml +2 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/.prettierignore +9 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/.prettierrc +11 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/appreacttemplateb2e.webapplication-meta.xml +7 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/build/vite.config.d.ts +2 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/build/vite.config.js +94 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/codegen.yml +12 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/e2e/app.spec.ts +24 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/eslint.config.js +141 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/index.html +13 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/package-lock.json +13980 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/package.json +66 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/playwright.config.ts +24 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/scripts/get-graphql-schema.mjs +68 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/scripts/rewrite-e2e-assets.mjs +23 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/api/graphql-operations-types.ts +129 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/api/utils/accounts.ts +33 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/api/utils/query/highRevenueAccountsQuery.graphql +29 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/app.tsx +16 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/appLayout.tsx +11 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/assets/icons/book.svg +3 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/assets/icons/copy.svg +4 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/assets/icons/rocket.svg +3 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/assets/icons/star.svg +3 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/assets/images/codey-1.png +0 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/assets/images/codey-2.png +0 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/assets/images/codey-3.png +0 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/assets/images/vibe-codey.svg +194 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/alerts/status-alert.tsx +45 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/auth/authentication-route.tsx +21 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/auth/private-route.tsx +36 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/footers/footer-link.tsx +36 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/forms/auth-form.tsx +81 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/forms/submit-button.tsx +49 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/layout/card-layout.tsx +23 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/layout/centered-page-layout.tsx +73 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/layout/loading-page.tsx +46 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/alert.tsx +65 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/button.tsx +54 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/card.tsx +77 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/field.tsx +111 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/index.ts +71 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/input.tsx +19 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/label.tsx +19 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/pagination.tsx +99 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/select.tsx +151 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/skeleton.tsx +7 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/spinner.tsx +26 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/table.tsx +114 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/components/ui/tabs.tsx +115 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/context/AuthContext.tsx +83 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/hooks/form.tsx +116 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/lib/utils.ts +6 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/navigationMenu.tsx +81 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/pages/About.tsx +12 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/pages/ChangePassword.tsx +98 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/pages/ForgotPassword.tsx +67 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/pages/Home.tsx +12 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/pages/Login.tsx +89 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/pages/NotFound.tsx +18 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/pages/Profile.tsx +146 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/pages/Register.tsx +130 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/pages/ResetPassword.tsx +101 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/pages/new.tsx +10 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/router-utils.tsx +34 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/routes.tsx +88 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/styles/global.css +94 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/utils/authenticationConfig.ts +52 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/src/utils/helpers.ts +187 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/tsconfig.json +36 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/tsconfig.node.json +13 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/vite-env.d.ts +1 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/vite.config.ts +102 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/vitest-env.d.ts +2 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/vitest.config.ts +11 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/vitest.setup.ts +1 -0
- package/dist/force-app/main/default/webapplications/appreacttemplateb2e/webapplication.json +7 -0
- package/dist/jest.config.js +6 -0
- package/dist/package.json +38 -0
- package/dist/scripts/apex/hello.apex +10 -0
- package/dist/scripts/soql/account.soql +6 -0
- package/dist/sfdx-project.json +12 -0
- package/package.json +37 -0
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [1.36.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.36.2...v1.36.3) (2026-02-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.36.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.36.1...v1.36.2) (2026-02-19)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [1.36.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.36.0...v1.36.1) (2026-02-19)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [1.36.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.35.2...v1.36.0) (2026-02-19)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* move graphql eslint config and data sdk dependencies into base app ([#111](https://github.com/salesforce-experience-platform-emu/webapps/issues/111)) ([e9f6cb0](https://github.com/salesforce-experience-platform-emu/webapps/commit/e9f6cb066d45b2922a8c65769a7309ffd1345a2c))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## [1.35.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.35.1...v1.35.2) (2026-02-19)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
* adding template tests in ci @W-20919457 ([#114](https://github.com/salesforce-experience-platform-emu/webapps/issues/114)) ([ebd3d5a](https://github.com/salesforce-experience-platform-emu/webapps/commit/ebd3d5a5d1d84d7ae69b216de82da4a09edb6cb8))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## [1.35.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.35.0...v1.35.1) (2026-02-18)
|
|
53
|
+
|
|
54
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
# [1.35.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.34.0...v1.35.0) (2026-02-18)
|
|
61
|
+
|
|
62
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
# [1.34.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.6...v1.34.0) (2026-02-18)
|
|
69
|
+
|
|
70
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## [1.33.6](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.5...v1.33.6) (2026-02-18)
|
|
77
|
+
|
|
78
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## [1.33.5](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.4...v1.33.5) (2026-02-18)
|
|
85
|
+
|
|
86
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## [1.33.4](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.3...v1.33.4) (2026-02-17)
|
|
93
|
+
|
|
94
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
## [1.33.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.2...v1.33.3) (2026-02-17)
|
|
101
|
+
|
|
102
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## [1.33.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.1...v1.33.2) (2026-02-17)
|
|
109
|
+
|
|
110
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
## [1.33.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.0...v1.33.1) (2026-02-17)
|
|
117
|
+
|
|
118
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
# [1.33.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.32.0...v1.33.0) (2026-02-17)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
# [1.32.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.31.0...v1.32.0) (2026-02-17)
|
|
133
|
+
|
|
134
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
# [1.31.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.30.1...v1.31.0) (2026-02-16)
|
|
141
|
+
|
|
142
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
## [1.30.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.30.0...v1.30.1) (2026-02-16)
|
|
149
|
+
|
|
150
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
# [1.30.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.29.1...v1.30.0) (2026-02-13)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### Features
|
|
160
|
+
|
|
161
|
+
* add feature and skill for Micro Frontends ([#110](https://github.com/salesforce-experience-platform-emu/webapps/issues/110)) ([489a939](https://github.com/salesforce-experience-platform-emu/webapps/commit/489a939b1c7c80eadd88d9daf8312400fbedb3c5))
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
## [1.29.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.29.0...v1.29.1) (2026-02-13)
|
|
168
|
+
|
|
169
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
# [1.29.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.28.2...v1.29.0) (2026-02-12)
|
|
176
|
+
|
|
177
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
## [1.28.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.28.1...v1.28.2) (2026-02-12)
|
|
184
|
+
|
|
185
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
## [1.28.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.28.0...v1.28.1) (2026-02-12)
|
|
192
|
+
|
|
193
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
# [1.28.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.27.1...v1.28.0) (2026-02-12)
|
|
200
|
+
|
|
201
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
## [1.27.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.27.0...v1.27.1) (2026-02-12)
|
|
208
|
+
|
|
209
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
# [1.27.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.26.0...v1.27.0) (2026-02-12)
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
### Features
|
|
219
|
+
|
|
220
|
+
* defining graphql feature @W-20226218@ ([#83](https://github.com/salesforce-experience-platform-emu/webapps/issues/83)) ([51a9273](https://github.com/salesforce-experience-platform-emu/webapps/commit/51a92733063e1adf0c6e44ceab37162baddc2ffb))
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
# [1.26.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.25.2...v1.26.0) (2026-02-11)
|
|
227
|
+
|
|
228
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
## [1.25.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.25.1...v1.25.2) (2026-02-11)
|
|
235
|
+
|
|
236
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
## [1.25.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.25.0...v1.25.1) (2026-02-11)
|
|
243
|
+
|
|
244
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
# [1.25.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.24.0...v1.25.0) (2026-02-11)
|
|
251
|
+
|
|
252
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
# [1.24.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.23.0...v1.24.0) (2026-02-11)
|
|
259
|
+
|
|
260
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
# [1.23.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.22.1...v1.23.0) (2026-02-11)
|
|
267
|
+
|
|
268
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
## [1.22.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.22.0...v1.22.1) (2026-02-11)
|
|
275
|
+
|
|
276
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
# [1.22.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.21.0...v1.22.0) (2026-02-10)
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
### Features
|
|
286
|
+
|
|
287
|
+
* @W-20916499 use DataSDK ([#81](https://github.com/salesforce-experience-platform-emu/webapps/issues/81)) ([fbd88e5](https://github.com/salesforce-experience-platform-emu/webapps/commit/fbd88e58283925f8fe241e99c3f968ba2c614f48))
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
# [1.21.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.20.0...v1.21.0) (2026-02-10)
|
|
294
|
+
|
|
295
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
# [1.20.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.19.1...v1.20.0) (2026-02-10)
|
|
302
|
+
|
|
303
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
## [1.19.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.19.0...v1.19.1) (2026-02-10)
|
|
310
|
+
|
|
311
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
# [1.19.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.18.0...v1.19.0) (2026-02-10)
|
|
318
|
+
|
|
319
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
# [1.18.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.17.1...v1.18.0) (2026-02-10)
|
|
326
|
+
|
|
327
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
## [1.17.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.17.0...v1.17.1) (2026-02-09)
|
|
334
|
+
|
|
335
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
# [1.17.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.16.1...v1.17.0) (2026-02-09)
|
|
342
|
+
|
|
343
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
## [1.16.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.16.0...v1.16.1) (2026-02-09)
|
|
350
|
+
|
|
351
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
# [1.16.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.15.0...v1.16.0) (2026-02-09)
|
|
358
|
+
|
|
359
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
# [1.15.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.14.0...v1.15.0) (2026-02-07)
|
|
366
|
+
|
|
367
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
# [1.14.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.13.0...v1.14.0) (2026-02-06)
|
|
374
|
+
|
|
375
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
# [1.13.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.12.0...v1.13.0) (2026-02-06)
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
### Features
|
|
385
|
+
|
|
386
|
+
* adding a sample feature package for reference ([#77](https://github.com/salesforce-experience-platform-emu/webapps/issues/77)) ([94b4d8e](https://github.com/salesforce-experience-platform-emu/webapps/commit/94b4d8e5e89c10888868b8b014c1032ff4b6177d))
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
# [1.12.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.11.2...v1.12.0) (2026-02-06)
|
|
393
|
+
|
|
394
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
## [1.11.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.11.1...v1.11.2) (2026-02-06)
|
|
401
|
+
|
|
402
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
## [1.11.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.11.0...v1.11.1) (2026-02-05)
|
|
409
|
+
|
|
410
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
# [1.11.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.10.0...v1.11.0) (2026-02-05)
|
|
417
|
+
|
|
418
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
# [1.10.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.9.0...v1.10.0) (2026-02-05)
|
|
425
|
+
|
|
426
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
# [1.9.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.8.1...v1.9.0) (2026-02-05)
|
|
433
|
+
|
|
434
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
## [1.8.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.8.0...v1.8.1) (2026-02-04)
|
|
441
|
+
|
|
442
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
# [1.8.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.7.0...v1.8.0) (2026-02-04)
|
|
449
|
+
|
|
450
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
# [1.7.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.6.2...v1.7.0) (2026-02-04)
|
|
457
|
+
|
|
458
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
## [1.6.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.6.1...v1.6.2) (2026-02-04)
|
|
465
|
+
|
|
466
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
## [1.6.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.6.0...v1.6.1) (2026-02-04)
|
|
473
|
+
|
|
474
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
# [1.6.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.5.1...v1.6.0) (2026-02-04)
|
|
481
|
+
|
|
482
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
## [1.5.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.5.0...v1.5.1) (2026-02-04)
|
|
489
|
+
|
|
490
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
# [1.5.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.4.0...v1.5.0) (2026-02-03)
|
|
497
|
+
|
|
498
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
# [1.4.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.3.5...v1.4.0) (2026-02-03)
|
|
505
|
+
|
|
506
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
## [1.3.5](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.3.4...v1.3.5) (2026-01-31)
|
|
513
|
+
|
|
514
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
## [1.3.4](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.3.3...v1.3.4) (2026-01-31)
|
|
521
|
+
|
|
522
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
## [1.3.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.3.2...v1.3.3) (2026-01-30)
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
### Bug Fixes
|
|
532
|
+
|
|
533
|
+
* enabling npm publish for template packages ([#47](https://github.com/salesforce-experience-platform-emu/webapps/issues/47)) ([a8274f6](https://github.com/salesforce-experience-platform-emu/webapps/commit/a8274f606a2636c1fbdeade58f88a6797a12981e))
|
package/dist/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Salesforce DX Project: Next Steps
|
|
2
|
+
|
|
3
|
+
Now that you’ve created a Salesforce DX project, what’s next? Here are some documentation resources to get you started.
|
|
4
|
+
|
|
5
|
+
## How Do You Plan to Deploy Your Changes?
|
|
6
|
+
|
|
7
|
+
Do you want to deploy a set of changes, or create a self-contained application? Choose a [development model](https://developer.salesforce.com/tools/vscode/en/user-guide/development-models).
|
|
8
|
+
|
|
9
|
+
## Configure Your Salesforce DX Project
|
|
10
|
+
|
|
11
|
+
The `sfdx-project.json` file contains useful configuration information for your project. See [Salesforce DX Project Configuration](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm) in the _Salesforce DX Developer Guide_ for details about this file.
|
|
12
|
+
|
|
13
|
+
## Read All About It
|
|
14
|
+
|
|
15
|
+
- [Salesforce Extensions Documentation](https://developer.salesforce.com/tools/vscode/)
|
|
16
|
+
- [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm)
|
|
17
|
+
- [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm)
|
|
18
|
+
- [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"orgName": "My Saleforce Org",
|
|
3
|
+
"edition": "Developer",
|
|
4
|
+
"features": ["EnableSetPasswordInApi"],
|
|
5
|
+
"settings": {
|
|
6
|
+
"lightningExperienceSettings": {
|
|
7
|
+
"enableS1DesktopEnabled": true
|
|
8
|
+
},
|
|
9
|
+
"mobileSettings": {
|
|
10
|
+
"enableS1EncryptedStoragePref2": false
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility class for Web Application authentication REST endpoints.
|
|
3
|
+
*/
|
|
4
|
+
public without sharing class WebAppAuthUtils {
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Exception for authentication errors with HTTP status code support.
|
|
8
|
+
*/
|
|
9
|
+
public class AuthException extends Exception {
|
|
10
|
+
public Integer statusCode { get; private set; } // HTTP status code (e.g. 400, 500)
|
|
11
|
+
public List<String> messages { get; private set; } // List of error messages
|
|
12
|
+
|
|
13
|
+
public AuthException(Integer statusCode, String message) {
|
|
14
|
+
this.statusCode = statusCode;
|
|
15
|
+
this.messages = new List<String>{ message };
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
public AuthException(Integer statusCode, List<String> messages) {
|
|
19
|
+
this.statusCode = statusCode;
|
|
20
|
+
this.messages = new List<String>(messages);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Validates and sanitizes redirect URL to prevent open redirect vulnerabilities.
|
|
26
|
+
* @param url The URL to validate.
|
|
27
|
+
* @param defaultUrl Fallback URL if validation fails.
|
|
28
|
+
* @return Sanitized URL or defaultUrl if invalid.
|
|
29
|
+
*/
|
|
30
|
+
public static String getSanitizedStartUrl(String url, String defaultUrl) {
|
|
31
|
+
if (String.isBlank(url) || url.equals('/')) { return defaultUrl; }
|
|
32
|
+
|
|
33
|
+
String decoded; // Decode URL to catch encoded bypasses (%2f%2f -> //)
|
|
34
|
+
try {
|
|
35
|
+
decoded = EncodingUtil.urlDecode(url, 'UTF-8');
|
|
36
|
+
} catch (Exception e) {
|
|
37
|
+
return defaultUrl;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// Must start with / but not // (protocol-relative)
|
|
41
|
+
if (!decoded.startsWith('/') || decoded.startsWith('//')) { return defaultUrl; }
|
|
42
|
+
// Reject backslashes (some browsers treat \ as /)
|
|
43
|
+
if (decoded.contains('\\')) { return defaultUrl; }
|
|
44
|
+
// Reject @ which can indicate user info in URL (//user@evil.com)
|
|
45
|
+
if (decoded.contains('@')) { return defaultUrl; }
|
|
46
|
+
// Reject : which could indicate protocol or port manipulation
|
|
47
|
+
if (decoded.contains(':')) { return defaultUrl; }
|
|
48
|
+
// Reject control characters (ASCII < 32) and DEL (127)
|
|
49
|
+
for (Integer i = 0; i < decoded.length(); i++) {
|
|
50
|
+
Integer charCode = decoded.charAt(i);
|
|
51
|
+
if (charCode < 32 || charCode == 127) { return defaultUrl; }
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return defaultUrl + url;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Logs an error message and stack trace to the system debug log.
|
|
59
|
+
* It is only captured if a Trace Flag is active for the user.
|
|
60
|
+
*
|
|
61
|
+
* @param ex The exception to log.
|
|
62
|
+
* @param level The logging level to use.
|
|
63
|
+
*/
|
|
64
|
+
public static void debugLog(Exception ex, LoggingLevel level) {
|
|
65
|
+
System.debug(level, 'Message: ' + ex.getMessage());
|
|
66
|
+
System.debug(level, 'Stack Trace: ' + ex.getStackTraceString());
|
|
67
|
+
}
|
|
68
|
+
}
|