mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 12:27:17 +00:00
Add definition for projects
This commit is contained in:
81
types/index.d.ts
vendored
81
types/index.d.ts
vendored
@@ -9,32 +9,63 @@ export interface Github {
|
||||
* GitHub org/user name
|
||||
*/
|
||||
username: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* stars | updated
|
||||
*/
|
||||
sortBy?: string;
|
||||
|
||||
/**
|
||||
* How many projects to display
|
||||
*/
|
||||
limit?: number;
|
||||
|
||||
/**
|
||||
* Exclude projects option
|
||||
*/
|
||||
exclude?: {
|
||||
export interface Projects {
|
||||
github: {
|
||||
/**
|
||||
* Forked projects will not be displayed if set to true
|
||||
* Header Title
|
||||
*/
|
||||
forks?: boolean;
|
||||
header?: string;
|
||||
|
||||
/**
|
||||
* These projects will not be displayed
|
||||
*
|
||||
* example: ['my-project1', 'my-project2']
|
||||
* Display GitHub projects?
|
||||
*/
|
||||
projects?: Array<string>;
|
||||
display?: boolean;
|
||||
|
||||
/**
|
||||
* stars | updated
|
||||
*/
|
||||
sortBy?: string;
|
||||
|
||||
/**
|
||||
* How many projects to display
|
||||
*/
|
||||
limit?: number;
|
||||
|
||||
/**
|
||||
* Exclude projects option
|
||||
*/
|
||||
exclude?: {
|
||||
/**
|
||||
* Forked projects will not be displayed if set to true
|
||||
*/
|
||||
forks?: boolean;
|
||||
|
||||
/**
|
||||
* These projects will not be displayed
|
||||
*
|
||||
* example: ['my-project1', 'my-project2']
|
||||
*/
|
||||
projects?: Array<string>;
|
||||
};
|
||||
};
|
||||
|
||||
external: {
|
||||
/**
|
||||
* Header Title
|
||||
*/
|
||||
header?: string;
|
||||
|
||||
/**
|
||||
* Display external projects?
|
||||
*/
|
||||
display?: boolean;
|
||||
|
||||
/**
|
||||
* External Projects
|
||||
*/
|
||||
projects?: Array<ExternalProjects>;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -265,6 +296,11 @@ export interface Config {
|
||||
*/
|
||||
github: Github;
|
||||
|
||||
/**
|
||||
* Projects
|
||||
*/
|
||||
projects?: Projects;
|
||||
|
||||
/**
|
||||
* Social links
|
||||
*/
|
||||
@@ -285,11 +321,6 @@ export interface Config {
|
||||
*/
|
||||
experiences?: Array<Experience>;
|
||||
|
||||
/**
|
||||
* External Projects
|
||||
*/
|
||||
externalProjects?: Array<ExternalProjects>;
|
||||
|
||||
/**
|
||||
* Certifications list
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user