-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
102 lines (96 loc) · 1.92 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// interface from this
/**
* namespace "nleroy917"
name "basic"
tag "default"
is_private false
number_of_samples 2
description "This is a basic project."
last_update_date "2023-02-06 11:46:52.001808"
submission_date "2022-12-19 12:25:29.492911"
digest "2bf6e3cf1e4bb71f9a03a49eb0effdc6"
*/
interface ProjectInfo {
namespace: string
name: string
tag: string
is_private: boolean
number_of_samples: number
description: string
last_update_date: string
submission_date: string
digest: string
}
interface NamespaceProjectsResponse {
items: ProjectInfo[]
count: number
limit: number
offset: number
}
interface NamespaceInfo {
namespace: string
number_of_projects: number
number_of_samples: number
projects_endpoint: string
}
interface ProjectSearchHit {
id: number
version: number
score: number
payload: {
registry: string
description: string
}
vector: null
}
interface SearchResults {
query: string
results: ProjectSearchHit[]
namespace_hits: string[]
}
interface GitHubUserResponse {
login: string
id: number
node_id: string
avatar_url: string
gravatar_id: string
url: string
html_url: string
followers_url: string
following_url: string
gists_url: string
starred_url: string
subscriptions_url: string
organizations_url: string
repos_url: string
events_url: string
received_events_url: string
type: string
site_admin: boolean
name: string
company: string
blog: string
location: string
email: string
hireable: boolean
bio: string
twitter_username: string
public_repos: number
public_gists: number
followers: number
following: number
created_at: string
updated_at: string
private_gists: number
total_private_repos: number
owned_private_repos: number
disk_usage: number
collaborators: number
two_factor_authentication: boolean
plan: {
name: string
space: number
private_repos: number
collaborators: number
}
}