gdc-common-utils-ts 2.3.19 → 2.3.20

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.
@@ -1,12 +1,22 @@
1
+ /**
2
+ * @deprecated Animal-card vocabulary is owned by the consuming product SDK.
3
+ * Retained only so consumers of 2.3.x can migrate without a breaking removal.
4
+ */
1
5
  export declare const AnimalSubjectKinds: Readonly<{
2
6
  readonly Animal: "animal";
3
7
  }>;
8
+ /**
9
+ * @deprecated Use the species registry from the consuming product SDK.
10
+ * NCBI Taxonomy identifiers are external identifiers and are not a GDC model.
11
+ */
4
12
  export declare const NcbiTaxonomy: Readonly<{
5
13
  readonly Dog: "9615";
6
14
  readonly Cat: "9685";
7
15
  readonly Horse: "9796";
8
16
  }>;
17
+ /** @deprecated Import the taxonomy identifier type from the product SDK. */
9
18
  export type NcbiTaxonomyId = string;
19
+ /** @deprecated Import the animal onboarding input from the product SDK. */
10
20
  export type AnimalOnboardingInput = Readonly<{
11
21
  subjectId: string;
12
22
  cardDidWeb: string;
@@ -20,8 +30,11 @@ export type AnimalOnboardingInput = Readonly<{
20
30
  controllerTelephone?: string;
21
31
  sector?: string;
22
32
  }>;
33
+ /** @deprecated Import the animal onboarding claims type from the product SDK. */
23
34
  export type AnimalOnboardingClaims = Readonly<Record<string, string>>;
24
35
  /**
36
+ * @deprecated Use the taxonomy URI builder from the product SDK.
37
+ *
25
38
  * Builds the canonical OBO URI for one NCBI Taxonomy numeric identifier.
26
39
  *
27
40
  * The URI is public taxonomy metadata, not an animal identifier. Callers must
@@ -30,6 +43,9 @@ export type AnimalOnboardingClaims = Readonly<Record<string, string>>;
30
43
  */
31
44
  export declare function buildNcbiTaxonomyUri(id: NcbiTaxonomyId): string;
32
45
  /**
46
+ * @deprecated Use the animal onboarding builder from the product SDK. This
47
+ * compatibility implementation will be removed in the next major release.
48
+ *
33
49
  * Projects one controller-authorized animal card request to the existing
34
50
  * schema.org individual-organization claim envelope.
35
51
  *
@@ -1,14 +1,24 @@
1
1
  import { ClaimsOrganizationSchemaorg, ClaimsServiceSchemaorg } from '../constants/schemaorg.js';
2
2
  import { DataspaceSectors } from '../constants/sectors.js';
3
+ /**
4
+ * @deprecated Animal-card vocabulary is owned by the consuming product SDK.
5
+ * Retained only so consumers of 2.3.x can migrate without a breaking removal.
6
+ */
3
7
  export const AnimalSubjectKinds = Object.freeze({
4
8
  Animal: 'animal',
5
9
  });
10
+ /**
11
+ * @deprecated Use the species registry from the consuming product SDK.
12
+ * NCBI Taxonomy identifiers are external identifiers and are not a GDC model.
13
+ */
6
14
  export const NcbiTaxonomy = Object.freeze({
7
15
  Dog: '9615',
8
16
  Cat: '9685',
9
17
  Horse: '9796',
10
18
  });
11
19
  /**
20
+ * @deprecated Use the taxonomy URI builder from the product SDK.
21
+ *
12
22
  * Builds the canonical OBO URI for one NCBI Taxonomy numeric identifier.
13
23
  *
14
24
  * The URI is public taxonomy metadata, not an animal identifier. Callers must
@@ -26,6 +36,9 @@ export function buildNcbiTaxonomyUri(id) {
26
36
  return `http://purl.obolibrary.org/obo/NCBITaxon_${normalized}`;
27
37
  }
28
38
  /**
39
+ * @deprecated Use the animal onboarding builder from the product SDK. This
40
+ * compatibility implementation will be removed in the next major release.
41
+ *
29
42
  * Projects one controller-authorized animal card request to the existing
30
43
  * schema.org individual-organization claim envelope.
31
44
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdc-common-utils-ts",
3
- "version": "2.3.19",
3
+ "version": "2.3.20",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },