@corva/ui 3.53.0-5 → 3.53.0-7
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/cjs-bundle/componentsV2/Accordion/Accordion.scss.js +1 -1
- package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
- package/componentsV2/Accordion/Accordion.scss.js +1 -1
- package/componentsV2/Accordion/Accordion.stories.d.ts +2 -0
- package/componentsV2/Accordion/Accordion.stories.d.ts.map +1 -1
- package/componentsV2/Autocomplete/Autocomplete.js +1 -1
- package/componentsV2/Autocomplete/Autocomplete.stories.d.ts.map +1 -1
- package/mcp-server/server.mjs +258 -66
- package/mcp-server/server.mjs.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/mcp-server/server.mjs
CHANGED
|
@@ -227,7 +227,7 @@ const validateDsn = (dsn) => {
|
|
|
227
227
|
|
|
228
228
|
const MCP_SERVER_VERSION = '1.0.0';
|
|
229
229
|
|
|
230
|
-
var version = "3.53.0-
|
|
230
|
+
var version = "3.53.0-7";
|
|
231
231
|
|
|
232
232
|
const CORVA_UI_VERSION = version;
|
|
233
233
|
|
|
@@ -807,8 +807,18 @@ var componentsV2Data = [
|
|
|
807
807
|
},
|
|
808
808
|
{
|
|
809
809
|
name: "KeepContentMountedWhenClosed",
|
|
810
|
-
description: "By default, Accordion unmounts its content when closed
|
|
810
|
+
description: "By default, Accordion unmounts its content when closed due to performance reasons. You can change it by providing the `unmountWhenClosed` prop.",
|
|
811
811
|
code: "<SbColumn alignItems=\"stretch\">\n <Accordion title=\"Unmounts content on close\">{text}</Accordion>\n <Accordion title=\"Keeps content mounted\" unmountWhenClosed={false}>\n {text}\n </Accordion>\n </SbColumn>"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
name: "WithAdditionalContentInTitle",
|
|
815
|
+
description: "You can add arbitrary content to title. The container is a flex element with preset positioning and gaps.\n\nDo not forget to disable event propagation for interactive elements",
|
|
816
|
+
code: "{\n return (\n <SbColumn alignItems=\"stretch\">\n <Accordion\n title={\n <>\n With Button\n <ButtonIcon size=\"xs\" onClick={e => e.stopPropagation()}>\n <BubbleChartIcon />\n </ButtonIcon>\n </>\n }\n >\n {text}\n </Accordion>\n\n <Accordion\n title={\n <>\n With Chip on the right\n {/* Use classes for this IRL */}\n <div style={{ marginLeft: 'auto' }}>\n <Chip size=\"small\">Chip</Chip>\n </div>\n </>\n }\n >\n {text}\n </Accordion>\n\n <Accordion\n title={\n <>\n With Info Icon\n <Tooltip title=\"Information goes here\">\n <span>\n <InfoIcon size={16} />\n </span>\n </Tooltip>\n </>\n }\n >\n {text}\n </Accordion>\n\n <Accordion\n title={\n <>\n With Counter\n \n// ... (truncated)"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
name: "FocusStateAndOverflow",
|
|
820
|
+
description: "Care must be taken while using Accordion in scrollable containers, so its focus state is not \"cut off\".",
|
|
821
|
+
code: "{\n return (\n <SbColumn alignItems=\"stretch\">\n <div\n style={{\n overflowX: 'auto',\n height: '100px',\n }}\n >\n <Accordion title=\"Title\">{text}</Accordion>\n </div>\n <div\n style={{\n overflowX: 'auto',\n height: '100px',\n // Add paddings to blocks with overflow\n padding: '8px',\n }}\n >\n <Accordion title=\"Title\">{text}</Accordion>\n </div>\n </SbColumn>\n );\n}"
|
|
812
822
|
}
|
|
813
823
|
],
|
|
814
824
|
sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/componentsV2/Accordion/Accordion.tsx",
|
|
@@ -1433,8 +1443,8 @@ var componentsV2Data = [
|
|
|
1433
1443
|
},
|
|
1434
1444
|
{
|
|
1435
1445
|
name: "Multiple",
|
|
1436
|
-
description: "Pass `multiple` prop to make component be able to select multiple values.\n\nUse `useAllOption` prop to add a special \"All\" option that allows user to quickly select all options.",
|
|
1437
|
-
code: "{\n const [value, setValue] = useState<number[]>([1]);\n\n const onChange = useCallback<AutocompleteChangeHandler<Option, true>>(value => {\n setValue(value.map(({ id }) => id));\n }, []);\n\n return (\n <SbColumn alignItems=\"stretch\">\n <Autocomplete multiple options={options} value={value} onChange={onChange} label=\"Multiple\" />\n <Autocomplete\n multiple\n options={options}\n value={value}\n onChange={onChange}\n label={'Multiple with \"All\" option'}\n useAllOption\n />\n </SbColumn>\n );\n}"
|
|
1446
|
+
description: "Pass `multiple` prop to make component be able to select multiple values.\n\nUse `useAllOption` prop to add a special \"All\" option that allows user to quickly select all options. This option will be visible only if there are several options to choose from",
|
|
1447
|
+
code: "{\n const [value, setValue] = useState<number[]>([1]);\n\n const onChange = useCallback<AutocompleteChangeHandler<Option, true>>(value => {\n setValue(value.map(({ id }) => id));\n }, []);\n\n return (\n <SbColumn alignItems=\"stretch\">\n <Autocomplete multiple options={options} value={value} onChange={onChange} label=\"Multiple\" />\n <Autocomplete\n multiple\n options={options}\n value={value}\n onChange={onChange}\n label={'Multiple with \"All\" option'}\n useAllOption\n />\n <Autocomplete\n multiple\n options={options.slice(0, 1)}\n value={value}\n onChange={onChange}\n label={'Multiple with \"All\" and only 1 option'}\n useAllOption\n />\n </SbColumn>\n );\n}"
|
|
1438
1448
|
},
|
|
1439
1449
|
{
|
|
1440
1450
|
name: "MultipleWithCustomSelectedRender",
|
|
@@ -73744,17 +73754,19 @@ var clientsData = [
|
|
|
73744
73754
|
"put",
|
|
73745
73755
|
"delete",
|
|
73746
73756
|
"many",
|
|
73757
|
+
"count",
|
|
73758
|
+
"list",
|
|
73747
73759
|
"aggregate",
|
|
73748
73760
|
"pipeline",
|
|
73749
|
-
"retrieve",
|
|
73750
|
-
"id",
|
|
73751
|
-
"update",
|
|
73752
|
-
"patch",
|
|
73753
73761
|
"batch_update",
|
|
73754
73762
|
"batch",
|
|
73763
|
+
"update",
|
|
73764
|
+
"patch",
|
|
73755
73765
|
"batch_update_with_object",
|
|
73756
73766
|
"with",
|
|
73757
73767
|
"object",
|
|
73768
|
+
"retrieve",
|
|
73769
|
+
"id",
|
|
73758
73770
|
"datasets",
|
|
73759
73771
|
"index",
|
|
73760
73772
|
"company",
|
|
@@ -73834,6 +73846,13 @@ var clientsData = [
|
|
|
73834
73846
|
required: false,
|
|
73835
73847
|
description: "Comma separated list of fields to return"
|
|
73836
73848
|
},
|
|
73849
|
+
{
|
|
73850
|
+
name: "include_count",
|
|
73851
|
+
"in": "query",
|
|
73852
|
+
type: "boolean",
|
|
73853
|
+
required: false,
|
|
73854
|
+
description: "Include total count of matching documents in Total header"
|
|
73855
|
+
},
|
|
73837
73856
|
{
|
|
73838
73857
|
name: "sort",
|
|
73839
73858
|
"in": "query",
|
|
@@ -73989,6 +74008,88 @@ var clientsData = [
|
|
|
73989
74008
|
}
|
|
73990
74009
|
}
|
|
73991
74010
|
},
|
|
74011
|
+
{
|
|
74012
|
+
path: "/api/v1/data/{provider}/{dataset}/count/",
|
|
74013
|
+
method: "GET",
|
|
74014
|
+
operationId: "count_api_v1_data__provider___dataset__count__get",
|
|
74015
|
+
summary: "Count Data",
|
|
74016
|
+
tags: [
|
|
74017
|
+
"data"
|
|
74018
|
+
],
|
|
74019
|
+
parameters: [
|
|
74020
|
+
{
|
|
74021
|
+
name: "provider",
|
|
74022
|
+
"in": "path",
|
|
74023
|
+
type: "string",
|
|
74024
|
+
required: true,
|
|
74025
|
+
description: ""
|
|
74026
|
+
},
|
|
74027
|
+
{
|
|
74028
|
+
name: "dataset",
|
|
74029
|
+
"in": "path",
|
|
74030
|
+
type: "string",
|
|
74031
|
+
required: true,
|
|
74032
|
+
description: ""
|
|
74033
|
+
},
|
|
74034
|
+
{
|
|
74035
|
+
name: "query",
|
|
74036
|
+
"in": "query",
|
|
74037
|
+
type: "string",
|
|
74038
|
+
required: true,
|
|
74039
|
+
description: "Search conditions"
|
|
74040
|
+
}
|
|
74041
|
+
],
|
|
74042
|
+
responses: {
|
|
74043
|
+
"200": {
|
|
74044
|
+
description: "Successful Response",
|
|
74045
|
+
schema: "{ count: number }"
|
|
74046
|
+
},
|
|
74047
|
+
"422": {
|
|
74048
|
+
description: "Validation Error",
|
|
74049
|
+
schema: "{ code: number, message: string }"
|
|
74050
|
+
}
|
|
74051
|
+
}
|
|
74052
|
+
},
|
|
74053
|
+
{
|
|
74054
|
+
path: "/api/v1/data/{provider}/{dataset}/list/",
|
|
74055
|
+
method: "POST",
|
|
74056
|
+
operationId: "listDataByProviderAndDataset",
|
|
74057
|
+
summary: "Find Data",
|
|
74058
|
+
tags: [
|
|
74059
|
+
"data"
|
|
74060
|
+
],
|
|
74061
|
+
parameters: [
|
|
74062
|
+
{
|
|
74063
|
+
name: "provider",
|
|
74064
|
+
"in": "path",
|
|
74065
|
+
type: "string",
|
|
74066
|
+
required: true,
|
|
74067
|
+
description: ""
|
|
74068
|
+
},
|
|
74069
|
+
{
|
|
74070
|
+
name: "dataset",
|
|
74071
|
+
"in": "path",
|
|
74072
|
+
type: "string",
|
|
74073
|
+
required: true,
|
|
74074
|
+
description: ""
|
|
74075
|
+
}
|
|
74076
|
+
],
|
|
74077
|
+
requestBody: {
|
|
74078
|
+
contentType: "application/json",
|
|
74079
|
+
schema: "{ query: object, sort: { sort: object }, skip: number, limit: number, fields: string, ... }",
|
|
74080
|
+
required: true
|
|
74081
|
+
},
|
|
74082
|
+
responses: {
|
|
74083
|
+
"200": {
|
|
74084
|
+
description: "Successful Response",
|
|
74085
|
+
schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }[]"
|
|
74086
|
+
},
|
|
74087
|
+
"422": {
|
|
74088
|
+
description: "Validation Error",
|
|
74089
|
+
schema: "{ code: number, message: string }"
|
|
74090
|
+
}
|
|
74091
|
+
}
|
|
74092
|
+
},
|
|
73992
74093
|
{
|
|
73993
74094
|
path: "/api/v1/data/{provider}/{dataset}/aggregate/",
|
|
73994
74095
|
method: "GET",
|
|
@@ -74149,10 +74250,10 @@ var clientsData = [
|
|
|
74149
74250
|
}
|
|
74150
74251
|
},
|
|
74151
74252
|
{
|
|
74152
|
-
path: "/api/v1/data/{provider}/{dataset}/
|
|
74153
|
-
method: "
|
|
74154
|
-
operationId: "
|
|
74155
|
-
summary: "
|
|
74253
|
+
path: "/api/v1/data/{provider}/{dataset}/batch_update/",
|
|
74254
|
+
method: "PATCH",
|
|
74255
|
+
operationId: "batch_update_api_v1_data__provider___dataset__batch_update__patch",
|
|
74256
|
+
summary: "Batch Document Update",
|
|
74156
74257
|
tags: [
|
|
74157
74258
|
"data"
|
|
74158
74259
|
],
|
|
@@ -74170,19 +74271,17 @@ var clientsData = [
|
|
|
74170
74271
|
type: "string",
|
|
74171
74272
|
required: true,
|
|
74172
74273
|
description: ""
|
|
74173
|
-
},
|
|
74174
|
-
{
|
|
74175
|
-
name: "id",
|
|
74176
|
-
"in": "path",
|
|
74177
|
-
type: "string",
|
|
74178
|
-
required: true,
|
|
74179
|
-
description: ""
|
|
74180
74274
|
}
|
|
74181
74275
|
],
|
|
74276
|
+
requestBody: {
|
|
74277
|
+
contentType: "application/json",
|
|
74278
|
+
schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number | null, ... }[]",
|
|
74279
|
+
required: false
|
|
74280
|
+
},
|
|
74182
74281
|
responses: {
|
|
74183
74282
|
"200": {
|
|
74184
74283
|
description: "Successful Response",
|
|
74185
|
-
schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }"
|
|
74284
|
+
schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }[]"
|
|
74186
74285
|
},
|
|
74187
74286
|
"422": {
|
|
74188
74287
|
description: "Validation Error",
|
|
@@ -74191,10 +74290,10 @@ var clientsData = [
|
|
|
74191
74290
|
}
|
|
74192
74291
|
},
|
|
74193
74292
|
{
|
|
74194
|
-
path: "/api/v1/data/{provider}/{dataset}/
|
|
74195
|
-
method: "
|
|
74196
|
-
operationId: "
|
|
74197
|
-
summary: "
|
|
74293
|
+
path: "/api/v1/data/{provider}/{dataset}/batch_update_with_object/",
|
|
74294
|
+
method: "PATCH",
|
|
74295
|
+
operationId: "batch_update_with_object_api_v1_data__provider___dataset__batch_update_with_object__patch",
|
|
74296
|
+
summary: "Batch Document Update with single object value",
|
|
74198
74297
|
tags: [
|
|
74199
74298
|
"data"
|
|
74200
74299
|
],
|
|
@@ -74212,24 +74311,17 @@ var clientsData = [
|
|
|
74212
74311
|
type: "string",
|
|
74213
74312
|
required: true,
|
|
74214
74313
|
description: ""
|
|
74215
|
-
},
|
|
74216
|
-
{
|
|
74217
|
-
name: "id",
|
|
74218
|
-
"in": "path",
|
|
74219
|
-
type: "string",
|
|
74220
|
-
required: true,
|
|
74221
|
-
description: ""
|
|
74222
74314
|
}
|
|
74223
74315
|
],
|
|
74224
74316
|
requestBody: {
|
|
74225
74317
|
contentType: "application/json",
|
|
74226
|
-
schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }",
|
|
74318
|
+
schema: "{ data: { company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }, query: string, limit: number, batch: number, sort: { sort: object } }",
|
|
74227
74319
|
required: true
|
|
74228
74320
|
},
|
|
74229
74321
|
responses: {
|
|
74230
74322
|
"200": {
|
|
74231
74323
|
description: "Successful Response",
|
|
74232
|
-
schema: "{
|
|
74324
|
+
schema: "{ updated_count: number }"
|
|
74233
74325
|
},
|
|
74234
74326
|
"422": {
|
|
74235
74327
|
description: "Validation Error",
|
|
@@ -74239,9 +74331,9 @@ var clientsData = [
|
|
|
74239
74331
|
},
|
|
74240
74332
|
{
|
|
74241
74333
|
path: "/api/v1/data/{provider}/{dataset}/{id}/",
|
|
74242
|
-
method: "
|
|
74243
|
-
operationId: "
|
|
74244
|
-
summary: "
|
|
74334
|
+
method: "GET",
|
|
74335
|
+
operationId: "retrieve_api_v1_data__provider___dataset___id___get",
|
|
74336
|
+
summary: "Load Record",
|
|
74245
74337
|
tags: [
|
|
74246
74338
|
"data"
|
|
74247
74339
|
],
|
|
@@ -74268,11 +74360,6 @@ var clientsData = [
|
|
|
74268
74360
|
description: ""
|
|
74269
74361
|
}
|
|
74270
74362
|
],
|
|
74271
|
-
requestBody: {
|
|
74272
|
-
contentType: "application/json",
|
|
74273
|
-
schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }",
|
|
74274
|
-
required: true
|
|
74275
|
-
},
|
|
74276
74363
|
responses: {
|
|
74277
74364
|
"200": {
|
|
74278
74365
|
description: "Successful Response",
|
|
@@ -74286,9 +74373,9 @@ var clientsData = [
|
|
|
74286
74373
|
},
|
|
74287
74374
|
{
|
|
74288
74375
|
path: "/api/v1/data/{provider}/{dataset}/{id}/",
|
|
74289
|
-
method: "
|
|
74290
|
-
operationId: "
|
|
74291
|
-
summary: "
|
|
74376
|
+
method: "PUT",
|
|
74377
|
+
operationId: "replace_api_v1_data__provider___dataset___id___put",
|
|
74378
|
+
summary: "Replace Document",
|
|
74292
74379
|
tags: [
|
|
74293
74380
|
"data"
|
|
74294
74381
|
],
|
|
@@ -74315,10 +74402,15 @@ var clientsData = [
|
|
|
74315
74402
|
description: ""
|
|
74316
74403
|
}
|
|
74317
74404
|
],
|
|
74405
|
+
requestBody: {
|
|
74406
|
+
contentType: "application/json",
|
|
74407
|
+
schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }",
|
|
74408
|
+
required: true
|
|
74409
|
+
},
|
|
74318
74410
|
responses: {
|
|
74319
74411
|
"200": {
|
|
74320
74412
|
description: "Successful Response",
|
|
74321
|
-
schema: "{
|
|
74413
|
+
schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }"
|
|
74322
74414
|
},
|
|
74323
74415
|
"422": {
|
|
74324
74416
|
description: "Validation Error",
|
|
@@ -74327,10 +74419,10 @@ var clientsData = [
|
|
|
74327
74419
|
}
|
|
74328
74420
|
},
|
|
74329
74421
|
{
|
|
74330
|
-
path: "/api/v1/data/{provider}/{dataset}/
|
|
74422
|
+
path: "/api/v1/data/{provider}/{dataset}/{id}/",
|
|
74331
74423
|
method: "PATCH",
|
|
74332
|
-
operationId: "
|
|
74333
|
-
summary: "
|
|
74424
|
+
operationId: "update_api_v1_data__provider___dataset___id___patch",
|
|
74425
|
+
summary: "Update Document",
|
|
74334
74426
|
tags: [
|
|
74335
74427
|
"data"
|
|
74336
74428
|
],
|
|
@@ -74348,17 +74440,24 @@ var clientsData = [
|
|
|
74348
74440
|
type: "string",
|
|
74349
74441
|
required: true,
|
|
74350
74442
|
description: ""
|
|
74443
|
+
},
|
|
74444
|
+
{
|
|
74445
|
+
name: "id",
|
|
74446
|
+
"in": "path",
|
|
74447
|
+
type: "string",
|
|
74448
|
+
required: true,
|
|
74449
|
+
description: ""
|
|
74351
74450
|
}
|
|
74352
74451
|
],
|
|
74353
74452
|
requestBody: {
|
|
74354
74453
|
contentType: "application/json",
|
|
74355
|
-
schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number
|
|
74356
|
-
required:
|
|
74454
|
+
schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }",
|
|
74455
|
+
required: true
|
|
74357
74456
|
},
|
|
74358
74457
|
responses: {
|
|
74359
74458
|
"200": {
|
|
74360
74459
|
description: "Successful Response",
|
|
74361
|
-
schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }
|
|
74460
|
+
schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }"
|
|
74362
74461
|
},
|
|
74363
74462
|
"422": {
|
|
74364
74463
|
description: "Validation Error",
|
|
@@ -74367,10 +74466,10 @@ var clientsData = [
|
|
|
74367
74466
|
}
|
|
74368
74467
|
},
|
|
74369
74468
|
{
|
|
74370
|
-
path: "/api/v1/data/{provider}/{dataset}/
|
|
74371
|
-
method: "
|
|
74372
|
-
operationId: "
|
|
74373
|
-
summary: "
|
|
74469
|
+
path: "/api/v1/data/{provider}/{dataset}/{id}/",
|
|
74470
|
+
method: "DELETE",
|
|
74471
|
+
operationId: "delete_api_v1_data__provider___dataset___id___delete",
|
|
74472
|
+
summary: "Delete Document",
|
|
74374
74473
|
tags: [
|
|
74375
74474
|
"data"
|
|
74376
74475
|
],
|
|
@@ -74388,17 +74487,19 @@ var clientsData = [
|
|
|
74388
74487
|
type: "string",
|
|
74389
74488
|
required: true,
|
|
74390
74489
|
description: ""
|
|
74490
|
+
},
|
|
74491
|
+
{
|
|
74492
|
+
name: "id",
|
|
74493
|
+
"in": "path",
|
|
74494
|
+
type: "string",
|
|
74495
|
+
required: true,
|
|
74496
|
+
description: ""
|
|
74391
74497
|
}
|
|
74392
74498
|
],
|
|
74393
|
-
requestBody: {
|
|
74394
|
-
contentType: "application/json",
|
|
74395
|
-
schema: "{ data: { company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }, query: string, limit: number, batch: number, sort: { sort: object } }",
|
|
74396
|
-
required: true
|
|
74397
|
-
},
|
|
74398
74499
|
responses: {
|
|
74399
74500
|
"200": {
|
|
74400
74501
|
description: "Successful Response",
|
|
74401
|
-
schema: "{
|
|
74502
|
+
schema: "{ deleted_docs: object[], failed_count: number }"
|
|
74402
74503
|
},
|
|
74403
74504
|
"422": {
|
|
74404
74505
|
description: "Validation Error",
|
|
@@ -75093,6 +75194,13 @@ var clientsData = [
|
|
|
75093
75194
|
required: false,
|
|
75094
75195
|
description: "Comma separated list of fields to return"
|
|
75095
75196
|
},
|
|
75197
|
+
{
|
|
75198
|
+
name: "include_count",
|
|
75199
|
+
"in": "query",
|
|
75200
|
+
type: "boolean",
|
|
75201
|
+
required: false,
|
|
75202
|
+
description: "Include total count of matching documents in Total header"
|
|
75203
|
+
},
|
|
75096
75204
|
{
|
|
75097
75205
|
name: "sort",
|
|
75098
75206
|
"in": "query",
|
|
@@ -75665,6 +75773,88 @@ var clientsData = [
|
|
|
75665
75773
|
}
|
|
75666
75774
|
}
|
|
75667
75775
|
},
|
|
75776
|
+
{
|
|
75777
|
+
path: "/api/v1/data/{provider}/{dataset}/count/",
|
|
75778
|
+
method: "GET",
|
|
75779
|
+
operationId: "count_api_v1_data__provider___dataset__count__get",
|
|
75780
|
+
summary: "Count Data",
|
|
75781
|
+
tags: [
|
|
75782
|
+
"data"
|
|
75783
|
+
],
|
|
75784
|
+
parameters: [
|
|
75785
|
+
{
|
|
75786
|
+
name: "provider",
|
|
75787
|
+
"in": "path",
|
|
75788
|
+
type: "string",
|
|
75789
|
+
required: true,
|
|
75790
|
+
description: ""
|
|
75791
|
+
},
|
|
75792
|
+
{
|
|
75793
|
+
name: "dataset",
|
|
75794
|
+
"in": "path",
|
|
75795
|
+
type: "string",
|
|
75796
|
+
required: true,
|
|
75797
|
+
description: ""
|
|
75798
|
+
},
|
|
75799
|
+
{
|
|
75800
|
+
name: "query",
|
|
75801
|
+
"in": "query",
|
|
75802
|
+
type: "string",
|
|
75803
|
+
required: true,
|
|
75804
|
+
description: "Search conditions"
|
|
75805
|
+
}
|
|
75806
|
+
],
|
|
75807
|
+
responses: {
|
|
75808
|
+
"200": {
|
|
75809
|
+
description: "Successful Response",
|
|
75810
|
+
schema: "{ count: number }"
|
|
75811
|
+
},
|
|
75812
|
+
"422": {
|
|
75813
|
+
description: "Validation Error",
|
|
75814
|
+
schema: "{ code: number, message: string }"
|
|
75815
|
+
}
|
|
75816
|
+
}
|
|
75817
|
+
},
|
|
75818
|
+
{
|
|
75819
|
+
path: "/api/v1/data/{provider}/{dataset}/list/",
|
|
75820
|
+
method: "POST",
|
|
75821
|
+
operationId: "listDataByProviderAndDataset",
|
|
75822
|
+
summary: "Find Data",
|
|
75823
|
+
tags: [
|
|
75824
|
+
"data"
|
|
75825
|
+
],
|
|
75826
|
+
parameters: [
|
|
75827
|
+
{
|
|
75828
|
+
name: "provider",
|
|
75829
|
+
"in": "path",
|
|
75830
|
+
type: "string",
|
|
75831
|
+
required: true,
|
|
75832
|
+
description: ""
|
|
75833
|
+
},
|
|
75834
|
+
{
|
|
75835
|
+
name: "dataset",
|
|
75836
|
+
"in": "path",
|
|
75837
|
+
type: "string",
|
|
75838
|
+
required: true,
|
|
75839
|
+
description: ""
|
|
75840
|
+
}
|
|
75841
|
+
],
|
|
75842
|
+
requestBody: {
|
|
75843
|
+
contentType: "application/json",
|
|
75844
|
+
schema: "{ query: object, sort: { sort: object }, skip: number, limit: number, fields: string, ... }",
|
|
75845
|
+
required: true
|
|
75846
|
+
},
|
|
75847
|
+
responses: {
|
|
75848
|
+
"200": {
|
|
75849
|
+
description: "Successful Response",
|
|
75850
|
+
schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }[]"
|
|
75851
|
+
},
|
|
75852
|
+
"422": {
|
|
75853
|
+
description: "Validation Error",
|
|
75854
|
+
schema: "{ code: number, message: string }"
|
|
75855
|
+
}
|
|
75856
|
+
}
|
|
75857
|
+
},
|
|
75668
75858
|
{
|
|
75669
75859
|
path: "/api/v1/message_producer/",
|
|
75670
75860
|
method: "POST",
|
|
@@ -84463,17 +84653,19 @@ var entries = [
|
|
|
84463
84653
|
"put",
|
|
84464
84654
|
"delete",
|
|
84465
84655
|
"many",
|
|
84656
|
+
"count",
|
|
84657
|
+
"list",
|
|
84466
84658
|
"aggregate",
|
|
84467
84659
|
"pipeline",
|
|
84468
|
-
"retrieve",
|
|
84469
|
-
"id",
|
|
84470
|
-
"update",
|
|
84471
|
-
"patch",
|
|
84472
84660
|
"batch_update",
|
|
84473
84661
|
"batch",
|
|
84662
|
+
"update",
|
|
84663
|
+
"patch",
|
|
84474
84664
|
"batch_update_with_object",
|
|
84475
84665
|
"with",
|
|
84476
84666
|
"object",
|
|
84667
|
+
"retrieve",
|
|
84668
|
+
"id",
|
|
84477
84669
|
"datasets",
|
|
84478
84670
|
"index",
|
|
84479
84671
|
"company",
|
|
@@ -84495,7 +84687,7 @@ var entries = [
|
|
|
84495
84687
|
],
|
|
84496
84688
|
category: "clients",
|
|
84497
84689
|
importPath: "@corva/ui/clients",
|
|
84498
|
-
searchText: "corvadataapi data api client for corva platform. used for data-specific endpoints with automatic url configuration. api data http request fetch rest metrics get v1 by provider and dataset create post replace put delete many aggregate pipeline
|
|
84690
|
+
searchText: "corvadataapi data api client for corva platform. used for data-specific endpoints with automatic url configuration. api data http request fetch rest metrics get v1 by provider and dataset create post replace put delete many count list aggregate pipeline batch_update batch update patch batch_update_with_object with object retrieve id datasets index company name check perform action message_producer produce message producer app key subscriptions publish asset"
|
|
84499
84691
|
},
|
|
84500
84692
|
{
|
|
84501
84693
|
id: "client-socketClient",
|