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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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',
}),
};