wip
This commit is contained in:
		
							parent
							
								
									3deaf92dda
								
							
						
					
					
						commit
						bc8250b53f
					
				|  | @ -73,6 +73,7 @@ export const paramDef = { | |||
| 		excludeBots: { type: 'boolean' }, | ||||
| 		withReplies: { type: 'boolean' }, | ||||
| 		withFile: { type: 'boolean' }, | ||||
| 		hideNotesInSensitiveChannel: { type: 'boolean' }, | ||||
| 	}, | ||||
| 	required: ['name', 'src', 'keywords', 'excludeKeywords', 'users', 'caseSensitive', 'withReplies', 'withFile'], | ||||
| } as const; | ||||
|  | @ -133,6 +134,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint- | |||
| 				excludeBots: ps.excludeBots, | ||||
| 				withReplies: ps.withReplies, | ||||
| 				withFile: ps.withFile, | ||||
| 				hideNotesInSensitiveChannel: ps.hideNotesInSensitiveChannel, | ||||
| 			}); | ||||
| 
 | ||||
| 			this.globalEventService.publishInternalEvent('antennaCreated', antenna); | ||||
|  |  | |||
|  | @ -39,6 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 			<MkSwitch v-model="localOnly">{{ i18n.ts.localOnly }}</MkSwitch> | ||||
| 			<MkSwitch v-model="caseSensitive">{{ i18n.ts.caseSensitive }}</MkSwitch> | ||||
| 			<MkSwitch v-model="withFile">{{ i18n.ts.withFileAntenna }}</MkSwitch> | ||||
| 			<MkSwitch v-model="withFile">{{ i18n.ts.withFileAntenna }}</MkSwitch> | ||||
| 		</div> | ||||
| 		<div :class="$style.actions"> | ||||
| 			<div class="_buttons"> | ||||
|  | @ -86,6 +87,7 @@ const initialAntenna = deepMerge<PartialAllowedAntenna>(props.antenna ?? {}, { | |||
| 	caseSensitive: false, | ||||
| 	localOnly: false, | ||||
| 	withFile: false, | ||||
| 	hideNotesInSensitiveChannel: false, | ||||
| 	isActive: true, | ||||
| 	hasUnreadNote: false, | ||||
| 	notify: false, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue