You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by ro...@apache.org on 2024/09/25 08:45:38 UTC
(incubator-answer-plugins) 03/05: refactor: Code to add Apache License header
This is an automated email from the ASF dual-hosted git repository.
robin0716 pushed a commit to branch refactor/hooks-fetch
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git
commit a88a7be94901a82f5b1b2087ffd6982498a11606
Author: robin <ro...@rnode.me>
AuthorDate: Wed Sep 25 16:42:46 2024 +0800
refactor: Code to add Apache License header
---
embed-basic/types.ts | 19 +++++++++++++++++++
render-markdown-codehighlight/types.ts | 19 +++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/embed-basic/types.ts b/embed-basic/types.ts
index ad5aebd..6a034fc 100644
--- a/embed-basic/types.ts
+++ b/embed-basic/types.ts
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 { RefObject } from 'react';
export type pluginHookProps = HTMLElement | RefObject<HTMLElement> | null;
diff --git a/render-markdown-codehighlight/types.ts b/render-markdown-codehighlight/types.ts
index ad5aebd..6a034fc 100644
--- a/render-markdown-codehighlight/types.ts
+++ b/render-markdown-codehighlight/types.ts
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 { RefObject } from 'react';
export type pluginHookProps = HTMLElement | RefObject<HTMLElement> | null;