Skip to content

Commit

Permalink
Migrate to NodeJS compatible calls
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwf committed Dec 17, 2024
1 parent 19f44fe commit 3a722f9
Show file tree
Hide file tree
Showing 46 changed files with 1,645 additions and 36,531 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ delft
build/hss.js
build/client.d.ts
build/client.js
./build
build/**
typesense-data
27 changes: 14 additions & 13 deletions .iiifrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ run:
- extract-slug-source
- extract-label-string
- extract-thumbnail
- extract-part-of-collection
# This is really slow.
# - extract-part-of-collection
- manifest-sqlite
- metadata-analysis
- folder-collections
Expand All @@ -19,13 +20,13 @@ generators:
type: nasa-generator
config:
label: STS Shuttles
query: 'sts orbit'
query: "sts orbit"
maxResults: 50
curiosity:
type: nasa-generator
config:
label: Curiosity
query: 'curiosity rover'
query: "curiosity rover"
maxResults: 10

stores:
Expand All @@ -37,27 +38,27 @@ stores:
- content/objects/**/*
- content/manifests/*
- content/topics/**/*
pattern: '**/*.json'
pattern: "**/*.json"
destination: manifests
base: ./content

delft:
type: iiif-json
path: ./delft
pattern: '**/*.{json,yml}'
pattern: "**/*.{json,yml}"
run:
- delft-labels
- extract-thumbnail
- manifest-sqlite
- extract-topics
config:
extract-topics:
commaSeparated: ['material']
commaSeparated: ["material"]
topicTypes:
material: ['Materiaal', 'Material']
date: ['Date', 'Datering']
Maker: ['Maker']
Publisher: ['Publisher']
material: ["Materiaal", "Material"]
date: ["Date", "Datering"]
Maker: ["Maker"]
Publisher: ["Publisher"]

bridges:
type: iiif-remote
Expand Down Expand Up @@ -97,8 +98,8 @@ stores:
config:
extract-topics:
topicTypes:
technique: ['Type/technique']
subjects: ['Subjects']
technique: ["Type/technique"]
subjects: ["Subjects"]

wellcomeBookVolume:
type: iiif-remote
Expand Down Expand Up @@ -140,7 +141,7 @@ slugs:
addedPrefix: nls-
examples:
- https://view.nls.uk/manifest/7446/74464117/manifest.json
pathSeparator: '-'
pathSeparator: "-"

nls-collections:
type: Collection
Expand Down
Loading

0 comments on commit 3a722f9

Please sign in to comment.