gip-remote 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/index.js +20 -23
- package/lib/link.js +23 -0
- package/package.json +23 -5
- package/schema/hyperdb/db.json +69 -0
- package/schema/hyperdb/index.js +358 -0
- package/schema/hyperdb/messages.js +442 -0
- package/schema/hyperschema/index.js +289 -0
- package/schema/hyperschema/schema.json +199 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"schema": [
|
|
4
|
+
{
|
|
5
|
+
"name": "repos",
|
|
6
|
+
"namespace": "gip",
|
|
7
|
+
"compact": true,
|
|
8
|
+
"flagsPosition": 2,
|
|
9
|
+
"fields": [
|
|
10
|
+
{
|
|
11
|
+
"name": "name",
|
|
12
|
+
"required": true,
|
|
13
|
+
"type": "string",
|
|
14
|
+
"version": 1
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "key",
|
|
18
|
+
"required": true,
|
|
19
|
+
"type": "buffer",
|
|
20
|
+
"version": 1
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "description",
|
|
24
|
+
"required": false,
|
|
25
|
+
"type": "string",
|
|
26
|
+
"version": 1
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "lastPushed",
|
|
30
|
+
"required": false,
|
|
31
|
+
"type": "uint",
|
|
32
|
+
"version": 1
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "branches",
|
|
38
|
+
"namespace": "gip",
|
|
39
|
+
"compact": true,
|
|
40
|
+
"flagsPosition": 3,
|
|
41
|
+
"fields": [
|
|
42
|
+
{
|
|
43
|
+
"name": "name",
|
|
44
|
+
"required": true,
|
|
45
|
+
"type": "string",
|
|
46
|
+
"version": 1
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "commitOid",
|
|
50
|
+
"required": true,
|
|
51
|
+
"type": "string",
|
|
52
|
+
"version": 1
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "treeOid",
|
|
56
|
+
"required": true,
|
|
57
|
+
"type": "string",
|
|
58
|
+
"version": 1
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "author",
|
|
62
|
+
"required": false,
|
|
63
|
+
"type": "string",
|
|
64
|
+
"version": 1
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "message",
|
|
68
|
+
"required": false,
|
|
69
|
+
"type": "string",
|
|
70
|
+
"version": 1
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "timestamp",
|
|
74
|
+
"required": false,
|
|
75
|
+
"type": "uint",
|
|
76
|
+
"version": 1
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "objects",
|
|
80
|
+
"array": true,
|
|
81
|
+
"type": "string",
|
|
82
|
+
"version": 1
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "files",
|
|
88
|
+
"namespace": "gip",
|
|
89
|
+
"compact": true,
|
|
90
|
+
"flagsPosition": 5,
|
|
91
|
+
"fields": [
|
|
92
|
+
{
|
|
93
|
+
"name": "branch",
|
|
94
|
+
"required": true,
|
|
95
|
+
"type": "string",
|
|
96
|
+
"version": 1
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "path",
|
|
100
|
+
"required": true,
|
|
101
|
+
"type": "string",
|
|
102
|
+
"version": 1
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "oid",
|
|
106
|
+
"required": true,
|
|
107
|
+
"type": "string",
|
|
108
|
+
"version": 1
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "mode",
|
|
112
|
+
"required": true,
|
|
113
|
+
"type": "string",
|
|
114
|
+
"version": 1
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "size",
|
|
118
|
+
"required": true,
|
|
119
|
+
"type": "uint",
|
|
120
|
+
"version": 1
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "author",
|
|
124
|
+
"required": false,
|
|
125
|
+
"type": "string",
|
|
126
|
+
"version": 1
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "message",
|
|
130
|
+
"required": false,
|
|
131
|
+
"type": "string",
|
|
132
|
+
"version": 1
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "timestamp",
|
|
136
|
+
"required": false,
|
|
137
|
+
"type": "uint",
|
|
138
|
+
"version": 1
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "object-type",
|
|
144
|
+
"namespace": "gip",
|
|
145
|
+
"offset": 1,
|
|
146
|
+
"enum": [
|
|
147
|
+
{
|
|
148
|
+
"key": "blob",
|
|
149
|
+
"version": 1
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"key": "tree",
|
|
153
|
+
"version": 1
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"key": "commit",
|
|
157
|
+
"version": 1
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"key": "tag",
|
|
161
|
+
"version": 1
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"strings": true
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "objects",
|
|
168
|
+
"namespace": "gip",
|
|
169
|
+
"compact": true,
|
|
170
|
+
"flagsPosition": -1,
|
|
171
|
+
"fields": [
|
|
172
|
+
{
|
|
173
|
+
"name": "oid",
|
|
174
|
+
"required": true,
|
|
175
|
+
"type": "string",
|
|
176
|
+
"version": 1
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "type",
|
|
180
|
+
"required": true,
|
|
181
|
+
"type": "@gip/object-type",
|
|
182
|
+
"version": 1
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "size",
|
|
186
|
+
"required": true,
|
|
187
|
+
"type": "uint",
|
|
188
|
+
"version": 1
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "data",
|
|
192
|
+
"required": true,
|
|
193
|
+
"type": "buffer",
|
|
194
|
+
"version": 1
|
|
195
|
+
}
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|