@sharinpix/sharinpix-sf-cli 1.2.0 → 1.3.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/README.md CHANGED
@@ -34,10 +34,12 @@ This plugin is bundled with the [Salesforce CLI](https://developer.salesforce.co
34
34
 
35
35
  We always recommend using the latest version of these commands bundled with the CLI, however, you can install a specific version or tag if needed.
36
36
 
37
- ## Install
37
+ ## Usage
38
38
 
39
39
  ```bash
40
- sf plugins install @sharinpix/sharinpix-sf-cli@x.y.z
40
+ sf org login web
41
+ sf plugins install @sharinpix/sharinpix-sf-cli
42
+ sf sharinpix form pull -o yourusername@salesforce.com
41
43
  ```
42
44
 
43
45
  ## Issues
@@ -95,6 +97,7 @@ sf plugins
95
97
 
96
98
  <!-- commands -->
97
99
  * [`sf sharinpix form pull`](#sf-sharinpix-form-pull)
100
+ * [`sf sharinpix form push`](#sf-sharinpix-form-push)
98
101
 
99
102
  ## `sf sharinpix form pull`
100
103
 
@@ -132,4 +135,41 @@ FLAG DESCRIPTIONS
132
135
 
133
136
  The target Salesforce org containing the SharinPix form templates to be pulled.
134
137
  ```
138
+
139
+ ## `sf sharinpix form push`
140
+
141
+ Push SharinPix form templates to Salesforce org.
142
+
143
+ ```
144
+ USAGE
145
+ $ sf sharinpix form push -o <value> [--json] [--flags-dir <value>]
146
+
147
+ FLAGS
148
+ -o, --org=<value> (required) The Salesforce org to push form templates to.
149
+
150
+ GLOBAL FLAGS
151
+ --flags-dir=<value> Import flag values from a directory.
152
+ --json Format output as json.
153
+
154
+ DESCRIPTION
155
+ Push SharinPix form templates to Salesforce org.
156
+
157
+ Uploads SharinPix form templates from local JSON files to the connected Salesforce org. This command reads form
158
+ templates from the local directory and creates or updates corresponding records in Salesforce. Existing forms will be
159
+ updated unless the force flag is used to skip them.
160
+
161
+ EXAMPLES
162
+ Push all form templates to the default org:
163
+
164
+ $ sf sharinpix form push
165
+
166
+ Push form templates to a specific org:
167
+
168
+ $ sf sharinpix form push --target-org myorg@example.com
169
+
170
+ FLAG DESCRIPTIONS
171
+ -o, --org=<value> The Salesforce org to push form templates to.
172
+
173
+ The target Salesforce org where the SharinPix form templates will be uploaded and stored.
174
+ ```
135
175
  <!-- commandsstop -->
@@ -0,0 +1,16 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ export type PushResult = {
3
+ name: string;
4
+ uploaded?: number;
5
+ failed?: number;
6
+ skipped?: number;
7
+ };
8
+ export default class Push extends SfCommand<PushResult> {
9
+ static readonly summary: string;
10
+ static readonly description: string;
11
+ static readonly examples: string[];
12
+ static readonly flags: {
13
+ org: import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
14
+ };
15
+ run(): Promise<PushResult>;
16
+ }
@@ -0,0 +1,129 @@
1
+ /* eslint-disable no-console */
2
+ /* eslint-disable no-await-in-loop */
3
+ import fs from 'node:fs';
4
+ import path from 'node:path';
5
+ import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
6
+ import { Messages } from '@salesforce/core';
7
+ import { isJsonEqual } from '../../../helpers/json-utils.js';
8
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
9
+ const messages = Messages.loadMessages('@sharinpix/sharinpix-sf-cli', 'sharinpix.form.push');
10
+ export default class Push extends SfCommand {
11
+ static summary = messages.getMessage('summary');
12
+ static description = messages.getMessage('description');
13
+ static examples = messages.getMessages('examples');
14
+ static flags = {
15
+ org: Flags.requiredOrg({
16
+ char: 'o',
17
+ summary: messages.getMessage('flags.org.summary'),
18
+ description: messages.getMessage('flags.org.description'),
19
+ }),
20
+ };
21
+ async run() {
22
+ const { flags } = await this.parse(Push);
23
+ const connection = flags.org.getConnection('63.0');
24
+ const files = fs
25
+ .readdirSync('sharinpix/forms')
26
+ .filter((file) => file.endsWith('.json'))
27
+ .map((file) => path.join('sharinpix/forms', file));
28
+ if (files.length === 0) {
29
+ this.log('No form template files found in the specified directory.');
30
+ return {
31
+ name: 'OK',
32
+ uploaded: 0,
33
+ failed: 0,
34
+ skipped: 0,
35
+ };
36
+ }
37
+ const responseToken = await connection.apex.post('/sharinpix/Token', {
38
+ // eslint-disable-next-line camelcase
39
+ form_template_create: true,
40
+ });
41
+ const existingRecords = (await connection.query('SELECT Id, Name, sharinpix__FormUrl__c, sharinpix__Description__c FROM sharinpix__FormTemplate__c')).records;
42
+ const existingMap = new Map(existingRecords.map((record) => [record.Name, record]));
43
+ let uploaded = 0;
44
+ let failed = 0;
45
+ let skipped = 0;
46
+ for (const file of files) {
47
+ try {
48
+ const fileName = path.basename(file, '.json');
49
+ const fileContent = fs.readFileSync(file, 'utf8');
50
+ const json = JSON.parse(fileContent);
51
+ const existingRecord = existingMap.get(fileName);
52
+ const existingId = existingRecord?.Id ?? null;
53
+ if (existingRecord) {
54
+ // Check if form has changed by comparing with stored JSON
55
+ const response = await fetch(existingRecord?.sharinpix__FormUrl__c + '.json', {
56
+ headers: {
57
+ Accept: 'application/json',
58
+ },
59
+ });
60
+ if (!response.ok) {
61
+ throw new Error(`HTTP ${response.status}: ${response.statusText}`);
62
+ }
63
+ const existingJson = await response.json();
64
+ if (existingJson) {
65
+ try {
66
+ if (isJsonEqual(json, existingJson)) {
67
+ this.log(messages.getMessage('info.skipped', [fileName]));
68
+ skipped++;
69
+ continue;
70
+ }
71
+ }
72
+ catch (parseError) {
73
+ this.warn(`Failed to parse stored JSON for ${fileName}, proceeding with update`);
74
+ failed++;
75
+ continue;
76
+ }
77
+ }
78
+ }
79
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
80
+ const responseData = await (await fetch(`${responseToken.host}/api/v1/form/templates`, {
81
+ method: 'POST',
82
+ body: JSON.stringify({
83
+ sfid: existingId ?? undefined,
84
+ config: {
85
+ name: fileName,
86
+ ...json,
87
+ },
88
+ }),
89
+ headers: {
90
+ 'Content-Type': 'application/json',
91
+ Accept: 'application/json',
92
+ Authorization: `Bearer ${responseToken.token}`,
93
+ },
94
+ })).json();
95
+ const formTemplateJson = JSON.stringify({
96
+ ...json,
97
+ url: responseData.url,
98
+ });
99
+ await connection.apex.post('/sharinpix/FormTemplateImport', {
100
+ recordId: existingId ?? undefined,
101
+ name: fileName,
102
+ url: responseData.url,
103
+ formTemplateJson,
104
+ });
105
+ if (existingId) {
106
+ this.log(messages.getMessage('info.updated', [fileName]));
107
+ }
108
+ else {
109
+ this.log(messages.getMessage('info.created', [fileName]));
110
+ }
111
+ uploaded++;
112
+ }
113
+ catch (error) {
114
+ const fileName = path.basename(file, '.json');
115
+ this.warn(`Failed to push form template ${fileName}: ${error instanceof Error ? error.message : 'Unknown error'}`);
116
+ failed++;
117
+ continue;
118
+ }
119
+ }
120
+ this.log(messages.getMessage('info.summary', [uploaded, failed, skipped]));
121
+ return {
122
+ name: 'OK',
123
+ uploaded,
124
+ failed,
125
+ skipped,
126
+ };
127
+ }
128
+ }
129
+ //# sourceMappingURL=push.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"push.js","sourceRoot":"","sources":["../../../../src/commands/sharinpix/form/push.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,qCAAqC;AACrC,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,6BAA6B,EAAE,qBAAqB,CAAC,CAAC;AAgB7F,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,SAAqB;IAC9C,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CA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BAEH,IAAI,UAAU,EAAE,CAAC;oBACf,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;gBAC5D,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;gBAC5D,CAAC;gBAED,QAAQ,EAAE,CAAC;YACb,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;gBAC9C,IAAI,CAAC,IAAI,CACP,gCAAgC,QAAQ,KAAK,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,EAAE,CACxG,CAAC;gBACF,MAAM,EAAE,CAAC;gBACT,SAAS;YACX,CAAC;QACH,CAAC;QAED,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;QAE3E,OAAO;YACL,IAAI,EAAE,IAAI;YACV,QAAQ;YACR,MAAM;YACN,OAAO;SACR,CAAC;IACJ,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function isJsonEqual(obj1: unknown, obj2: unknown): boolean;
@@ -0,0 +1,4 @@
1
+ export function isJsonEqual(obj1, obj2) {
2
+ return JSON.stringify(obj1) === JSON.stringify(obj2);
3
+ }
4
+ //# sourceMappingURL=json-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json-utils.js","sourceRoot":"","sources":["../../src/helpers/json-utils.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,WAAW,CAAC,IAAa,EAAE,IAAa;IACtD,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC"}
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: {};
2
- export default _default;
1
+ export { default as pull } from './commands/sharinpix/form/pull.js';
2
+ export { default as push } from './commands/sharinpix/form/push.js';
package/lib/index.js CHANGED
@@ -1,2 +1,3 @@
1
- export default {};
1
+ export { default as pull } from './commands/sharinpix/form/pull.js';
2
+ export { default as push } from './commands/sharinpix/form/push.js';
2
3
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mCAAmC,CAAC"}
@@ -0,0 +1,41 @@
1
+ # summary
2
+
3
+ Push SharinPix form templates to Salesforce org.
4
+
5
+ # description
6
+
7
+ Uploads SharinPix form templates from local JSON files to the connected Salesforce org. This command reads form templates from the local directory and creates or updates corresponding records in Salesforce. Existing forms will be updated unless the force flag is used to skip them.
8
+
9
+ # flags.org.summary
10
+
11
+ The Salesforce org to push form templates to.
12
+
13
+ # flags.org.description
14
+
15
+ The target Salesforce org where the SharinPix form templates will be uploaded and stored.
16
+
17
+ # examples
18
+
19
+ - Push all form templates to the default org:
20
+
21
+ <%= config.bin %> <%= command.id %>
22
+
23
+ - Push form templates to a specific org:
24
+
25
+ <%= config.bin %> <%= command.id %> --target-org myorg@example.com
26
+
27
+ # info.created
28
+
29
+ Created form template %s
30
+
31
+ # info.updated
32
+
33
+ Updated form template %s
34
+
35
+ # info.skipped
36
+
37
+ Skipped form template %s (no changes detected)
38
+
39
+ # info.summary
40
+
41
+ Push completed: %d forms uploaded, %d forms failed, %d forms skipped
@@ -62,7 +62,70 @@
62
62
  "pull:sharinpix:form",
63
63
  "pull:form:sharinpix"
64
64
  ]
65
+ },
66
+ "sharinpix:form:push": {
67
+ "aliases": [],
68
+ "args": {},
69
+ "description": "Uploads SharinPix form templates from local JSON files to the connected Salesforce org. This command reads form templates from the local directory and creates or updates corresponding records in Salesforce. Existing forms will be updated unless the force flag is used to skip them.",
70
+ "examples": [
71
+ "Push all form templates to the default org:\n<%= config.bin %> <%= command.id %>",
72
+ "Push form templates to a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com"
73
+ ],
74
+ "flags": {
75
+ "json": {
76
+ "description": "Format output as json.",
77
+ "helpGroup": "GLOBAL",
78
+ "name": "json",
79
+ "allowNo": false,
80
+ "type": "boolean"
81
+ },
82
+ "flags-dir": {
83
+ "helpGroup": "GLOBAL",
84
+ "name": "flags-dir",
85
+ "summary": "Import flag values from a directory.",
86
+ "hasDynamicHelp": false,
87
+ "multiple": false,
88
+ "type": "option"
89
+ },
90
+ "org": {
91
+ "char": "o",
92
+ "description": "The target Salesforce org where the SharinPix form templates will be uploaded and stored.",
93
+ "name": "org",
94
+ "noCacheDefault": true,
95
+ "required": true,
96
+ "summary": "The Salesforce org to push form templates to.",
97
+ "hasDynamicHelp": true,
98
+ "multiple": false,
99
+ "type": "option"
100
+ }
101
+ },
102
+ "hasDynamicHelp": true,
103
+ "hiddenAliases": [],
104
+ "id": "sharinpix:form:push",
105
+ "pluginAlias": "@sharinpix/sharinpix-sf-cli",
106
+ "pluginName": "@sharinpix/sharinpix-sf-cli",
107
+ "pluginType": "core",
108
+ "strict": true,
109
+ "summary": "Push SharinPix form templates to Salesforce org.",
110
+ "enableJsonFlag": true,
111
+ "isESM": true,
112
+ "relativePath": [
113
+ "lib",
114
+ "commands",
115
+ "sharinpix",
116
+ "form",
117
+ "push.js"
118
+ ],
119
+ "aliasPermutations": [],
120
+ "permutations": [
121
+ "sharinpix:form:push",
122
+ "form:sharinpix:push",
123
+ "form:push:sharinpix",
124
+ "sharinpix:push:form",
125
+ "push:sharinpix:form",
126
+ "push:form:sharinpix"
127
+ ]
65
128
  }
66
129
  },
67
- "version": "1.2.0"
130
+ "version": "1.3.0"
68
131
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sharinpix/sharinpix-sf-cli",
3
3
  "description": "SharinPix salesforce cli plugin",
4
- "version": "1.2.0",
4
+ "version": "1.3.0",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^4",
7
7
  "@salesforce/core": "^8",
@@ -60,7 +60,7 @@
60
60
  "postpack": "sf-clean --ignore-signing-artifacts",
61
61
  "prepack": "sf-prepack",
62
62
  "test": "wireit",
63
- "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
63
+ "test:nuts": "TS_NODE_PROJECT=./test/tsconfig.json nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
64
64
  "test:only": "wireit",
65
65
  "version": "oclif readme",
66
66
  "prepare": "husky",