Migrate /privacy to new architecture (#4202)

This commit is contained in:
Abhi
2025-07-15 01:45:06 -04:00
committed by GitHub
parent 886faa2990
commit e584241141
6 changed files with 71 additions and 11 deletions

View File

@@ -0,0 +1,16 @@
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { OpenDialogActionReturn, SlashCommand } from './types.js';
export const privacyCommand: SlashCommand = {
name: 'privacy',
description: 'display the privacy notice',
action: (): OpenDialogActionReturn => ({
type: 'dialog',
dialog: 'privacy',
}),
};