@d4l/collect-lib 1.7.0 → 1.7.1

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/README.md CHANGED
@@ -197,7 +197,7 @@ Update the types by running `yarn run readme:update`.
197
197
  | description | true | {language: string} | Display description of the program. |
198
198
  | contact | true | {language: string} | Contact information to display for the user. |
199
199
  | image | false | string | Image of the program |
200
- | institute | false | object | requires `name` |
200
+ | institute | false | object | requires `name` if `image` is set |
201
201
  | privacyPolicy | false | object | requires `text` |
202
202
  | participationInformation | false | object | requires `text` |
203
203
  | eligibility | false | object | requires `title`, `description`, `include` and `exclude` |
package/dist/index.d.mts CHANGED
@@ -250,8 +250,8 @@ type ProgramContent = {
250
250
  description: TranslatedString;
251
251
  contact: TranslatedString;
252
252
  image?: string;
253
- institute: {
254
- name: TranslatedString;
253
+ institute?: {
254
+ name?: TranslatedString;
255
255
  image?: string;
256
256
  };
257
257
  privacyPolicy?: {
package/dist/index.d.ts CHANGED
@@ -250,8 +250,8 @@ type ProgramContent = {
250
250
  description: TranslatedString;
251
251
  contact: TranslatedString;
252
252
  image?: string;
253
- institute: {
254
- name: TranslatedString;
253
+ institute?: {
254
+ name?: TranslatedString;
255
255
  image?: string;
256
256
  };
257
257
  privacyPolicy?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d4l/collect-lib",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",