You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/schemas/importModel/schema.tsx
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,20 @@
1
1
constimportModelSchema={
2
2
type: 'object',
3
+
required: ['uploadType'],
3
4
properties: {
4
5
uploadType: {
6
+
type: 'string',
5
7
title: 'Upload method',
6
-
enum: ['File Import','URL Import'],
8
+
enum: ['File Import','URL Import','CSV Import'],
9
+
enumDescriptions: [
10
+
'Upload a model file (.tar, .tar.gz, .tgz) from your local system',
11
+
'Import a model file using a direct URL to the source',
12
+
'Upload separate CSV files for model definitions, components, and their relationships'
13
+
],
7
14
default: 'Select the Upload Method',
8
15
'x-rjsf-grid-area': '12',
9
16
description:
10
-
"Choose the method you prefer to upload your model file. Select 'File Upload' if you have the file on your local system or 'URL Import' if you have the file hosted online."
17
+
"Choose the method you prefer to upload your model file. Select 'File Import' or 'CSV Import' if you have the file on your local system or 'URL Import' if you have the file hosted online."
0 commit comments