Skip to content

examples/encrypted-chat: update modeldb index syntax #4150

examples/encrypted-chat: update modeldb index syntax

examples/encrypted-chat: update modeldb index syntax #4150

Triggered via push January 15, 2025 17:41
Status Failure
Total duration 2m 8s
Artifacts

ci.yml

on: push
Lint
1m 24s
Lint
Unit Tests
1m 58s
Unit Tests
Missing dependencies between subpackages (pnpm)
1m 8s
Missing dependencies between subpackages (pnpm)
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 3 warnings
Missing dependencies between subpackages (pnpm): examples/encrypted-chat/src/App.tsx#L1
Type '{ models: { encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }; actions: { ...; }; }' is not assignable to type 'string | Contract<ModelSchema, Actions<ModelSchema>>'.
Missing dependencies between subpackages (pnpm): examples/encrypted-chat/src/App.tsx#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Missing dependencies between subpackages (pnpm): examples/encrypted-chat/src/App.tsx#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Missing dependencies between subpackages (pnpm): examples/encrypted-chat/src/App.tsx#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Missing dependencies between subpackages (pnpm): examples/encrypted-chat/src/App.tsx#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Missing dependencies between subpackages (pnpm): examples/encrypted-chat/src/App.tsx#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Missing dependencies between subpackages (pnpm): examples/encrypted-chat/src/contract.ts#L1
Type '[string]' is not assignable to type 'string'.
Missing dependencies between subpackages (pnpm): examples/encrypted-chat/src/contract.ts#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Missing dependencies between subpackages (pnpm)
Process completed with exit code 2.
Unit Tests: examples/encrypted-chat/src/App.tsx#L1
Type '{ models: { encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }; actions: { ...; }; }' is not assignable to type 'string | Contract<ModelSchema, Actions<ModelSchema>>'.
Unit Tests: examples/encrypted-chat/src/App.tsx#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Unit Tests: examples/encrypted-chat/src/App.tsx#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Unit Tests: examples/encrypted-chat/src/App.tsx#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Unit Tests: examples/encrypted-chat/src/App.tsx#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Unit Tests: examples/encrypted-chat/src/App.tsx#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Unit Tests: examples/encrypted-chat/src/contract.ts#L1
Type '[string]' is not assignable to type 'string'.
Unit Tests: examples/encrypted-chat/src/contract.ts#L1
Type '{ encryptionKeys: { address: "primary"; key: "string"; }; encryptionGroups: { id: "primary"; groupKeys: "string"; key: "string"; }; privateMessages: { id: "primary"; ciphertext: "string"; group: "string"; timestamp: "integer"; $indexes: string[][]; }; }' does not satisfy the constraint 'ModelSchema'.
Unit Tests
Process completed with exit code 2.
Missing dependencies between subpackages (pnpm)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636