Skip to content

Commit d1affb7

Browse files
committed
2 parents 2ac5964 + 6d9aff8 commit d1affb7

4 files changed

Lines changed: 50 additions & 50 deletions

File tree

build/index.d.ts

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
import "./index.css";
2-
interface StarcounterInterface {
3-
showBtn: boolean;
4-
showStargazers: boolean;
5-
showButtonCount: boolean;
6-
user: string;
7-
repo: string;
8-
theme: string;
9-
nbItems: number;
10-
goalStep: number;
11-
}
12-
interface StarcounterParams {
13-
showBtn: string;
14-
showStargazers: string;
15-
showButtonCount: string;
16-
user: string;
17-
repo: string;
18-
theme: string;
19-
nbItems: number;
20-
goalStep: number;
21-
goalDiff: string;
22-
}
23-
declare class Starcounter implements StarcounterInterface {
24-
showBtn: boolean;
25-
showStargazers: boolean;
26-
showButtonCount: boolean;
27-
user: string;
28-
repo: string;
29-
theme: string;
30-
nbItems: number;
31-
wrapperElem: Element;
32-
mainSection: HTMLDivElement;
33-
secondarySection: HTMLDivElement;
34-
endpoint: string;
35-
stargazersUrl: string;
36-
repoUrl: string;
37-
stargazers_count: number;
38-
goalStep: number;
39-
goalDiff: boolean;
40-
constructor({ showBtn, showStargazers, showButtonCount, user, repo, theme, nbItems, goalStep, goalDiff, }: Partial<StarcounterParams>);
41-
getApi: (path?: string) => Promise<unknown>;
42-
render: () => Promise<void>;
43-
renderButton: () => void;
44-
renderStargazers: () => Promise<void>;
45-
renderGoalStep: () => void;
46-
}
47-
export default Starcounter;
1+
import "./index.css";
2+
interface StarcounterInterface {
3+
showBtn: boolean;
4+
showStargazers: boolean;
5+
showButtonCount: boolean;
6+
user: string;
7+
repo: string;
8+
theme: string;
9+
nbItems: number;
10+
goalStep: number;
11+
}
12+
interface StarcounterParams {
13+
showBtn: string;
14+
showStargazers: string;
15+
showButtonCount: string;
16+
user: string;
17+
repo: string;
18+
theme: string;
19+
nbItems: number;
20+
goalStep: number;
21+
goalDiff: string;
22+
}
23+
declare class Starcounter implements StarcounterInterface {
24+
showBtn: boolean;
25+
showStargazers: boolean;
26+
showButtonCount: boolean;
27+
user: string;
28+
repo: string;
29+
theme: string;
30+
nbItems: number;
31+
wrapperElem: Element;
32+
mainSection: HTMLDivElement;
33+
secondarySection: HTMLDivElement;
34+
endpoint: string;
35+
stargazersUrl: string;
36+
repoUrl: string;
37+
stargazers_count: number;
38+
goalStep: number;
39+
goalDiff: boolean;
40+
constructor({ showBtn, showStargazers, showButtonCount, user, repo, theme, nbItems, goalStep, goalDiff, }: Partial<StarcounterParams>);
41+
getApi: (path?: string) => Promise<unknown>;
42+
render: () => Promise<void>;
43+
renderButton: () => void;
44+
renderStargazers: () => Promise<void>;
45+
renderGoalStep: () => void;
46+
}
47+
export default Starcounter;

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "github-starcounter",
3-
"version": "1.1.10",
3+
"version": "1.1.11",
44
"description": "Give a shout-out to your Stargazers and proudly display their support",
55
"main": "build/index.js",
66
"types": "build/types/index.d.ts",

0 commit comments

Comments
 (0)