Taskora API Reference / index / CompatResult
Type Alias: CompatResult
CompatResult = {
ok:true; } | {code:"theirs_too_new"|"theirs_too_old"|"invalid_meta";message:string;ok:false; }
Defined in: packages/taskora/dist/index.d.mts:260
Result of comparing our compiled meta against the meta persisted in the backend.
Union Members
Type Literal
{ ok: true; }
Type Literal
{ code: "theirs_too_new" | "theirs_too_old" | "invalid_meta"; message: string; ok: false; }
| Name | Type | Description | Defined in |
|---|---|---|---|
code | "theirs_too_new" | "theirs_too_old" | "invalid_meta" | Short machine-readable reason code. | packages/taskora/dist/index.d.mts:265 |
message | string | Human-readable explanation safe to include in an error. | packages/taskora/dist/index.d.mts:267 |
ok | false | - | packages/taskora/dist/index.d.mts:263 |