Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarn commit message lint
yarn commit message lint
2 changes: 1 addition & 1 deletion .config/husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarn commit staged
yarn commit staged
2 changes: 1 addition & 1 deletion .config/husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarn commit message $@
yarn commit message $@
8,343 changes: 3,526 additions & 4,817 deletions .pnp.cjs

Large diffs are not rendered by default.

79 changes: 46 additions & 33 deletions .pnp.loader.mjs

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

1,761 changes: 0 additions & 1,761 deletions .yarn/releases/yarn.cjs

This file was deleted.

4,130 changes: 4,130 additions & 0 deletions .yarn/releases/yarn.mjs

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
approvedGitRepositories:
- '**'

compressionLevel: mixed

defaultSemverRangePrefix: ''

enableGlobalCache: true

enableScripts: true

globalFolder: ../.yarn/berry

nodeLinker: pnp

npmRegistryServer: 'https://registry.npmjs.org'

npmScopes:
atls:
npmRegistryServer: 'https://registry.npmjs.org'

pnpEnableEsmLoader: true

preferReuse: true

yarnPath: .yarn/releases/yarn.cjs
yarnPath: .yarn/releases/yarn.mjs
17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"license": "BSD 3-Clause",
"type": "module",
"workspaces": [
"packages/**/*"
"packages/**/*",
"!packages/**/proto"
],
"devDependencies": {
"@atls/code-runtime": "1.1.0",
"@types/node": "^17.0.12",
"typescript": "5.4.2"
"@atls/raijin": "0.5.2",
"@types/node": "22.5.5",
"typescript": "5.5.4"
},
"dependenciesMeta": {
"@grpc/grpc-js@1.5.5": {
Expand All @@ -19,6 +20,12 @@
"unplugged": true
}
},
"packageManager": "yarn@4.0.0",
"packageManager": "yarn@4.14.1",
"formatterIgnorePatterns": [
"**/*/CHANGELOG.md"
],
"linterIgnorePatterns": [
"**/*/proto/**/*.js"
],
"typecheckSkipLibCheck": true
}
3 changes: 3 additions & 0 deletions packages/grpc-error-status/proto/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "commonjs"
}
Comment thread
TorinAsakura marked this conversation as resolved.
15 changes: 15 additions & 0 deletions packages/grpc-error-status/src/error-status.interfaces.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { Message } from 'google-protobuf'

import type { Code } from './proto.js'

export type ErrorStatusObject = {
status: keyof typeof Code | 'UNKNOWN'
code: number
message: string
details: Array<unknown>
}

export type ErrorStatusStoredDetail<T extends Message> = {
'@type': string
detail: T
}
Loading
Loading