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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-bluecopa-react-app",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "CLI tool to create bluecopa React applications",
5
5
  "type": "module",
6
6
  "main": "./bin/create-bluecopa-react-app.js",
@@ -137,9 +137,9 @@ function WorkbookTestSection() {
137
137
  customFields: {},
138
138
  publishedVersion: null,
139
139
  externalUrl:
140
- "gs://gcp-dev-v3-stage-out/PROC_DEFINITION/MJ6WV5IW2FT808T2JWFK.json",
140
+ "gs://stage-out_dev-local-363813_2/PROC_DEFINITION/MJ6WV5IW2FT808T2JWFK.json",
141
141
  modelUrl:
142
- "gs://gcp-dev-v3-stage-out/PROC_CUSTOM_MODEL/MJ6WV5IYWOZI9YY6M3UR.json",
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(fileId || null, {
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
- uploadType: "JSON",
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-CjZD2orr.js'], (function (exports, module) {
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 {