@salesforce/templates 66.10.4 → 66.11.0
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/lib/generators/apexClassGenerator.js +9 -2
- package/lib/generators/apexClassGenerator.js.map +1 -1
- package/lib/i18n/i18n.d.ts +1 -0
- package/lib/i18n/i18n.js +1 -0
- package/lib/i18n/i18n.js.map +1 -1
- package/lib/templates/apexclass/Batchable.cls +15 -0
- package/lib/templates/apexclass/Queueable.cls +13 -0
- package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/package-lock.json +1069 -1022
- package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/package-lock.json +1062 -1015
- package/lib/templates/uiBundles/angularbasic/package-lock.json +309 -811
- package/lib/templates/uiBundles/angularbasic/package.json +2 -2
- package/lib/templates/uiBundles/angularbasic/src/app/api/graphql-client.service.ts +0 -3
- package/lib/templates/uiBundles/reactbasic/package-lock.json +1062 -1015
- package/lib/utils/createUtil.d.ts +2 -0
- package/lib/utils/createUtil.js +7 -0
- package/lib/utils/createUtil.js.map +1 -1
- package/lib/utils/types.d.ts +11 -3
- package/package.json +2 -2
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"@angular/forms": "^21.2.0",
|
|
23
23
|
"@angular/platform-browser": "^21.2.0",
|
|
24
24
|
"@angular/router": "^21.2.0",
|
|
25
|
-
"@salesforce/angular-plugin-ui-bundle": "^
|
|
26
|
-
"@salesforce/platform-sdk": "^
|
|
25
|
+
"@salesforce/angular-plugin-ui-bundle": "^11.4.4",
|
|
26
|
+
"@salesforce/platform-sdk": "^11.4.4",
|
|
27
27
|
"rxjs": "~7.8.0",
|
|
28
28
|
"tslib": "^2.3.0"
|
|
29
29
|
},
|
|
@@ -16,9 +16,6 @@ function isMutation(operation: string): boolean {
|
|
|
16
16
|
* handling. Mutations are routed to sdk.graphql.mutate and everything else to
|
|
17
17
|
* sdk.graphql.query (the SDK rejects an operation sent to the wrong method).
|
|
18
18
|
* Use with gql-tagged queries and generated operation types for type-safe calls.
|
|
19
|
-
*
|
|
20
|
-
* Injectable mirror of the React template's src/api/graphqlClient.ts so both
|
|
21
|
-
* frameworks share the same platform-sdk data-fetch contract.
|
|
22
19
|
*/
|
|
23
20
|
@Injectable({ providedIn: 'root' })
|
|
24
21
|
export class GraphqlClient {
|