Skip to content

Commit bed2e60

Browse files
authored
rework HTTP calls and slugs (#429)
1 parent f59a50d commit bed2e60

21 files changed

Lines changed: 86 additions & 354 deletions

.github/workflows/_publish-code.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#
2-
# Publish releases to NPM
3-
#
41
name: Publish Code
52

63
on:

.github/workflows/_publish-docs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#
2-
# Publish Documentation to GitHub pages.
3-
#
41
name: Publish Documentation
52

63
on:

.github/workflows/_static-analysis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#
2-
# Run static code analysis.
3-
#
41
name: Static Analysis
52

63
on:

.github/workflows/_test-integrations.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#
2-
# Run integration tests.
3-
#
41
name: Integration Test
52

63
on:

.github/workflows/_test-units.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#
2-
# Run unit tests.
3-
#
41
name: Test
52

63
on:

docs/code_samples/v2_classification.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as mindee from "mindee";
44

55
const apiKey = "MY_API_KEY";
66
const filePath = "/path/to/the/file.ext";
7-
const modelId = "MY_CLASSIFICATION_MODEL_ID";
7+
const modelId = "MY_MODEL_ID";
88

99
// Init a new client
1010
const mindeeClient = new mindee.Client(

docs/code_samples/v2_crop.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as mindee from "mindee";
44

55
const apiKey = "MY_API_KEY";
66
const filePath = "/path/to/the/file.ext";
7-
const modelId = "MY_CROP_MODEL_ID";
7+
const modelId = "MY_MODEL_ID";
88

99
// Init a new client
1010
const mindeeClient = new mindee.Client(

docs/code_samples/v2_ocr.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as mindee from "mindee";
44

55
const apiKey = "MY_API_KEY";
66
const filePath = "/path/to/the/file.ext";
7-
const modelId = "MY_OCR_MODEL_ID";
7+
const modelId = "MY_MODEL_ID";
88

99
// Init a new client
1010
const mindeeClient = new mindee.Client(

docs/code_samples/v2_split.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as mindee from "mindee";
44

55
const apiKey = "MY_API_KEY";
66
const filePath = "/path/to/the/file.ext";
7-
const modelId = "MY_SPLIT_MODEL_ID";
7+
const modelId = "MY_MODEL_ID";
88

99
// Init a new client
1010
const mindeeClient = new mindee.Client(

0 commit comments

Comments
 (0)