@corva/ui 3.53.0-6 → 3.53.0-8

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.
@@ -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-6";
230
+ var version = "3.53.0-8";
231
231
 
232
232
  const CORVA_UI_VERSION = version;
233
233
 
@@ -1443,8 +1443,8 @@ var componentsV2Data = [
1443
1443
  },
1444
1444
  {
1445
1445
  name: "Multiple",
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.",
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 </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}"
1448
1448
  },
1449
1449
  {
1450
1450
  name: "MultipleWithCustomSelectedRender",
@@ -5017,7 +5017,7 @@ var componentsV2Data = [
5017
5017
  },
5018
5018
  {
5019
5019
  name: "label",
5020
- type: "string",
5020
+ type: "ReactNode",
5021
5021
  required: false,
5022
5022
  description: "Custom label for the button (defaults to \"Offset Wells\")"
5023
5023
  },
@@ -5070,40 +5070,35 @@ var componentsV2Data = [
5070
5070
  description: "",
5071
5071
  code: "{\n const [expanded, setExpanded] = useState(props.expanded || false);\n\n return (\n <OffsetWellsButton\n {...props}\n expanded={expanded}\n onExpand={(newExpanded, ...rest) => {\n setExpanded(newExpanded);\n props.onExpand?.(newExpanded, ...rest);\n }}\n onClick={props.onClick}\n />\n );\n}"
5072
5072
  },
5073
+ {
5074
+ name: "ExpandCollapse",
5075
+ description: "Expand chevron/clickable area is controlled by the `onExpand` prop.",
5076
+ code: "{\n const [expanded, setExpanded] = useState(false);\n\n return (\n <SbColumn>\n <Text size={12} tagName=\"div\" color=\"T8\">\n Currently: {expanded ? 'Expanded' : 'Collapsed'}\n </Text>\n <OffsetWellsButton\n wells={[]}\n forceExpandButton\n expanded={expanded}\n onClick={noop}\n onExpand={setExpanded}\n />\n <OffsetWellsButton wells={mockWells(6)} onClick={noop} expanded={expanded} />\n </SbColumn>\n );\n}"
5077
+ },
5073
5078
  {
5074
5079
  name: "WellCounts",
5075
- description: "Different well count values and their behavior",
5076
- code: "<SbColumn>\n <SbRow>\n <div>\n <p>\n <strong>No Wells</strong>\n </p>\n <OffsetWellsButton wells={[]} onClick={() => {}} />\n <p style={{ fontSize: '12px', color: '#666' }}>No expand button shown</p>\n </div>\n <div>\n <p>\n <strong>Few Wells</strong>\n </p>\n <OffsetWellsButton wells={mockWells(3)} onClick={() => {}} onExpand={() => {}} />\n </div>\n <div>\n <p>\n <strong>Many Wells</strong>\n </p>\n <OffsetWellsButton wells={mockWells(25)} onClick={() => {}} onExpand={() => {}} />\n </div>\n </SbRow>\n </SbColumn>"
5080
+ description: "Component shows its expand button if `wells` prop has a \"non-empty\" value",
5081
+ code: "<SbColumn>\n <OffsetWellsButton wells={mockWells(3)} onClick={noop} onExpand={noop} />\n <OffsetWellsButton wells={[]} onClick={noop} />\n </SbColumn>"
5077
5082
  },
5078
5083
  {
5079
5084
  name: "CustomLabels",
5080
- description: "Different label configurations",
5081
- code: "<SbColumn>\n <SbRow>\n <div>\n <p>\n <strong>Default Label</strong>\n </p>\n <OffsetWellsButton wells={mockWells(5)} onClick={() => {}} onExpand={() => {}} />\n </div>\n <div>\n <p>\n <strong>Custom Label</strong>\n </p>\n <OffsetWellsButton\n wells={mockWells(3)}\n label=\"Parent Wells\"\n onClick={() => {}}\n onExpand={() => {}}\n />\n </div>\n <div>\n <p>\n <strong>Long Label</strong>\n </p>\n <OffsetWellsButton\n wells={mockWells(2)}\n label=\"Very Long Well Description\"\n onClick={() => {}}\n onExpand={() => {}}\n />\n </div>\n </SbRow>\n </SbColumn>"
5085
+ description: "You can pass custom label as a string or a `ReactNode` (useful for responsivity). \n\nComponent will add colon to label automatically if a string is passed",
5086
+ code: "<SbColumn>\n <OffsetWellsButton wells={mockWells(5)} onClick={noop} onExpand={noop} />\n <OffsetWellsButton wells={mockWells(3)} label=\"Parent Wells\" onClick={noop} onExpand={noop} />\n <OffsetWellsButton wells={mockWells(2)} label=\"\" onClick={noop} onExpand={noop} />\n <OffsetWellsButton\n wells={mockWells(2)}\n label={\n <SbPlaceholder style={{ display: 'inline-block', width: 'auto', padding: '0 8px' }}>\n Label:\n </SbPlaceholder>\n }\n onClick={noop}\n onExpand={noop}\n />\n </SbColumn>"
5082
5087
  },
5083
5088
  {
5084
5089
  name: "Icons",
5085
- description: "Different icon options",
5086
- code: "<SbColumn>\n <SbRow>\n <div>\n <p>\n <strong>Default Well Icon</strong>\n </p>\n <OffsetWellsButton wells={mockWells(4)} onClick={() => {}} onExpand={() => {}} />\n </div>\n <div>\n <p>\n <strong>Global Icon</strong>\n </p>\n <OffsetWellsButton\n wells={mockWells(4)}\n icon={<Global size={20} />}\n onClick={() => {}}\n onExpand={() => {}}\n />\n </div>\n </SbRow>\n </SbColumn>"
5087
- },
5088
- {
5089
- name: "ExpandCollapse",
5090
- description: "Expand and collapse functionality",
5091
- code: "{\n const [expanded, setExpanded] = useState(false);\n\n return (\n <SbColumn>\n <SbRow>\n <div>\n <p>\n <strong>Interactive Expand/Collapse</strong>\n </p>\n <OffsetWellsButton\n wells={[]}\n forceExpandButton\n expanded={expanded}\n onClick={() => {}}\n onExpand={setExpanded}\n />\n <p style={{ fontSize: '12px', color: '#666' }}>\n Currently: {expanded ? 'Expanded' : 'Collapsed'}\n </p>\n </div>\n <div>\n <p>\n <strong>No Expand Function</strong>\n </p>\n <OffsetWellsButton wells={mockWells(6)} onClick={() => {}} />\n <p style={{ fontSize: '12px', color: '#666' }}>No expand button</p>\n </div>\n </SbRow>\n </SbColumn>\n );\n}"
5092
- },
5093
- {
5094
- name: "Disabled",
5095
- description: "Enabled vs disabled component states",
5096
- code: "<SbColumn>\n <SbRow>\n <div>\n <p>\n <strong>Enabled</strong>\n </p>\n <OffsetWellsButton wells={mockWells(4)} onClick={() => {}} onExpand={() => {}} />\n </div>\n <div>\n <p>\n <strong>Disabled</strong>\n </p>\n <OffsetWellsButton wells={mockWells(4)} disabled onClick={() => {}} onExpand={() => {}} />\n </div>\n </SbRow>\n </SbColumn>"
5090
+ description: "You can pass a custom icon using the `icon` prop",
5091
+ code: "<OffsetWellsButton\n wells={mockWells(4)}\n icon={<Global size={20} />}\n onClick={noop}\n onExpand={noop}\n />"
5097
5092
  },
5098
5093
  {
5099
5094
  name: "LimitationsMessage",
5100
- description: "Optional limitations warning indicator",
5101
- code: "<SbColumn>\n <SbRow>\n <div>\n <p>\n <strong>Without Warning</strong>\n </p>\n <OffsetWellsButton wells={mockWells(8)} onClick={() => {}} onExpand={() => {}} />\n </div>\n <div>\n <p>\n <strong>With Limitations Warning</strong>\n </p>\n <OffsetWellsButton\n wells={mockWells(8)}\n showLimitationsMessage\n onClick={() => {}}\n onExpand={() => {}}\n />\n <p style={{ fontSize: '12px', color: '#666' }}>Hover info icon for tooltip</p>\n </div>\n </SbRow>\n </SbColumn>"
5095
+ description: "You can show the limitations warning indicator by providing the `showLimitationsMessage` prop.",
5096
+ code: "<OffsetWellsButton wells={mockWells(8)} onClick={noop} onExpand={noop} showLimitationsMessage />"
5102
5097
  },
5103
5098
  {
5104
5099
  name: "Tooltips",
5105
- description: "Tooltip behavior and configuration",
5106
- code: "<SbColumn>\n <SbRow>\n <div>\n <p>\n <strong>With Tooltips</strong>\n </p>\n <OffsetWellsButton wells={mockWells(5)} onClick={() => {}} onExpand={() => {}} />\n <p style={{ fontSize: '12px', color: '#666' }}>Hover buttons for tooltips</p>\n </div>\n <div>\n <p>\n <strong>Expand Tooltip Disabled</strong>\n </p>\n <OffsetWellsButton\n wells={mockWells(5)}\n isExpandTooltipDisabled\n onClick={() => {}}\n onExpand={() => {}}\n />\n <p style={{ fontSize: '12px', color: '#666' }}>No tooltip on expand button</p>\n </div>\n </SbRow>\n </SbColumn>"
5100
+ description: "You can disable expand/collapse tooltips by using the `isExpandTooltipDisabled` prop",
5101
+ code: "<OffsetWellsButton wells={mockWells(5)} onClick={noop} onExpand={noop} isExpandTooltipDisabled />"
5107
5102
  }
5108
5103
  ],
