{"version":3,"file":"request-reload-structure-for-entity.event-Co36KM2L.js","sources":["../../../src/packages/core/entity-action/entity-action.event.ts","../../../src/packages/core/entity-action/request-reload-structure-for-entity.event.ts"],"sourcesContent":["import { UmbControllerEvent } from '@umbraco-cms/backoffice/controller-api';\nimport type { UmbEntityModel } from '@umbraco-cms/backoffice/entity';\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface UmbEntityActionEventArgs extends UmbEntityModel {}\n\nexport class UmbEntityActionEvent extends UmbControllerEvent {\n\t#args: UmbEntityActionEventArgs;\n\n\tpublic constructor(type: string, args: UmbEntityActionEventArgs) {\n\t\tsuper(type);\n\t\tthis.#args = args;\n\t}\n\n\tgetEntityType(): string {\n\t\treturn this.#args.entityType;\n\t}\n\n\tgetUnique(): string | null {\n\t\treturn this.#args.unique;\n\t}\n}\n","import type { UmbEntityActionEventArgs } from './entity-action.event.js';\nimport { UmbEntityActionEvent } from './entity-action.event.js';\n\nexport class UmbRequestReloadStructureForEntityEvent extends UmbEntityActionEvent {\n\tstatic readonly TYPE = 'request-reload-structure-for-entity';\n\n\tconstructor(args: UmbEntityActionEventArgs) {\n\t\tsuper(UmbRequestReloadStructureForEntityEvent.TYPE, args);\n\t}\n}\n"],"names":["UmbEntityActionEvent","UmbControllerEvent","#args","type","args","UmbRequestReloadStructureForEntityEvent"],"mappings":";AAMO,MAAMA,UAA6BC,EAAmB;AAAA,EAC5DC;AAAA,EAEO,YAAYC,GAAcC,GAAgC;AAChE,UAAMD,CAAI,GACV,KAAKD,KAAQE;AAAA,EACd;AAAA,EAEA,gBAAwB;AACvB,WAAO,KAAKF,GAAM;AAAA,EACnB;AAAA,EAEA,YAA2B;AAC1B,WAAO,KAAKA,GAAM;AAAA,EACnB;AACD;AClBO,MAAMG,UAAgDL,EAAqB;AAAA,EACjF,OAAA;AAAA,SAAgB,OAAO;AAAA,EAAA;AAAA,EAEvB,YAAYI,GAAgC;AACrC,UAAAC,EAAwC,MAAMD,CAAI;AAAA,EACzD;AACD;"}