Skip to content

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; }

NameTypeDescriptionDefined in
code"theirs_too_new" | "theirs_too_old" | "invalid_meta"Short machine-readable reason code.packages/taskora/dist/index.d.mts:265
messagestringHuman-readable explanation safe to include in an error.packages/taskora/dist/index.d.mts:267
okfalse-packages/taskora/dist/index.d.mts:263

Released under the MIT License.