Add definition for projects

This commit is contained in:
Ariful Alam committed 2023-07-28 21:21:13 +06:00
1 parent c0d9eb7aa9
commit 3ef0ca3a14
4 files changed
+99 -49

No files matched your search

+56 -25
View File
@@ -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
*/