Fix interop workflow TypeScript build prerequisites
This commit is contained in:
parent
e06e3f5b3a
commit
fa2f20977e
2 changed files with 4 additions and 0 deletions
3
.github/workflows/cultnet-interop.yml
vendored
3
.github/workflows/cultnet-interop.yml
vendored
|
|
@ -71,6 +71,9 @@ jobs:
|
|||
- name: Install Node dependencies
|
||||
run: npm install --no-package-lock
|
||||
|
||||
- name: Build TypeScript workspace dependencies
|
||||
run: npm run build --workspace packages/cultcache-ts
|
||||
|
||||
- name: Build Kotlin interop peer
|
||||
shell: pwsh
|
||||
run: .\packages\cultmesh-kotlin\build.ps1
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ export interface JsonSchemaContract<TValue> extends CultCacheSchema<TValue> {
|
|||
readonly schemaId: string;
|
||||
readonly schema: object;
|
||||
readonly validate: (input: unknown) => input is TValue;
|
||||
readonly parse: (input: unknown) => TValue;
|
||||
}
|
||||
|
||||
export interface JsonSchemaContractDefinition {
|
||||
|
|
|
|||
Loading…
Reference in a new issue