@glossarist/concept-browser 0.7.48 → 0.7.50

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glossarist/concept-browser",
3
- "version": "0.7.48",
3
+ "version": "0.7.50",
4
4
  "description": "Vue SPA for browsing Glossarist terminology datasets with cross-reference resolution, graph visualization, and multi-language support",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,8 +28,6 @@ export type {
28
28
  NonVerbalReference,
29
29
  } from './types';
30
30
 
31
- export { isFigure, isTable, isFormula } from './types';
32
-
33
31
  export { figureFromJsonLd } from './figure-bridge';
34
32
  export { tableFromJsonLd } from './table-bridge';
35
33
  export { formulaFromJsonLd } from './formula-bridge';
@@ -104,10 +104,10 @@ export type NonVerbalEntity = Figure | Table | Formula;
104
104
  *
105
105
  * glossarist-js's runtime `NonVerbRep` (post-V3 reshape) holds the same
106
106
  * localized fields as `NonVerbalEntityBase` plus a `type` discriminator
107
- * and an `images[]` array. The published `.d.ts` still describes the
108
- * pre-V3 `ref`/`text` shape; this local interface lets consumer code
109
- * type-check against reality. Remove when upstream ships a corrected
110
- * `.d.ts` (TODO.figures/19).
107
+ * and an `images[]` array. The published `.d.ts` (still stale at v0.4.2)
108
+ * describes the pre-V3 `ref`/`text` shape; this local interface lets
109
+ * consumer code type-check against reality. Drop when upstream ships a
110
+ * corrected `.d.ts`.
111
111
  */
112
112
  export interface NonVerbRepV3 extends NonVerbalEntityBase {
113
113
  type: string | null;
@@ -119,15 +119,3 @@ export interface NonVerbalReference {
119
119
  entityId: string;
120
120
  display?: string;
121
121
  }
122
-
123
- export function isFigure(entity: NonVerbalEntity): entity is Figure {
124
- return entity.kind === 'figure';
125
- }
126
-
127
- export function isTable(entity: NonVerbalEntity): entity is Table {
128
- return entity.kind === 'table';
129
- }
130
-
131
- export function isFormula(entity: NonVerbalEntity): entity is Formula {
132
- return entity.kind === 'formula';
133
- }