5109
5104
  sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/componentsV2/OffsetWellsButton/OffsetWellsButton.tsx",
@@ -73754,17 +73749,19 @@ var clientsData = [
73754
73749
  "put",
73755
73750
  "delete",
73756
73751
  "many",
73752
+ "count",
73753
+ "list",
73757
73754
  "aggregate",
73758
73755
  "pipeline",
73759
- "retrieve",
73760
- "id",
73761
- "update",
73762
- "patch",
73763
73756
  "batch_update",
73764
73757
  "batch",
73758
+ "update",
73759
+ "patch",
73765
73760
  "batch_update_with_object",
73766
73761
  "with",
73767
73762
  "object",
73763
+ "retrieve",
73764
+ "id",
73768
73765
  "datasets",
73769
73766
  "index",
73770
73767
  "company",
@@ -73844,6 +73841,13 @@ var clientsData = [
73844
73841
  required: false,
73845
73842
  description: "Comma separated list of fields to return"
73846
73843
  },
73844
+ {
73845
+ name: "include_count",
73846
+ "in": "query",
73847
+ type: "boolean",
73848
+ required: false,
73849
+ description: "Include total count of matching documents in Total header"
73850
+ },
73847
73851
  {
73848
73852
  name: "sort",
73849
73853
  "in": "query",
@@ -73999,6 +74003,88 @@ var clientsData = [
73999
74003
  }
74000
74004
  }
74001
74005
  },
74006
+ {
74007
+ path: "/api/v1/data/{provider}/{dataset}/count/",
74008
+ method: "GET",
74009
+ operationId: "count_api_v1_data__provider___dataset__count__get",
74010
+ summary: "Count Data",
74011
+ tags: [
74012
+ "data"
74013
+ ],
74014
+ parameters: [
74015
+ {
74016
+ name: "provider",
74017
+ "in": "path",
74018
+ type: "string",
74019
+ required: true,
74020
+ description: ""
74021
+ },
74022
+ {
74023
+ name: "dataset",
74024
+ "in": "path",
74025
+ type: "string",
74026
+ required: true,
74027
+ description: ""
74028
+ },
74029
+ {
74030
+ name: "query",
74031
+ "in": "query",
74032
+ type: "string",
74033
+ required: true,
74034
+ description: "Search conditions"
74035
+ }
74036
+ ],
74037
+ responses: {
74038
+ "200": {
74039
+ description: "Successful Response",
74040
+ schema: "{ count: number }"
74041
+ },
74042
+ "422": {
74043
+ description: "Validation Error",
74044
+ schema: "{ code: number, message: string }"
74045
+ }
74046
+ }
74047
+ },
74048
+ {
74049
+ path: "/api/v1/data/{provider}/{dataset}/list/",
74050
+ method: "POST",
74051
+ operationId: "listDataByProviderAndDataset",
74052
+ summary: "Find Data",
74053
+ tags: [
74054
+ "data"
74055
+ ],
74056
+ parameters: [
74057
+ {
74058
+ name: "provider",
74059
+ "in": "path",
74060
+ type: "string",
74061
+ required: true,
74062
+ description: ""
74063
+ },
74064
+ {
74065
+ name: "dataset",
74066
+ "in": "path",
74067
+ type: "string",
74068
+ required: true,
74069
+ description: ""
74070
+ }
74071
+ ],
74072
+ requestBody: {
74073
+ contentType: "application/json",
74074
+ schema: "{ query: object, sort: { sort: object }, skip: number, limit: number, fields: string, ... }",
74075
+ required: true
74076
+ },
74077
+ responses: {
74078
+ "200": {
74079
+ description: "Successful Response",
74080
+ schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }[]"
74081
+ },
74082
+ "422": {
74083
+ description: "Validation Error",
74084
+ schema: "{ code: number, message: string }"
74085
+ }
74086
+ }
74087
+ },
74002
74088
  {
74003
74089
  path: "/api/v1/data/{provider}/{dataset}/aggregate/",
74004
74090
  method: "GET",
@@ -74159,10 +74245,10 @@ var clientsData = [
74159
74245
  }
74160
74246
  },
74161
74247
  {
74162
- path: "/api/v1/data/{provider}/{dataset}/{id}/",
74163
- method: "GET",
74164
- operationId: "retrieve_api_v1_data__provider___dataset___id___get",
74165
- summary: "Load Record",
74248
+ path: "/api/v1/data/{provider}/{dataset}/batch_update/",
74249
+ method: "PATCH",
74250
+ operationId: "batch_update_api_v1_data__provider___dataset__batch_update__patch",
74251
+ summary: "Batch Document Update",
74166
74252
  tags: [
74167
74253
  "data"
74168
74254
  ],
@@ -74180,19 +74266,17 @@ var clientsData = [
74180
74266
  type: "string",
74181
74267
  required: true,
74182
74268
  description: ""
74183
- },
74184
- {
74185
- name: "id",
74186
- "in": "path",
74187
- type: "string",
74188
- required: true,
74189
- description: ""
74190
74269
  }
74191
74270
  ],
74271
+ requestBody: {
74272
+ contentType: "application/json",
74273
+ schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number | null, ... }[]",
74274
+ required: false
74275
+ },
74192
74276
  responses: {
74193
74277
  "200": {
74194
74278
  description: "Successful Response",
74195
- schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }"
74279
+ schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }[]"
74196
74280
  },
74197
74281
  "422": {
74198
74282
  description: "Validation Error",
@@ -74201,10 +74285,10 @@ var clientsData = [
74201
74285
  }
74202
74286
  },
74203
74287
  {
74204
- path: "/api/v1/data/{provider}/{dataset}/{id}/",
74205
- method: "PUT",
74206
- operationId: "replace_api_v1_data__provider___dataset___id___put",
74207
- summary: "Replace Document",
74288
+ path: "/api/v1/data/{provider}/{dataset}/batch_update_with_object/",
74289
+ method: "PATCH",
74290
+ operationId: "batch_update_with_object_api_v1_data__provider___dataset__batch_update_with_object__patch",
74291
+ summary: "Batch Document Update with single object value",
74208
74292
  tags: [
74209
74293
  "data"
74210
74294
  ],
@@ -74222,24 +74306,17 @@ var clientsData = [
74222
74306
  type: "string",
74223
74307
  required: true,
74224
74308
  description: ""
74225
- },
74226
- {
74227
- name: "id",
74228
- "in": "path",
74229
- type: "string",
74230
- required: true,
74231
- description: ""
74232
74309
  }
74233
74310
  ],
74234
74311
  requestBody: {
74235
74312
  contentType: "application/json",
74236
- schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }",
74313
+ 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 } }",
74237
74314
  required: true
74238
74315
  },
74239
74316
  responses: {
74240
74317
  "200": {
74241
74318
  description: "Successful Response",
74242
- schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }"
74319
+ schema: "{ updated_count: number }"
74243
74320
  },
74244
74321
  "422": {
74245
74322
  description: "Validation Error",
@@ -74249,9 +74326,9 @@ var clientsData = [
74249
74326
  },
74250
74327
  {
74251
74328
  path: "/api/v1/data/{provider}/{dataset}/{id}/",
74252
- method: "PATCH",
74253
- operationId: "update_api_v1_data__provider___dataset___id___patch",
74254
- summary: "Update Document",
74329
+ method: "GET",
74330
+ operationId: "retrieve_api_v1_data__provider___dataset___id___get",
74331
+ summary: "Load Record",
74255
74332
  tags: [
74256
74333
  "data"
74257
74334
  ],
@@ -74278,11 +74355,6 @@ var clientsData = [
74278
74355
  description: ""
74279
74356
  }
74280
74357
  ],
74281
- requestBody: {
74282
- contentType: "application/json",
74283
- schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }",
74284
- required: true
74285
- },
74286
74358
  responses: {
74287
74359
  "200": {
74288
74360
  description: "Successful Response",
@@ -74296,9 +74368,9 @@ var clientsData = [
74296
74368
  },
74297
74369
  {
74298
74370
  path: "/api/v1/data/{provider}/{dataset}/{id}/",
74299
- method: "DELETE",
74300
- operationId: "delete_api_v1_data__provider___dataset___id___delete",
74301
- summary: "Delete Document",
74371
+ method: "PUT",
74372
+ operationId: "replace_api_v1_data__provider___dataset___id___put",
74373
+ summary: "Replace Document",
74302
74374
  tags: [
74303
74375
  "data"
74304
74376
  ],
@@ -74325,10 +74397,15 @@ var clientsData = [
74325
74397
  description: ""
74326
74398
  }
74327
74399
  ],
74400
+ requestBody: {
74401
+ contentType: "application/json",
74402
+ schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }",
74403
+ required: true
74404
+ },
74328
74405
  responses: {
74329
74406
  "200": {
74330
74407
  description: "Successful Response",
74331
- schema: "{ deleted_docs: object[], failed_count: number }"
74408
+ schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }"
74332
74409
  },
74333
74410
  "422": {
74334
74411
  description: "Validation Error",
@@ -74337,10 +74414,10 @@ var clientsData = [
74337
74414
  }
74338
74415
  },
74339
74416
  {
74340
- path: "/api/v1/data/{provider}/{dataset}/batch_update/",
74417
+ path: "/api/v1/data/{provider}/{dataset}/{id}/",
74341
74418
  method: "PATCH",
74342
- operationId: "batch_update_api_v1_data__provider___dataset__batch_update__patch",
74343
- summary: "Batch Document Update",
74419
+ operationId: "update_api_v1_data__provider___dataset___id___patch",
74420
+ summary: "Update Document",
74344
74421
  tags: [
74345
74422
  "data"
74346
74423
  ],
@@ -74358,17 +74435,24 @@ var clientsData = [
74358
74435
  type: "string",
74359
74436
  required: true,
74360
74437
  description: ""
74438
+ },
74439
+ {
74440
+ name: "id",
74441
+ "in": "path",
74442
+ type: "string",
74443
+ required: true,
74444
+ description: ""
74361
74445
  }
74362
74446
  ],
74363
74447
  requestBody: {
74364
74448
  contentType: "application/json",
74365
- schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number | null, ... }[]",
74366
- required: false
74449
+ schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }",
74450
+ required: true
74367
74451
  },
74368
74452
  responses: {
74369
74453
  "200": {
74370
74454
  description: "Successful Response",
74371
- schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }[]"
74455
+ schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }"
74372
74456
  },
74373
74457
  "422": {
74374
74458
  description: "Validation Error",
@@ -74377,10 +74461,10 @@ var clientsData = [
74377
74461
  }
74378
74462
  },
74379
74463
  {
74380
- path: "/api/v1/data/{provider}/{dataset}/batch_update_with_object/",
74381
- method: "PATCH",
74382
- operationId: "batch_update_with_object_api_v1_data__provider___dataset__batch_update_with_object__patch",
74383
- summary: "Batch Document Update with single object value",
74464
+ path: "/api/v1/data/{provider}/{dataset}/{id}/",
74465
+ method: "DELETE",
74466
+ operationId: "delete_api_v1_data__provider___dataset___id___delete",
74467
+ summary: "Delete Document",
74384
74468
  tags: [
74385
74469
  "data"
74386
74470
  ],
@@ -74398,17 +74482,19 @@ var clientsData = [
74398
74482
  type: "string",
74399
74483
  required: true,
74400
74484
  description: ""
74485
+ },
74486
+ {
74487
+ name: "id",
74488
+ "in": "path",
74489
+ type: "string",
74490
+ required: true,
74491
+ description: ""
74401
74492
  }
74402
74493
  ],
