This is an automated email from the ASF dual-hosted git repository. ocket8888 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git
commit 6137b06efee841779a8ed67a0cee9e4a415315b0 Author: ocket8888 <[email protected]> AuthorDate: Thu Oct 13 12:41:54 2022 -0600 Switch license headers to new license --- src/about.ts | 27 +++++++++++++-------------- src/acme.ts | 26 +++++++++++++------------- src/alert.ts | 26 +++++++++++++------------- src/cache.group.ts | 26 +++++++++++++------------- src/capability.ts | 26 +++++++++++++------------- src/cdn.ts | 26 +++++++++++++------------- src/coordinate.ts | 26 +++++++++++++------------- src/delivery.service.request.ts | 26 +++++++++++++------------- src/delivery.service.ts | 26 +++++++++++++------------- src/division.ts | 26 +++++++++++++------------- src/dnssec.ts | 26 +++++++++++++------------- src/federation.ts | 26 +++++++++++++------------- src/index.ts | 26 +++++++++++++------------- src/invalidation.ts | 26 +++++++++++++------------- src/iso.ts | 26 +++++++++++++------------- src/login.ts | 26 +++++++++++++------------- src/logs.ts | 26 +++++++++++++------------- src/origin.ts | 26 +++++++++++++------------- src/physical.location.ts | 26 +++++++++++++------------- src/plugin.ts | 26 +++++++++++++------------- src/profile.ts | 26 +++++++++++++------------- src/router.ts | 26 +++++++++++++------------- src/server.capability.ts | 26 +++++++++++++------------- src/server.ts | 26 +++++++++++++------------- src/snap.and.queue.ts | 32 +++++++++++++++++++------------- src/ssl.ts | 26 +++++++++++++------------- src/stats.ts | 26 +++++++++++++------------- src/status.ts | 26 +++++++++++++------------- src/steering.ts | 26 +++++++++++++------------- src/topology.ts | 26 +++++++++++++------------- src/type.ts | 26 +++++++++++++------------- src/uri.signing.ts | 26 +++++++++++++------------- src/user.ts | 26 +++++++++++++------------- src/vault.ts | 26 +++++++++++++------------- 34 files changed, 448 insertions(+), 443 deletions(-) diff --git a/src/about.ts b/src/about.ts index 0803626..61355d6 100644 --- a/src/about.ts +++ b/src/about.ts @@ -1,21 +1,20 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * Copyright 2022 ocket8888 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * 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 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ - /** Represents the response to a request made to the /about API endpoint. */ export interface About { commitHash?: string; diff --git a/src/acme.ts b/src/acme.ts index 56eb3ee..94e6c61 100644 --- a/src/acme.ts +++ b/src/acme.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/alert.ts b/src/alert.ts index fdde9e2..064bd67 100644 --- a/src/alert.ts +++ b/src/alert.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** The allowed/known "level"s of Traffic Ops API Alerts. */ diff --git a/src/cache.group.ts b/src/cache.group.ts index d610a21..3cec5ac 100644 --- a/src/cache.group.ts +++ b/src/cache.group.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** Represents an ASN in an API response. */ diff --git a/src/capability.ts b/src/capability.ts index 5c44698..414a564 100644 --- a/src/capability.ts +++ b/src/capability.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/cdn.ts b/src/cdn.ts index aea8099..1ef9204 100644 --- a/src/cdn.ts +++ b/src/cdn.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/coordinate.ts b/src/coordinate.ts index 5f423ef..25f0238 100644 --- a/src/coordinate.ts +++ b/src/coordinate.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/delivery.service.request.ts b/src/delivery.service.request.ts index a2c070e..c60221d 100644 --- a/src/delivery.service.request.ts +++ b/src/delivery.service.request.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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 type { DeliveryService } from "./delivery.service"; diff --git a/src/delivery.service.ts b/src/delivery.service.ts index f5dcd64..0988cb6 100644 --- a/src/delivery.service.ts +++ b/src/delivery.service.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/division.ts b/src/division.ts index aec5307..3383240 100644 --- a/src/division.ts +++ b/src/division.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/dnssec.ts b/src/dnssec.ts index ea06ffe..1e0fba2 100644 --- a/src/dnssec.ts +++ b/src/dnssec.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/federation.ts b/src/federation.ts index 8d840eb..7c39242 100644 --- a/src/federation.ts +++ b/src/federation.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/index.ts b/src/index.ts index 73fe0bb..b068b5a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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 type { Alert } from "./alert.js"; diff --git a/src/invalidation.ts b/src/invalidation.ts index 72a051e..d05f87d 100644 --- a/src/invalidation.ts +++ b/src/invalidation.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** JobType enumerates the valid types of Job. */ diff --git a/src/iso.ts b/src/iso.ts index 1d7c009..f21e003 100644 --- a/src/iso.ts +++ b/src/iso.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** The basic fields common to all ISO request bodies. */ diff --git a/src/login.ts b/src/login.ts index ce600f7..5cf5827 100644 --- a/src/login.ts +++ b/src/login.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/logs.ts b/src/logs.ts index c644a5e..15c3584 100644 --- a/src/logs.ts +++ b/src/logs.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/origin.ts b/src/origin.ts index ade5c51..af65ce3 100644 --- a/src/origin.ts +++ b/src/origin.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/physical.location.ts b/src/physical.location.ts index fe9559b..71d7d07 100644 --- a/src/physical.location.ts +++ b/src/physical.location.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/plugin.ts b/src/plugin.ts index 4778593..e185205 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/profile.ts b/src/profile.ts index ab053b3..ba23fb3 100644 --- a/src/profile.ts +++ b/src/profile.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** ProfileTypes are the valid `type`s of Profiles. */ diff --git a/src/router.ts b/src/router.ts index 56cd22b..1c73d73 100644 --- a/src/router.ts +++ b/src/router.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/server.capability.ts b/src/server.capability.ts index 0a826ec..be6fb11 100644 --- a/src/server.capability.ts +++ b/src/server.capability.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** Represents a request to create or modify a Server Capability. */ diff --git a/src/server.ts b/src/server.ts index 611221a..8ec04f9 100644 --- a/src/server.ts +++ b/src/server.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/snap.and.queue.ts b/src/snap.and.queue.ts index 2aa3346..dffc1af 100644 --- a/src/snap.and.queue.ts +++ b/src/snap.and.queue.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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 type { LocalizationMethod } from "./cache.group"; @@ -143,7 +143,11 @@ export interface Snapshot { config: Record<string, unknown>; contentRouters: { [routerHostName: string]: { + // These property names are defined by the API and are therefore + // beyond my control. + // eslint-disable-next-line @typescript-eslint/naming-convention "api.port": string; + // eslint-disable-next-line @typescript-eslint/naming-convention "secure.api.port": string; fqdn: string; httpsPort: number | null; @@ -175,6 +179,8 @@ export interface Snapshot { ip6RoutingEnabled: "true" | "false"; matchsets: Array<{ matchList: Array<{ + // This is beyond my control. + // eslint-disable-next-line @typescript-eslint/naming-convention "match-type": string; regex: string; }>; diff --git a/src/ssl.ts b/src/ssl.ts index d723e08..2cc9717 100644 --- a/src/ssl.ts +++ b/src/ssl.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/stats.ts b/src/stats.ts index e8bcdfc..3a75a7f 100644 --- a/src/stats.ts +++ b/src/stats.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/status.ts b/src/status.ts index eceee0a..adfac8f 100644 --- a/src/status.ts +++ b/src/status.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** ResponseStatus represents a Status as returned in responses from the API. */ diff --git a/src/steering.ts b/src/steering.ts index 09b9cd2..ae8d6d9 100644 --- a/src/steering.ts +++ b/src/steering.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/topology.ts b/src/topology.ts index 18d832b..862e634 100644 --- a/src/topology.ts +++ b/src/topology.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/type.ts b/src/type.ts index c4570b0..f9116e7 100644 --- a/src/type.ts +++ b/src/type.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/uri.signing.ts b/src/uri.signing.ts index 16befcd..f33c454 100644 --- a/src/uri.signing.ts +++ b/src/uri.signing.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * Copyright 2022 ocket8888 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * 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 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** Represents the URL-signing keys of a Delivery Service. */ diff --git a/src/user.ts b/src/user.ts index af0bfef..50e1e49 100644 --- a/src/user.ts +++ b/src/user.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /** diff --git a/src/vault.ts b/src/vault.ts index 088be05..703062c 100644 --- a/src/vault.ts +++ b/src/vault.ts @@ -1,19 +1,19 @@ -/* - * trafficops-types Typings and utility functions for Traffic Ops API objects. - * Copyright (C) 2022 ocket8888 +/** + * @license Apache-2.0 + * + * Copyright 2022 ocket8888 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * 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. */ /**
