examples/encrypted-chat: update modeldb index syntax #295
Annotations
9 errors and 1 warning
build:
examples/encrypted-chat/src/App.tsx#L26
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>>'.
|
build:
examples/encrypted-chat/src/App.tsx#L29
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'.
|
build:
examples/encrypted-chat/src/App.tsx#L111
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'.
|
build:
examples/encrypted-chat/src/App.tsx#L112
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'.
|
build:
examples/encrypted-chat/src/App.tsx#L207
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'.
|
build:
examples/encrypted-chat/src/App.tsx#L211
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'.
|
build:
examples/encrypted-chat/src/contract.ts#L19
Type '[string]' is not assignable to type 'string'.
|
build:
examples/encrypted-chat/src/contract.ts#L52
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'.
|
build
Process completed with exit code 2.
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|