Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
license: Released under the Apache-2.0 license
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrdz committed May 28, 2022
1 parent d14dfb6 commit 6cf5f9a
Show file tree
Hide file tree
Showing 7 changed files with 254 additions and 694 deletions.
876 changes: 202 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
<br>

```
Released under the GNU GPLv3 license. Copyright (c) 2022 Max Rodriguez
Released under the Apache-2.0 license. Copyright (c) 2022 Max Rodriguez
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "build/@types",
"repository": "https://github.com/Max-Rodriguez/poparazzi-private-api.git",
"author": "Max Rodriguez <[email protected]>",
"license": "GPL-3.0",
"license": "Apache-2.0",
"scripts": {
"build": "tsc -p tsconfig.json",
"examples": "tsc -p tsconfig.examples.json"
Expand Down
17 changes: 13 additions & 4 deletions src/api-errors.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
poparazzi-private-api Copyright (C) 2022 Max Rodriguez
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to
redistribute it under certain conditions;
Copyright 2022 Max Rodriguez Coppola
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

class ApiErrorBase {
Expand Down
19 changes: 12 additions & 7 deletions src/api-responses.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
/*
poparazzi-private-api Copyright (C) 2022 Max Rodriguez
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to
redistribute it under certain conditions;
Copyright 2022 Max Rodriguez Coppola
Defines Poparazzi API endpoint responses.
Each response object defines the data that
is placed inside the 'data' object of an API response.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

class ApiResponseBase {
Expand Down
15 changes: 12 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
Released under the MIT license.
View 'LICENSE' for the full license.
Copyright 2022 Max Rodriguez Coppola
Copyright (c) 2022 Max Rodriguez
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
export * as Errors from './api-errors';
export * as Responses from './api-responses';
Expand Down
17 changes: 13 additions & 4 deletions src/poparazzi.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
poparazzi-private-api Copyright (C) 2022 Max Rodriguez
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to
redistribute it under certain conditions;
Copyright 2022 Max Rodriguez Coppola
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
import * as Responses from './api-responses';
import fetch, {Headers, Response} from "node-fetch";
Expand Down

0 comments on commit 6cf5f9a

Please sign in to comment.