create-bluecopa-react-app 1.0.36 → 1.0.37
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/package.json +1 -1
- package/templates/latest/app/routes/apitest.tsx +13 -6
- package/templates/latest/dist/assets/{__federation_expose_App-rkiN5ftu.js → __federation_expose_App-OFfdinOR.js} +1 -1
- package/templates/latest/dist/assets/{client-CjZD2orr.js → client-CkHcT_xc.js} +4581 -3384
- package/templates/latest/dist/assets/{index-BIZxzud9.js → index-B3cD3sP_.js} +1 -1
- package/templates/latest/dist/assets/remoteEntry.js +1 -1
- package/templates/latest/dist/index.html +2 -2
- package/templates/latest/package-lock.json +30 -26
- package/templates/latest/package.json +3 -3
package/package.json
CHANGED
|
@@ -137,9 +137,9 @@ function WorkbookTestSection() {
|
|
|
137
137
|
customFields: {},
|
|
138
138
|
publishedVersion: null,
|
|
139
139
|
externalUrl:
|
|
140
|
-
"gs://
|
|
140
|
+
"gs://stage-out_dev-local-363813_2/PROC_DEFINITION/MJ6WV5IW2FT808T2JWFK.json",
|
|
141
141
|
modelUrl:
|
|
142
|
-
"gs://
|
|
142
|
+
"gs://stage-out_dev-local-363813_2/PROC_CUSTOM_MODEL/MJ6WV5IYWOZI9YY6M3UR.json",
|
|
143
143
|
tags: null,
|
|
144
144
|
createdBy: "0TOlmUqx0TKseTn8W6gW",
|
|
145
145
|
createdDate: "2025-12-12T11:50:09.155+00:00",
|
|
@@ -683,7 +683,11 @@ function FileUploadTestSection() {
|
|
|
683
683
|
const fileUploadMutation = useFileUpload();
|
|
684
684
|
|
|
685
685
|
// File Download Hook - disabled by default
|
|
686
|
-
const fileDownloadQuery = useFileDownload(
|
|
686
|
+
const fileDownloadQuery = useFileDownload({
|
|
687
|
+
fileId: fileId || "",
|
|
688
|
+
contentType: "application/json",
|
|
689
|
+
method: "GET",
|
|
690
|
+
}, {
|
|
687
691
|
enabled: false, // No automatic fetching - all calls are user-initiated
|
|
688
692
|
});
|
|
689
693
|
|
|
@@ -710,17 +714,16 @@ function FileUploadTestSection() {
|
|
|
710
714
|
|
|
711
715
|
const result = await fileUploadMutation.mutateAsync({
|
|
712
716
|
data: parsedData,
|
|
713
|
-
|
|
717
|
+
path: "test/test.json",
|
|
714
718
|
contentType: "application/json",
|
|
715
719
|
method: "PUT",
|
|
716
|
-
path: "test/test.json",
|
|
717
720
|
});
|
|
718
721
|
console.log("File uploaded, fileId:", result.fileId);
|
|
719
722
|
setFileId(result.fileId);
|
|
720
723
|
toast.success(`File uploaded successfully! File ID: ${result.fileId}`);
|
|
721
724
|
} catch (error: any) {
|
|
722
725
|
console.error("File upload error:", error);
|
|
723
|
-
toast.error(`File upload failed: ${error.message}`);
|
|
726
|
+
toast.error(`File upload failed: ${error.message || error.response?.data?.message}`);
|
|
724
727
|
}
|
|
725
728
|
};
|
|
726
729
|
|
|
@@ -1448,6 +1451,10 @@ function CreateOrUpdateFormTestSection() {
|
|
|
1448
1451
|
|
|
1449
1452
|
const result = await createOrUpdateFormMutation.mutateAsync({
|
|
1450
1453
|
data: parsedForm,
|
|
1454
|
+
processSheetId: "123",
|
|
1455
|
+
formInstanceId: "123",
|
|
1456
|
+
isDummy: false,
|
|
1457
|
+
status: "DRAFTED",
|
|
1451
1458
|
});
|
|
1452
1459
|
console.log("Form created/updated:", result);
|
|
1453
1460
|
setCreateResult(result);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
System.register(['./__federation_fn_import-CzfA7kmP.js', './client-
|
|
1
|
+
System.register(['./__federation_fn_import-CzfA7kmP.js', './client-CkHcT_xc.js'], (function (exports, module) {
|
|
2
2
|
'use strict';
|
|
3
3
|
var importShared, clientExports, jsxRuntimeExports, MemoryRouter, BrowserRouter, App;
|
|
4
4
|
return {
|