···15export interface InputSchema {
16 /** Unique identifier of the gallery to delete */
17 uri: string;
0018}
1920export interface OutputSchema {
···15export interface InputSchema {
16 /** Unique identifier of the gallery to delete */
17 uri: string;
18+ /** If true, will also delete any associated items in the gallery. */
19+ cascade: boolean;
20}
2122export interface OutputSchema {
···15export interface InputSchema {
16 /** AT URI of the photo to delete. */
17 uri: string;
0018}
1920export interface OutputSchema {
···15export interface InputSchema {
16 /** AT URI of the photo to delete. */
17 uri: string;
18+ /** If true, will also delete any associated EXIF data and gallery items. */
19+ cascade: boolean;
20}
2122export interface OutputSchema {
+5
lexicons/social/grain/gallery/deleteGallery.json
···15 "type": "string",
16 "format": "at-uri",
17 "description": "Unique identifier of the gallery to delete"
0000018 }
19 }
20 }
···15 "type": "string",
16 "format": "at-uri",
17 "description": "Unique identifier of the gallery to delete"
18+ },
19+ "cascade": {
20+ "type": "boolean",
21+ "default": true,
22+ "description": "If true, will also delete any associated items in the gallery."
23 }
24 }
25 }
+5
lexicons/social/grain/photo/deletePhoto.json
···15 "type": "string",
16 "format": "at-uri",
17 "description": "AT URI of the photo to delete."
0000018 }
19 }
20 }
···15 "type": "string",
16 "format": "at-uri",
17 "description": "AT URI of the photo to delete."
18+ },
19+ "cascade": {
20+ "type": "boolean",
21+ "default": true,
22+ "description": "If true, will also delete any associated EXIF data and gallery items."
23 }
24 }
25 }
···01import { Record as Gallery } from "$lexicon/types/social/grain/gallery.ts";
2import { GalleryView } from "$lexicon/types/social/grain/gallery/defs.ts";
3import { Record as GalleryItem } from "$lexicon/types/social/grain/gallery/item.ts";
···351352 return true;
353}
000000000000000000000000000000000000000000000000000000000000000000000