@cueloop/schema 0.1.0-alpha.63 → 0.1.0-alpha.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cueloop/schema",
3
- "version": "0.1.0-alpha.63",
3
+ "version": "0.1.0-alpha.64",
4
4
  "description": "The ReviewSession primitive: types, markdown block model, quote-primary anchors, feedback serialization",
5
5
  "homepage": "https://github.com/mmurakaru/cueloop#readme",
6
6
  "bugs": {
package/src/types.ts CHANGED
@@ -28,7 +28,7 @@ export type ArtifactType = (typeof ARTIFACT_TYPES)[number];
28
28
 
29
29
  /** Trust-boundary guard: is this string one of the artifact primitives? */
30
30
  export function isArtifactType(value: string): value is ArtifactType {
31
- return (ARTIFACT_TYPES as readonly string[]).includes(value);
31
+ return ARTIFACT_TYPES.some((candidate) => candidate === value);
32
32
  }
33
33
 
34
34
  /**