Skip to content

Commit fa47450

Browse files
authored
chore: Add licensing (#5)
1 parent fad89c9 commit fa47450

File tree

4 files changed

+49
-1
lines changed

4 files changed

+49
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Check License Headers
2+
3+
on: [push]
4+
5+
jobs:
6+
check-license:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Check out Git repository
10+
uses: actions/checkout@v3
11+
12+
- name: Check License Headers
13+
uses: kapetacom/check-license-action@master
14+
with:
15+
holder: 'Kapeta Inc.'
16+
license: 'MIT'
17+
sources: '*.ts'
18+

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Kapeta Inc
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright 2023 Kapeta Inc.
3+
* SPDX-License-Identifier: MIT
4+
*/
5+
16
type RequestArgumentTransport = 'path' | 'header' | 'body' | 'query' | 'PATH' | 'HEADER' | 'BODY' | 'QUERY';
27
type RequestMethod =
38
| 'GET'

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@
2828
"keywords": [
2929
"kapeta"
3030
],
31-
"author": "Henrik Hofmeister <hh@kapeta.com>",
3231
"license": "MIT",
32+
"author": {
33+
"email": "engineering@kapeta.com",
34+
"name": "Kapeta",
35+
"url": "https://kapeta.com"
36+
},
3337
"bugs": {
3438
"url": "https://github.com/kapetacom/sdk-web-rest-client/issues"
3539
},

0 commit comments

Comments
 (0)