CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-slack--types

Comprehensive TypeScript type definitions for building Slack applications and integrations with the Node Slack SDK

94

1.11x
Overview
Eval results
Files

task.mdevals/scenario-1/

User Preference Selector

A utility for building an interactive user preferences form using mutually exclusive selection controls.

Capabilities

Creates preference selection interface

Build a function that creates a notification frequency selector with mutually exclusive options. The selector should have three choices: "Real-time", "Daily Digest", and "Weekly Summary".

  • Returns a selection interface with three notification frequency options: "Real-time", "Daily Digest", and "Weekly Summary" @test
  • The interface has action identifier "notification_frequency" @test
  • Each option has a text label and a unique value (e.g., "real_time", "daily", "weekly") @test

Implementation

@generates

API

/**
 * Builds a user preference selection interface with notification frequency options.
 *
 * @returns An object representing the preference selection interface
 */
export function buildPreferenceSelector(): any;

Dependencies { .dependencies }

@slack/types { .dependency }

Provides type definitions for building Slack Block Kit interfaces.

Install with Tessl CLI

npx tessl i tessl/npm-slack--types

tile.json