@base44-preview/cli 0.0.32-pr.259.1042e3a → 0.0.32-pr.259.e8c2236
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/dist/cli/index.js +9 -5
- package/dist/cli/index.js.map +8 -8
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -194732,7 +194732,8 @@ async function createRecordAction(entityName, options) {
|
|
|
194732
194732
|
errorMessage: `Failed to create ${entityName} record`
|
|
194733
194733
|
});
|
|
194734
194734
|
M2.success(`Record created with ID: ${record2.id}`);
|
|
194735
|
-
|
|
194735
|
+
process.stdout.write(`${JSON.stringify(record2, null, 2)}
|
|
194736
|
+
`);
|
|
194736
194737
|
return {};
|
|
194737
194738
|
}
|
|
194738
194739
|
function getRecordsCreateCommand(context) {
|
|
@@ -194774,7 +194775,8 @@ async function getRecordAction(entityName, recordId) {
|
|
|
194774
194775
|
successMessage: `Fetched ${entityName} record`,
|
|
194775
194776
|
errorMessage: `Failed to fetch ${entityName} record`
|
|
194776
194777
|
});
|
|
194777
|
-
|
|
194778
|
+
process.stdout.write(`${JSON.stringify(record2, null, 2)}
|
|
194779
|
+
`);
|
|
194778
194780
|
return {};
|
|
194779
194781
|
}
|
|
194780
194782
|
function getRecordsGetCommand(context) {
|
|
@@ -194798,7 +194800,8 @@ async function listRecordsAction(entityName, options) {
|
|
|
194798
194800
|
errorMessage: `Failed to fetch ${entityName} records`
|
|
194799
194801
|
});
|
|
194800
194802
|
M2.info(`Found ${records.length} record(s)`);
|
|
194801
|
-
|
|
194803
|
+
process.stdout.write(`${JSON.stringify(records, null, 2)}
|
|
194804
|
+
`);
|
|
194802
194805
|
return {};
|
|
194803
194806
|
}
|
|
194804
194807
|
function getRecordsListCommand(context) {
|
|
@@ -194848,7 +194851,8 @@ async function updateRecordAction(entityName, recordId, options) {
|
|
|
194848
194851
|
errorMessage: `Failed to update ${entityName} record`
|
|
194849
194852
|
});
|
|
194850
194853
|
M2.success(`Record ${recordId} updated`);
|
|
194851
|
-
|
|
194854
|
+
process.stdout.write(`${JSON.stringify(record2, null, 2)}
|
|
194855
|
+
`);
|
|
194852
194856
|
return {};
|
|
194853
194857
|
}
|
|
194854
194858
|
function getRecordsUpdateCommand(context) {
|
|
@@ -200046,4 +200050,4 @@ export {
|
|
|
200046
200050
|
CLIExitError
|
|
200047
200051
|
};
|
|
200048
200052
|
|
|
200049
|
-
//# debugId=
|
|
200053
|
+
//# debugId=AEA98F588610665D64756E2164756E21
|