fix: update ctp/ctp schema & remove name from userstyles.yml (#1653)

This commit is contained in:
Hammy authored and GitHub committed 2025-03-13 10:45:23 +00:00
1 parent 5aa468acc8
commit a5bd6cb5e6
6 files changed
+6 -67

No files matched your search

-17
View File
@@ -87,12 +87,10 @@ export type FAQ = [
{
question: Question;
answer: Answer;
[k: string]: unknown;
},
...{
question: Question;
answer: Answer;
[k: string]: unknown;
}[]
];
/**
@@ -103,10 +101,6 @@ export type Question = string;
* An answer to the question about the userstyle.
*/
export type Answer = string;
/**
* The display name of the collaborator to show in the userstyle README.
*/
export type DisplayName = string;
/**
* The GitHub profile link of the collaborator to show in the userstyle README.
*/
@@ -115,9 +109,7 @@ export type GitHubProfile = string;
* List of all active maintainers for this userstyle.
*/
export type CurrentMaintainers = {
name?: DisplayName;
url: GitHubProfile;
[k: string]: unknown;
}[];
/**
* List of all users that have maintained this userstyle in the past.
@@ -126,14 +118,10 @@ export type CurrentMaintainers = {
*/
export type PastMaintainers = [
{
name?: DisplayName;
url: GitHubProfile;
[k: string]: unknown;
},
...{
name?: DisplayName;
url: GitHubProfile;
[k: string]: unknown;
}[]
];
/**
@@ -143,14 +131,10 @@ export type PastMaintainers = [
*/
export type AllCollaborators = [
{
name?: DisplayName;
url: GitHubProfile;
[k: string]: unknown;
},
...{
name?: DisplayName;
url: GitHubProfile;
[k: string]: unknown;
}[]
];
@@ -186,5 +170,4 @@ export interface README {
"app-link": ApplicationLink;
note?: Note;
faq?: FAQ;
[k: string]: unknown;
}