openai/chatkit-python

Public

mirrored fromhttps://github.com/openai/chatkit-pythonAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
778828a4fbce2d0e3232582de073e9a10275ad4c

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

chatkit/icons.py

78lines · modecode

1from typing import Annotated, Literal
2
3from pydantic import StringConstraints
4
5VendorIconName = Annotated[str, StringConstraints(pattern=r"^vendor:")]
6LucideIconName = Annotated[str, StringConstraints(pattern=r"^lucide:")]
7
8IconName = (
9 Literal[
10 "agent",
11 "analytics",
12 "atom",
13 "batch",
14 "bolt",
15 "book-open",
16 "book-closed",
17 "book-clock",
18 "bug",
19 "calendar",
20 "chart",
21 "check",
22 "check-circle",
23 "check-circle-filled",
24 "chevron-left",
25 "chevron-right",
26 "circle-question",
27 "clock",
28 "compass",
29 "confetti",
30 "cube",
31 "desktop",
32 "document",
33 "dot",
34 "dots-horizontal",
35 "dots-vertical",
36 "empty-circle",
37 "external-link",
38 "globe",
39 "keys",
40 "lab",
41 "images",
42 "info",
43 "lifesaver",
44 "lightbulb",
45 "mail",
46 "map-pin",
47 "maps",
48 "mobile",
49 "name",
50 "notebook",
51 "notebook-pencil",
52 "page-blank",
53 "phone",
54 "play",
55 "plus",
56 "profile",
57 "profile-card",
58 "reload",
59 "star",
60 "star-filled",
61 "search",
62 "sparkle",
63 "sparkle-double",
64 "square-code",
65 "square-image",
66 "square-text",
67 "suitcase",
68 "settings-slider",
69 "user",
70 "wreath",
71 "write",
72 "write-alt",
73 "write-alt2",
74 ]
75 | VendorIconName
76 | LucideIconName
77)
78"""Allowed icon names."""
79