@salesforce/templates 66.13.0 → 66.13.2

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.
Files changed (37) hide show
  1. package/lib/templates/project/angularextapp/CHANGELOG.md +129 -0
  2. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/.graphqlrc.yml +2 -0
  3. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/angular.json +3 -1
  4. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/codegen.yml +95 -0
  5. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/esbuild/graphql-codegen.mjs +13 -0
  6. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/package-lock.json +2495 -294
  7. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/package.json +9 -2
  8. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/scripts/get-graphql-schema.mjs +69 -0
  9. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/src/app/api/account/account-search.service.ts +52 -140
  10. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/src/app/api/graphql-operations-types.ts +29389 -0
  11. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/src/app/features/object-search/api/object-search.service.ts +94 -0
  12. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/src/app/features/object-search/utils/sort-utils.ts +3 -10
  13. package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/src/app/pages/account-search/account-search-page.ts +15 -8
  14. package/lib/templates/project/angularextapp/package.json +1 -1
  15. package/lib/templates/project/angularextapp/scripts/org-setup-utils.mjs +206 -36
  16. package/lib/templates/project/angularextapp/scripts/org-setup.mjs +180 -69
  17. package/lib/templates/project/angularintapp/CHANGELOG.md +129 -0
  18. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/.graphqlrc.yml +2 -0
  19. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/angular.json +3 -1
  20. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/codegen.yml +95 -0
  21. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/esbuild/graphql-codegen.mjs +13 -0
  22. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/package-lock.json +2498 -297
  23. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/package.json +9 -2
  24. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/scripts/get-graphql-schema.mjs +69 -0
  25. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/src/app/api/account/account-search.service.ts +52 -140
  26. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/src/app/api/graphql-operations-types.ts +29389 -0
  27. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/src/app/features/object-search/api/object-search.service.ts +94 -0
  28. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/src/app/features/object-search/utils/sort-utils.ts +3 -10
  29. package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/src/app/pages/account-search/account-search-page.ts +15 -8
  30. package/lib/templates/project/angularintapp/package.json +1 -1
  31. package/lib/templates/project/angularintapp/scripts/org-setup-utils.mjs +206 -36
  32. package/lib/templates/project/angularintapp/scripts/org-setup.mjs +180 -69
  33. package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/package-lock.json +1808 -1804
  34. package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/package-lock.json +1808 -1804
  35. package/lib/templates/uiBundles/angularbasic/package-lock.json +2382 -272
  36. package/lib/templates/uiBundles/reactbasic/package-lock.json +1808 -1804
  37. package/package.json +2 -2
@@ -3,6 +3,135 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [11.37.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.36.0...v11.37.0) (2026-07-24)
7
+
8
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
9
+
10
+
11
+
12
+
13
+
14
+ ## [11.36.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.35.6...v11.36.0) (2026-07-24)
15
+
16
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
17
+
18
+
19
+
20
+
21
+
22
+ ## [11.35.6](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.35.5...v11.35.6) (2026-07-23)
23
+
24
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
25
+
26
+
27
+
28
+
29
+
30
+ ## [11.35.5](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.35.4...v11.35.5) (2026-07-23)
31
+
32
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
33
+
34
+
35
+
36
+
37
+
38
+ ## [11.35.4](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.35.3...v11.35.4) (2026-07-23)
39
+
40
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
41
+
42
+
43
+
44
+
45
+
46
+ ## [11.35.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.35.2...v11.35.3) (2026-07-23)
47
+
48
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
49
+
50
+
51
+
52
+
53
+
54
+ ## [11.35.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.35.1...v11.35.2) (2026-07-22)
55
+
56
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
57
+
58
+
59
+
60
+
61
+
62
+ ## [11.35.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.35.0...v11.35.1) (2026-07-22)
63
+
64
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
65
+
66
+
67
+
68
+
69
+
70
+ ## [11.35.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.34.2...v11.35.0) (2026-07-22)
71
+
72
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
73
+
74
+
75
+
76
+
77
+
78
+ ## [11.34.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.34.1...v11.34.2) (2026-07-21)
79
+
80
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
81
+
82
+
83
+
84
+
85
+
86
+ ## [11.34.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.34.0...v11.34.1) (2026-07-21)
87
+
88
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
89
+
90
+
91
+
92
+
93
+
94
+ ## [11.34.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.33.0...v11.34.0) (2026-07-21)
95
+
96
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
97
+
98
+
99
+
100
+
101
+
102
+ ## [11.33.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.32.0...v11.33.0) (2026-07-21)
103
+
104
+
105
+ ### Features
106
+
107
+ * **org-setup:** harden org-setup.mjs against SOQL/Apex/CLI injection (W-23043731) ([#751](https://github.com/salesforce-experience-platform-emu/webapps/issues/751)) ([e820204](https://github.com/salesforce-experience-platform-emu/webapps/commit/e8202049e262ddbb47235cbedf5ccf54fe6a4d31))
108
+
109
+
110
+
111
+ ## [11.32.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.31.15...v11.32.0) (2026-07-21)
112
+
113
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
114
+
115
+
116
+
117
+
118
+
119
+ ## [11.31.15](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.31.14...v11.31.15) (2026-07-21)
120
+
121
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
122
+
123
+
124
+
125
+
126
+
127
+ ## [11.31.14](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.31.13...v11.31.14) (2026-07-21)
128
+
129
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
130
+
131
+
132
+
133
+
134
+
6
135
  ## [11.31.13](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.31.12...v11.31.13) (2026-07-21)
7
136
 
8
137
  **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
@@ -0,0 +1,2 @@
1
+ schema: '../../../../../schema.graphql'
2
+ documents: 'src/**/*.{graphql,ts}'
@@ -43,10 +43,11 @@
43
43
  "silenceDeprecations": ["import"]
44
44
  }
45
45
  },
46
- "plugins": ["./esbuild/api-version.mjs"]
46
+ "plugins": []
47
47
  },
48
48
  "configurations": {
49
49
  "production": {
50
+ "plugins": ["./esbuild/api-version.mjs"],
50
51
  "budgets": [
51
52
  {
52
53
  "type": "anyComponentStyle",
@@ -64,6 +65,7 @@
64
65
  }
65
66
  },
66
67
  "development": {
68
+ "plugins": ["./esbuild/graphql-codegen.mjs"],
67
69
  "optimization": false,
68
70
  "extractLicenses": false,
69
71
  "sourceMap": true
@@ -0,0 +1,95 @@
1
+ schema: '../../../../../schema.graphql'
2
+ documents: 'src/**/*.{graphql,ts}'
3
+ generates:
4
+ src/app/api/graphql-operations-types.ts:
5
+ plugins:
6
+ - 'graphql-codegen-typescript-operation-types'
7
+ - 'typescript-operations'
8
+ config:
9
+ onlyOperationTypes: true
10
+ skipTypename: true
11
+ preResolveTypes: true
12
+ scalars:
13
+ # String-serialized scalars
14
+ JSON:
15
+ input: 'string'
16
+ output: 'string'
17
+ Date:
18
+ input: 'string'
19
+ output: 'string'
20
+ DateTime:
21
+ input: 'string'
22
+ output: 'string'
23
+ Time:
24
+ input: 'string'
25
+ output: 'string'
26
+ Email:
27
+ input: 'string'
28
+ output: 'string'
29
+ Url:
30
+ input: 'string'
31
+ output: 'string'
32
+ PhoneNumber:
33
+ input: 'string'
34
+ output: 'string'
35
+ Picklist:
36
+ input: 'string'
37
+ output: 'string'
38
+ MultiPicklist:
39
+ input: 'string'
40
+ output: 'string'
41
+ TextArea:
42
+ input: 'string'
43
+ output: 'string'
44
+ LongTextArea:
45
+ input: 'string'
46
+ output: 'string'
47
+ RichTextArea:
48
+ input: 'string'
49
+ output: 'string'
50
+ EncryptedString:
51
+ input: 'string'
52
+ output: 'string'
53
+ Base64:
54
+ input: 'string'
55
+ output: 'string'
56
+ IdOrRef:
57
+ input: 'string'
58
+ output: 'string'
59
+ # BigDecimal-serialized scalars (accepts number or string, returns number)
60
+ Currency:
61
+ input: 'number | string'
62
+ output: 'number'
63
+ BigDecimal:
64
+ input: 'number | string'
65
+ output: 'number'
66
+ Double:
67
+ input: 'number | string'
68
+ output: 'number'
69
+ Percent:
70
+ input: 'number | string'
71
+ output: 'number'
72
+ Longitude:
73
+ input: 'number | string'
74
+ output: 'number'
75
+ Latitude:
76
+ input: 'number | string'
77
+ output: 'number'
78
+ # Integer-like scalars
79
+ Long:
80
+ input: 'number'
81
+ output: 'number'
82
+ BigInteger:
83
+ input: 'number'
84
+ output: 'number'
85
+ Short:
86
+ input: 'number'
87
+ output: 'number'
88
+ Byte:
89
+ input: 'number'
90
+ output: 'number'
91
+ Char:
92
+ input: 'number'
93
+ output: 'number'
94
+ overwrite: true
95
+ ignoreNoDocuments: true
@@ -0,0 +1,13 @@
1
+ /**
2
+ * GraphQL Codegen esbuild plugin — runs codegen on build start.
3
+ *
4
+ * Resolves GraphQL operations into typed TypeScript at build time using the
5
+ * project's `codegen.yml` configuration. Re-runs on every rebuild during
6
+ * `ng serve` so generated types stay in sync with schema/document changes.
7
+ *
8
+ * Referenced from angular.json: architect.build.options.plugins[].
9
+ */
10
+ import { createGraphQLCodegenPlugin } from '@salesforce/angular-plugin-ui-bundle';
11
+
12
+ const plugin = createGraphQLCodegenPlugin();
13
+ export default plugin;