@digipair/skill-git 0.28.13 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schema.en.json +218 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-git",
3
- "version": "0.28.13",
3
+ "version": "0.29.2",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
package/schema.en.json ADDED
@@ -0,0 +1,218 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "@digipair/skill-git",
5
+ "summary": "Management of a git repository",
6
+ "description": "This skill allows you to manage a git repository.",
7
+ "version": "0.1.0",
8
+ "x-icon": "💾"
9
+ },
10
+ "paths": {
11
+ "/commit": {
12
+ "post": {
13
+ "tags": ["service"],
14
+ "summary": "GIT Commit",
15
+ "parameters": [
16
+ {
17
+ "name": "path",
18
+ "summary": "Repository path",
19
+ "required": false,
20
+ "description": "Path of the GIT repository",
21
+ "schema": {
22
+ "type": "string"
23
+ }
24
+ },
25
+ {
26
+ "name": "selector",
27
+ "summary": "File selector",
28
+ "required": false,
29
+ "description": "Selector for the files to commit",
30
+ "schema": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ {
35
+ "name": "message",
36
+ "summary": "Message",
37
+ "required": false,
38
+ "description": "Commit message",
39
+ "schema": {
40
+ "type": "string"
41
+ }
42
+ }
43
+ ],
44
+ "x-events": []
45
+ }
46
+ },
47
+ "/push": {
48
+ "post": {
49
+ "tags": ["service"],
50
+ "summary": "GIT Push",
51
+ "parameters": [
52
+ {
53
+ "name": "path",
54
+ "summary": "Repository path",
55
+ "required": false,
56
+ "description": "Path of the GIT repository",
57
+ "schema": {
58
+ "type": "string"
59
+ }
60
+ },
61
+ {
62
+ "name": "options",
63
+ "summary": "Options",
64
+ "required": false,
65
+ "description": "Options sent during the push",
66
+ "schema": {
67
+ "type": "array",
68
+ "items": {
69
+ "type": "string"
70
+ }
71
+ }
72
+ }
73
+ ],
74
+ "x-events": []
75
+ }
76
+ },
77
+ "/show": {
78
+ "post": {
79
+ "tags": ["service"],
80
+ "summary": "GIT Show",
81
+ "parameters": [
82
+ {
83
+ "name": "path",
84
+ "summary": "Repository path",
85
+ "required": false,
86
+ "description": "Path of the GIT repository",
87
+ "schema": {
88
+ "type": "string"
89
+ }
90
+ },
91
+ {
92
+ "name": "options",
93
+ "summary": "Options",
94
+ "required": false,
95
+ "description": "Options sent during the git show",
96
+ "schema": {
97
+ "type": "array",
98
+ "items": {
99
+ "type": "string"
100
+ }
101
+ }
102
+ }
103
+ ],
104
+ "x-events": []
105
+ }
106
+ },
107
+ "/log": {
108
+ "post": {
109
+ "tags": ["service"],
110
+ "summary": "GIT Log",
111
+ "parameters": [
112
+ {
113
+ "name": "path",
114
+ "summary": "Repository path",
115
+ "required": false,
116
+ "description": "Path of the GIT repository",
117
+ "schema": {
118
+ "type": "string"
119
+ }
120
+ },
121
+ {
122
+ "name": "file",
123
+ "summary": "File",
124
+ "required": false,
125
+ "description": "File concerned by the log",
126
+ "schema": {
127
+ "type": "string"
128
+ }
129
+ },
130
+ {
131
+ "name": "format",
132
+ "summary": "Output format",
133
+ "required": false,
134
+ "description": "Output format described in pretty format",
135
+ "schema": {
136
+ "type": "string"
137
+ }
138
+ },
139
+ {
140
+ "name": "from",
141
+ "summary": "Starting commit",
142
+ "required": false,
143
+ "description": "Identifier of the starting commit",
144
+ "schema": {
145
+ "type": "string"
146
+ }
147
+ },
148
+ {
149
+ "name": "to",
150
+ "summary": "Ending commit",
151
+ "required": false,
152
+ "description": "Identifier of the ending commit",
153
+ "schema": {
154
+ "type": "string"
155
+ }
156
+ },
157
+ {
158
+ "name": "mailMap",
159
+ "summary": "Mail mapping",
160
+ "required": false,
161
+ "description": "Enables the use of email mapping in return values for email and name from the default format",
162
+ "schema": {
163
+ "type": "boolean"
164
+ }
165
+ },
166
+ {
167
+ "name": "maxCount",
168
+ "summary": "Maximum number of results",
169
+ "required": false,
170
+ "description": "Limits the number of results to return",
171
+ "schema": {
172
+ "type": "number"
173
+ }
174
+ },
175
+ {
176
+ "name": "multiline",
177
+ "summary": "Multiline",
178
+ "required": false,
179
+ "description": "Enables multiline values in the default format",
180
+ "schema": {
181
+ "type": "boolean"
182
+ }
183
+ },
184
+ {
185
+ "name": "splitter",
186
+ "summary": "Splitter",
187
+ "required": false,
188
+ "description": "Character sequence to use as a delimiter between fields in the log, must be a value that does not appear in any log message (defaults to ò)",
189
+ "schema": {
190
+ "type": "string"
191
+ }
192
+ },
193
+ {
194
+ "name": "strictDate",
195
+ "summary": "Strict date",
196
+ "required": false,
197
+ "description": "Switches the author date value from a format similar to ISO 8601 to a strict ISO 8601 format",
198
+ "schema": {
199
+ "type": "boolean"
200
+ }
201
+ },
202
+ {
203
+ "name": "symmetric",
204
+ "summary": "Symmetric",
205
+ "required": false,
206
+ "description": "Enables the symmetric revision range rather than the two-dot range",
207
+ "schema": {
208
+ "type": "boolean"
209
+ }
210
+ }
211
+ ],
212
+ "x-events": []
213
+ }
214
+ }
215
+ },
216
+ "components": {},
217
+ "x-scene-blocks": {}
218
+ }