Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add funding links to package data, READMEs, and playground #116

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 35 additions & 35 deletions packages/tm-grammars/README.md

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions packages/tm-grammars/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ export type GrammarCategory =
| 'config'
| 'lisp'

/** https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository */
export interface FundingInfo {
community_bridge?: string
github?: string | string[]
issuehunt?: string
ko_fi?: string
liberapay?: string
open_collective?: string
patreon?: string
tidelift?: string
polar?: string
buy_me_a_coffee?: string
thanks_dev?: string
custom?: string | string[]
}

export interface GrammarInfo {
name: string
displayName: string
Expand All @@ -18,6 +34,7 @@ export interface GrammarInfo {
aliases?: string[]
licenseUrl?: string
license?: string
funding?: FundingInfo
sha: string
lastUpdate: string
embedded?: string[]
Expand Down
Loading
Loading