Skip to content

Commit

Permalink
Merge pull request #202 from nulib/4673-update-types
Browse files Browse the repository at this point in the history
Updates for the DC API Types package
  • Loading branch information
mbklein committed Apr 29, 2024
2 parents 8c0c583 + 73d4e57 commit 7aaeb87
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/production-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
path: "${{ env.TMP_SRCDIR }}"
- uses: actions/setup-node@v3
with:
cache-dependency-path: "${{ env.TMP_SRCDIR }}/package-lock.json"
cache-dependency-path: "${{ env.TMP_SRCDIR }}/node/package-lock.json"
node-version: 16.x
cache: "npm"
- name: Set short git commit SHA
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
path: "${{ env.TMP_SRCDIR }}"
- uses: actions/setup-node@v3
with:
cache-dependency-path: "${{ env.TMP_SRCDIR }}/package-lock.json"
cache-dependency-path: "${{ env.TMP_SRCDIR }}/node/package-lock.json"
node-version: 16.x
cache: "npm"
- name: get-npm-version
Expand Down
10 changes: 10 additions & 0 deletions docs/docs/spec/data-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,14 @@ components:
description: An account of the resource.
items:
type: string
embedding:
type: array
description: Vector representation of the resource's location in the repository's semantic space.
items:
type: number
embedding_model:
type: string
description: The name of the inference model used to generate the `embedding` from the resource's content.
file_sets:
type: array
description: File sets associated with the resource.
Expand Down Expand Up @@ -749,6 +757,8 @@ components:
- cultural_context
- date_created
- description
- embedding
- embedding_model
- file_sets
- folder_name
- folder_number
Expand Down

0 comments on commit 7aaeb87

Please sign in to comment.