Skip to content

Commit

Permalink
Merge pull request #385 from nulib/preview/5195-dcapi-types
Browse files Browse the repository at this point in the history
Update dcapi types and fixtures.
  • Loading branch information
mathewjordan authored Sep 9, 2024
2 parents 2ef0f20 + 585450e commit dbc362e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions mocks/sample-work1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const sampleWork1: Work = {
embedding: [2345, 2345],
embedding_model:
"huggingface/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2-stack-p-indexing-embedding",
embedding_text_length: "0",
file_sets: [
{
accession_number: "inu-dil-50575a78-a47a-4a07-939f-6e1d6a9d7065",
Expand Down
1 change: 1 addition & 0 deletions mocks/sample-work2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const sampleWork2: Work = {
embedding: [2345, 2345],
embedding_model:
"huggingface/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2-stack-p-indexing-embedding",
embedding_text_length: "0",
file_sets: [
{
accession_number: "inu-dil-50575a78-a47a-4a07-939f-6e1d6a9d7065",
Expand Down
1 change: 1 addition & 0 deletions mocks/shared-link/work.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export const work: Work = {
embedding: [2345, 2345],
embedding_model:
"huggingface/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2-stack-p-indexing-embedding",
embedding_text_length: "0",
file_sets: [
{
accession_number: "inu-dil-12b39039-68af-4a31-8b04-1b025d95a0b8",
Expand Down
1 change: 1 addition & 0 deletions mocks/work-page/work1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const work1: Work = {
embedding: [2345, 2345],
embedding_model:
"huggingface/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2-stack-p-indexing-embedding",
embedding_text_length: "0",
file_sets: [
{
accession_number: "BFMF_B06_F12_006_022n_am_donut_01",
Expand Down
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@next/bundle-analyzer": "^14.0.3",
"@next/font": "^14.0.3",
"@next/third-parties": "^14.2.3",
"@nulib/dcapi-types": "^2.3.1",
"@nulib/dcapi-types": "^2.5.0",
"@nulib/design-system": "^1.6.2",
"@nulib/use-markdown": "^0.2.1",
"@radix-ui/colors": "^3.0.0",
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/works/canary-work.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const canaryWork: WorkExtended = {
],
embedding: [123, 1234],
embedding_model: "embed model here",
embedding_text_length: "0",
file_sets: [
{
accession_number: "TEST_canary_002_001",
Expand Down

0 comments on commit dbc362e

Please sign in to comment.