# GitLab !35: Add type definition for calendar settings array Original: `nessar/vac-optimizer`; GitLab MergeRequest ID 91. Target: [#113](https://gitea.nessar.fr/nessar/vac-optimizer/pulls/113). Author: admin-backup (GitLab user 3). Created: 2025-11-03T23:44:55.000Z. Last source update: 2025-11-03T23:50:35.000Z. Source state: merged; discussion locked: False. This linked record preserves source attribution, timestamps, discussion grouping, review positions and historical diffs. Current Gitea activity is separate from the original source dates. Old CI jobs and their reports are omitted by owner decision. Source requested reviewers: admin-backup (GitLab user 3). ## Historical approvals - admin-backup (GitLab user 3): approved at 2025-11-03T23:50:24Z; record updated 2025-11-03T23:50:24Z; source approval ID 6. ## Discussions and activity ### Discussion 17282a387cbf4bd94ca9c24dd729d1ac4eef0b08 #### Source note 533 — admin-backup (GitLab user 3) — 2025-11-03T23:44:55Z system activity. ````text assigned to `@Copilot` ```` ### Discussion 02eec6daf0b20838d50f341b95f7eaeffc77676f #### Source note 534 — admin-backup (GitLab user 3) — 2025-11-03T23:44:55Z system activity. ````text assigned to `@THoguet` ```` ### Discussion 32fc58b8b03d3f832322234b432d1361b84a0e02 #### Source note 538 — admin-backup (GitLab user 3) — 2025-11-03T23:44:57Z system activity. ````text mentioned in merge request !30 ```` ### Discussion a67563780fd20175e411c59123b03ea1cde314f1 #### Source note 535 — admin-backup (GitLab user 3) — 2025-11-03T23:49:01Z ````text Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. > [!WARNING] > >
> Firewall rules blocked me from connecting to one or more addresses (expand for details) > > #### I tried to connect to the following addresses, but was blocked by firewall rules: > > - `fonts.googleapis.com` > - Triggering command: `ng build (vac-optimizer)` (dns block) > > If you need me to access, download, or install something from one of these locations, you can either: > > - Configure [Actions setup steps](https://gh.io/copilot/actions-setup-steps) to set up my environment, which run before the firewall is enabled > - Add the appropriate URLs or hosts to the custom allowlist in this repository's [Copilot coding agent settings](https://github.com/THoguet/vac-optimizer/settings/copilot/coding_agent) (admins only) > >
```` ### Discussion f95aab2d029fa73657861d1d4684a76d15315b2d #### Source note 536 — admin-backup (GitLab user 3) — 2025-11-03T23:49:01Z system activity. ````text changed title from **{-[WIP] Fix dynamic settings in-} calendar settings {-dialog-}** to **{+Add type definition for+} calendar settings {+array+}** ```` ### Discussion 044e5b4f0936a315af88310fd4c27aaeb8d132fb #### Source note 537 — admin-backup (GitLab user 3) — 2025-11-03T23:49:07Z system activity. ````text requested review from `@THoguet` ```` ### Discussion d07af1c60b0377549ea550ebad200a866289104b #### Source note 540 — admin-backup (GitLab user 3) — 2025-11-03T23:50:24Z system activity. ````text approved this merge request ```` ### Discussion ebeaffab82555e647b53562923e49483d5378b1b #### Source note 539 — admin-backup (GitLab user 3) — 2025-11-03T23:50:33Z ````text *Merged by: THoguet at 2025-11-03 23:50:33 UTC* ```` ## State event records - {"close_after_error_tracking_resolve": false, "close_auto_resolve_prometheus_alert": false, "created_at": "2025-11-03T23:50:33+00:00", "epic_id": null, "id": 264, "imported_from": 4, "issue_id": null, "merge_request_id": 91, "namespace_id": 38, "source_commit": null, "source_merge_request_id": null, "state": 2, "user_id": 3} - {"close_after_error_tracking_resolve": false, "close_auto_resolve_prometheus_alert": false, "created_at": "2025-11-03T23:50:33+00:00", "epic_id": null, "id": 266, "imported_from": 4, "issue_id": null, "merge_request_id": 91, "namespace_id": 38, "source_commit": "8ea3b91c59016240b0f92110d28cf1afcdfd2a4b", "source_merge_request_id": null, "state": 3, "user_id": 3} ## Historical diff versions ### Diff version 90 — 2026-05-03T15:59:52.266279Z Base `5bb69dc568c5400034b4b1cceec90814dbf20d91`; start `5bb69dc568c5400034b4b1cceec90814dbf20d91`; head `07130afad57777c1589f3d77636089c9b27f57ad`. Files: 1; stored commits: 2. #### `src/app/services/calendar-settings-service.ts` → `None` Modes 100644 → 100644; new=False, deleted=False, renamed=False, binary=False, too_large=False. ````diff @@ -1,4 +1,10 @@ -import { Injectable, signal } from '@angular/core'; +import { Injectable, signal, WritableSignal } from '@angular/core'; + +interface CalendarSetting { + signal: WritableSignal; + id: string; + description: string; +} @Injectable({ providedIn: 'root', @@ -7,7 +13,7 @@ export class CalendarSettingsService { readonly showWeekNumbers = signal(false); readonly samediMalin = signal(true); - readonly settings = [ + readonly settings: readonly CalendarSetting[] = [ { signal: this.showWeekNumbers, id: 'showWeekNumbers', ````