@iblai/data-layer 1.25.1 → 1.26.0

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/dist/index.d.ts CHANGED
@@ -35678,16 +35678,25 @@ interface PlatformMembershipConfigResponse {
35678
35678
  platform_key: string;
35679
35679
  platform_name: string;
35680
35680
  allow_self_linking: boolean;
35681
+ /** When true, the tenant opts into SEO discoverability (crawlable public
35682
+ * course/program/pathway pages + inclusion in the sitemap). */
35683
+ allow_seo_discoverability?: boolean;
35681
35684
  created: string;
35682
35685
  modified: string;
35683
35686
  }
35684
35687
  interface PlatformMembershipConfigPostRequest {
35685
35688
  platform_key: string;
35686
- allow_self_linking: boolean;
35689
+ /** Optional so a single flag can be toggled without resetting the others
35690
+ * (the endpoint merges). */
35691
+ allow_self_linking?: boolean;
35692
+ allow_seo_discoverability?: boolean;
35687
35693
  }
35688
35694
  interface PublicPlatformMembershipConfigResponse {
35689
35695
  platform_key: string;
35690
35696
  allow_self_linking: boolean;
35697
+ /** Exposed publicly (no auth) so apps and the sitemap can tell which tenants
35698
+ * opted into SEO discoverability. */
35699
+ allow_seo_discoverability?: boolean;
35691
35700
  }
35692
35701
  interface PlatformImageAsset {
35693
35702
  id: number;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/data-layer",
3
- "version": "1.25.0",
3
+ "version": "1.25.1",
4
4
  "description": "ibl.ai data layer",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
@@ -7,16 +7,25 @@ export interface PlatformMembershipConfigResponse {
7
7
  platform_key: string;
8
8
  platform_name: string;
9
9
  allow_self_linking: boolean;
10
+ /** When true, the tenant opts into SEO discoverability (crawlable public
11
+ * course/program/pathway pages + inclusion in the sitemap). */
12
+ allow_seo_discoverability?: boolean;
10
13
  created: string;
11
14
  modified: string;
12
15
  }
13
16
  export interface PlatformMembershipConfigPostRequest {
14
17
  platform_key: string;
15
- allow_self_linking: boolean;
18
+ /** Optional so a single flag can be toggled without resetting the others
19
+ * (the endpoint merges). */
20
+ allow_self_linking?: boolean;
21
+ allow_seo_discoverability?: boolean;
16
22
  }
17
23
  export interface PublicPlatformMembershipConfigResponse {
18
24
  platform_key: string;
19
25
  allow_self_linking: boolean;
26
+ /** Exposed publicly (no auth) so apps and the sitemap can tell which tenants
27
+ * opted into SEO discoverability. */
28
+ allow_seo_discoverability?: boolean;
20
29
  }
21
30
  export interface PlatformImageAsset {
22
31
  id: number;