74403
- requestBody: {
74404
- contentType: "application/json",
74405
- 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 } }",
74406
- required: true
74407
- },
74408
74494
  responses: {
74409
74495
  "200": {
74410
74496
  description: "Successful Response",
74411
- schema: "{ updated_count: number }"
74497
+ schema: "{ deleted_docs: object[], failed_count: number }"
74412
74498
  },
74413
74499
  "422": {
74414
74500
  description: "Validation Error",
@@ -75103,6 +75189,13 @@ var clientsData = [
75103
75189
  required: false,
75104
75190
  description: "Comma separated list of fields to return"
75105
75191
  },
75192
+ {
75193
+ name: "include_count",
75194
+ "in": "query",
75195
+ type: "boolean",
75196
+ required: false,
75197
+ description: "Include total count of matching documents in Total header"
75198
+ },
75106
75199
  {
75107
75200
  name: "sort",
75108
75201
  "in": "query",
@@ -75675,6 +75768,88 @@ var clientsData = [
75675
75768
  }
75676
75769
  }
75677
75770
  },
75771
+ {
75772
+ path: "/api/v1/data/{provider}/{dataset}/count/",
75773
+ method: "GET",
75774
+ operationId: "count_api_v1_data__provider___dataset__count__get",
75775
+ summary: "Count Data",
75776
+ tags: [
75777
+ "data"
75778
+ ],
75779
+ parameters: [
75780
+ {
75781
+ name: "provider",
75782
+ "in": "path",
75783
+ type: "string",
75784
+ required: true,
75785
+ description: ""
75786
+ },
75787
+ {
75788
+ name: "dataset",
75789
+ "in": "path",
75790
+ type: "string",
75791
+ required: true,
75792
+ description: ""
75793
+ },
75794
+ {
75795
+ name: "query",
75796
+ "in": "query",
75797
+ type: "string",
75798
+ required: true,
75799
+ description: "Search conditions"
75800
+ }
75801
+ ],
75802
+ responses: {
75803
+ "200": {
75804
+ description: "Successful Response",
75805
+ schema: "{ count: number }"
75806
+ },
75807
+ "422": {
75808
+ description: "Validation Error",
75809
+ schema: "{ code: number, message: string }"
75810
+ }
75811
+ }
75812
+ },
75813
+ {
75814
+ path: "/api/v1/data/{provider}/{dataset}/list/",
75815
+ method: "POST",
75816
+ operationId: "listDataByProviderAndDataset",
75817
+ summary: "Find Data",
75818
+ tags: [
75819
+ "data"
75820
+ ],
75821
+ parameters: [
75822
+ {
75823
+ name: "provider",
75824
+ "in": "path",
75825
+ type: "string",
75826
+ required: true,
75827
+ description: ""
75828
+ },
75829
+ {
75830
+ name: "dataset",
75831
+ "in": "path",
75832
+ type: "string",
75833
+ required: true,
75834
+ description: ""
75835
+ }
75836
+ ],
75837
+ requestBody: {
75838
+ contentType: "application/json",
75839
+ schema: "{ query: object, sort: { sort: object }, skip: number, limit: number, fields: string, ... }",
75840
+ required: true
75841
+ },
75842
+ responses: {
75843
+ "200": {
75844
+ description: "Successful Response",
75845
+ schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }[]"
75846
+ },
75847
+ "422": {
75848
+ description: "Validation Error",
75849
+ schema: "{ code: number, message: string }"
75850
+ }
75851
+ }
75852
+ },
75678
75853
  {
75679
75854
  path: "/api/v1/message_producer/",
75680
75855
  method: "POST",
@@ -84473,17 +84648,19 @@ var entries = [
84473
84648
  "put",
84474
84649
  "delete",
84475
84650
  "many",
84651
+ "count",
84652
+ "list",
84476
84653
  "aggregate",
84477
84654
  "pipeline",
84478
- "retrieve",
84479
- "id",
84480
- "update",
84481
- "patch",
84482
84655
  "batch_update",
84483
84656
  "batch",
84657
+ "update",
84658
+ "patch",
84484
84659
  "batch_update_with_object",
84485
84660
  "with",
84486
84661
  "object",
84662
+ "retrieve",
84663
+ "id",
84487
84664
  "datasets",
84488
84665
  "index",
84489
84666
  "company",
@@ -84505,7 +84682,7 @@ var entries = [
84505
84682
  ],
84506
84683
  category: "clients",
84507
84684
  importPath: "@corva/ui/clients",
84508
- 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 retrieve id update patch batch_update batch batch_update_with_object with object datasets index company name check perform action message_producer produce message producer app key subscriptions publish asset"
84685
+ 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"
84509
84686
  },
84510
84687
  {
84511
84688
  id: "client-socketClient",