Skip to content

Commit

Permalink
fix: tree updates for new failure-typed index
Browse files Browse the repository at this point in the history
  • Loading branch information
sanoel committed Oct 10, 2024
1 parent 796d13f commit a81c871
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oada/jobs",
"version": "4.7.0",
"version": "4.7.1",
"description": "A library for oada job based microservices",
"source": "src/index.ts",
"main": "dist/index.js",
Expand Down
12 changes: 7 additions & 5 deletions src/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ export const tree = {
},
},
jobs: {
_type: 'application/vnd.oada.service.jobs.1+json',
pending: {
'_type': 'application/vnd.oada.service.jobs.1+json',
'pending': {
'_type': 'application/vnd.oada.service.jobs.1+json',
'*': {
_type: 'application/vnd.oada.service.job.1+json',
},
},
success: {
'success': {
'_type': 'application/vnd.oada.service.jobs.1+json',
'_rev': 0,
'day-index': {
Expand All @@ -56,7 +56,7 @@ export const tree = {
},
},
},
failure: {
'failure': {
'_type': 'application/vnd.oada.service.jobs.1+json',
'_rev': 0,
'day-index': {
Expand All @@ -69,6 +69,8 @@ export const tree = {
},
},
},
},
'typed-failure': {
'*': {
'_type': 'application/vnd.oada.service.jobs.1+json',
'_rev': 0,
Expand All @@ -84,7 +86,7 @@ export const tree = {
},
},
},
reports: {
'reports': {
'_type': 'application/vnd.oada.service.reports.1+json',
'*': {
'_type': 'application/vnd.oada.service.report.1+json',
Expand Down
9 changes: 5 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -639,9 +639,9 @@ __metadata:
languageName: node
linkType: hard

"@oada/pino-debug@portal:/home/sanoel/server/oada/libs/pino-debug::locator=%40oada%2Fjobs%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@oada/pino-debug@portal:/home/sanoel/server/oada/libs/pino-debug::locator=%40oada%2Fjobs%40workspace%3A."
"@oada/pino-debug@npm:^4.0.1":
version: 4.0.1
resolution: "@oada/pino-debug@npm:4.0.1"
dependencies:
cls-rtracer: "npm:^2.6.3"
is-interactive: "npm:^2.0.0"
Expand All @@ -653,8 +653,9 @@ __metadata:
tslib: "npm:2.7.0"
peerDependencies:
debug: "*"
checksum: 10/ddcc90c5f3568d03c6e6dcc4407f1a64556e7a7e1f89046793117d4a26f15ec500bb0f29d2422f0aaa3a6bcb373d2c64f6ec97d2e37ae916f39a06accc7c542a
languageName: node
linkType: soft
linkType: hard

"@oada/types@npm:^3.5.3":
version: 3.5.3
Expand Down

0 comments on commit a81c871

Please sign in to comment.