@bluecopa/core 0.1.5 → 0.1.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/README.md
CHANGED
|
@@ -4,22 +4,27 @@ The core package provides essential API utilities and functions for data managem
|
|
|
4
4
|
|
|
5
5
|
## Table of Contents
|
|
6
6
|
|
|
7
|
-
- [
|
|
8
|
-
- [
|
|
9
|
-
- [
|
|
10
|
-
- [
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
- [
|
|
22
|
-
- [
|
|
7
|
+
- [@bluecopa/core](#bluecopacore)
|
|
8
|
+
- [Table of Contents](#table-of-contents)
|
|
9
|
+
- [Version](#version)
|
|
10
|
+
- [Installation](#installation)
|
|
11
|
+
- [Requirements](#requirements)
|
|
12
|
+
- [Configuration](#configuration)
|
|
13
|
+
- [API Reference](#api-reference)
|
|
14
|
+
- [Dataset Module](#dataset-module)
|
|
15
|
+
- [Definition Module](#definition-module)
|
|
16
|
+
- [File Module](#file-module)
|
|
17
|
+
- [InputTable Module](#inputtable-module)
|
|
18
|
+
- [Metric Module](#metric-module)
|
|
19
|
+
- [User Module](#user-module)
|
|
20
|
+
- [Workbook Module](#workbook-module)
|
|
21
|
+
- [Workflow Module](#workflow-module)
|
|
22
|
+
- [Worksheet Module](#worksheet-module)
|
|
23
|
+
- [Examples](#examples)
|
|
24
|
+
- [1. Get Input Tables](#1-get-input-tables)
|
|
25
|
+
- [2. Get Workbooks by Type](#2-get-workbooks-by-type)
|
|
26
|
+
- [Development](#development)
|
|
27
|
+
- [Related Packages](#related-packages)
|
|
23
28
|
|
|
24
29
|
## Version
|
|
25
30
|
|
|
@@ -35,7 +40,7 @@ npm install @bluecopa/core
|
|
|
35
40
|
|
|
36
41
|
- Node.js >= 18.0.0
|
|
37
42
|
- Dependencies:
|
|
38
|
-
- axios (1.
|
|
43
|
+
- axios (1.12.0) - For HTTP requests
|
|
39
44
|
- lodash (4.17.21) - For utility functions
|
|
40
45
|
|
|
41
46
|
|
|
@@ -49,7 +54,7 @@ Import and set the config:
|
|
|
49
54
|
import { copaSetConfig } from '@bluecopa/core';
|
|
50
55
|
|
|
51
56
|
copaSetConfig({
|
|
52
|
-
apiBaseUrl: 'https://
|
|
57
|
+
apiBaseUrl: 'https://develop.bluecopa.com', // Base URL for API endpoints
|
|
53
58
|
accessToken: 'your-access-token', // Authentication token
|
|
54
59
|
workspaceId: 'your-workspace-id' // Current workspace identifier
|
|
55
60
|
});
|
|
@@ -3,4 +3,4 @@ export declare const runSampleDefinition: (props: {
|
|
|
3
3
|
dataFilter: "valid_data" | "invalid_data" | "all_data";
|
|
4
4
|
duplicateColGroups?: string[];
|
|
5
5
|
datasetType?: string;
|
|
6
|
-
}) => Promise<import('axios').AxiosResponse<any, any>>;
|
|
6
|
+
}) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
@@ -28,7 +28,7 @@ export declare const getPivotGridData: (props: {
|
|
|
28
28
|
definitionModel: Definition;
|
|
29
29
|
variableName: string;
|
|
30
30
|
valueCols?: ValueColsType[];
|
|
31
|
-
}) => Promise<import('axios').AxiosResponse<any, any>>;
|
|
31
|
+
}) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
32
32
|
export declare const replaceFilterColumn: (props: {
|
|
33
33
|
fr: FilterSelectOptionsType[];
|
|
34
34
|
column: SelectOptionType<ColumnSetting>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluecopa/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node": ">=18.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"axios": "1.
|
|
36
|
+
"axios": "1.12.0",
|
|
37
37
|
"lodash": "4.17.21"
|
|
38
38
|
}
|
|
39
39
|
}
|