mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +00:00
fix(ci): the second round of gates after the places changes
- index.css stays at its size: the map canvas colour moves to its own stylesheet. - The rating badge on map markers takes its amber and white from a class in ratingBadge.css instead of inline literals; the theme entry drops with it. - Strict mode: the identity a link joins is resolved without a widened union, the description of an entry's origins is string or undefined, and the map search rows are typed. - knip: PLACE_NAME_ATTR is module private, the linked-by enum names the values the service writes, and the unlink contract is its own described schema rather than a second name for the use schema. - The duplicates hook test reads toasts through a module mock instead of the window hook; react-hooks/refs is lowered to the count the run measured. - Tests follow the rename to Places and the list icon on an edit.
This commit is contained in:
@@ -47,7 +47,9 @@ export const placesLibraryLinkRequestSchema = z
|
||||
export type PlacesLibraryLinkRequest = z.infer<typeof placesLibraryLinkRequestSchema>;
|
||||
|
||||
/** Take one use out of the user's own place again. */
|
||||
export const placesLibraryUnlinkRequestSchema = placesLibraryUseSchema;
|
||||
export const placesLibraryUnlinkRequestSchema = placesLibraryUseSchema.describe(
|
||||
'The trip place or saved place to take out of the own place it belongs to',
|
||||
);
|
||||
export type PlacesLibraryUnlinkRequest = PlacesLibraryUse;
|
||||
|
||||
/** The entry a use belongs to after the change, null when it is out of reach by now. */
|
||||
|
||||
Reference in New Issue
Block a user