From bf9a483b7e20885c3f6b0005c642ea7d591f9ad6 Mon Sep 17 00:00:00 2001 From: lijinfengde123 Date: Thu, 11 Jan 2024 15:23:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?Revert=20"=E7=89=88=E6=9D=83=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E6=9B=B4=E6=94=B9"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 31e0632753a990433d4d1507cda4006652a830ed. --- .../redux/core/redux/applyMiddleware.ts | 15 ----------- .../redux/core/redux/bindActionCreators.ts | 15 ----------- .../redux/core/redux/combineReducers.ts | 15 ----------- .../ets/default/redux/core/redux/compose.ts | 15 ----------- .../default/redux/core/redux/createStore.ts | 15 ----------- .../ets/default/redux/core/redux/index.ts | 15 ----------- .../default/redux/core/redux/types/actions.ts | 26 ++++++++++--------- .../redux/core/redux/types/middleware.ts | 15 ----------- .../redux/core/redux/types/reducers.ts | 15 ----------- .../default/redux/core/redux/types/store.ts | 15 ----------- .../redux/core/redux/utils/actionTypes.ts | 19 ++++---------- .../redux/utils/formatProdErrorMessage.ts | 18 ++++--------- .../redux/core/redux/utils/isPlainObject.ts | 17 +++--------- .../default/redux/core/redux/utils/kindOf.ts | 16 +----------- .../core/redux/utils/symbol-observable.ts | 15 ----------- .../default/redux/core/redux/utils/warning.ts | 16 +++--------- 16 files changed, 31 insertions(+), 231 deletions(-) diff --git a/common/src/main/ets/default/redux/core/redux/applyMiddleware.ts b/common/src/main/ets/default/redux/core/redux/applyMiddleware.ts index a86f0f7..d89e1f8 100644 --- a/common/src/main/ets/default/redux/core/redux/applyMiddleware.ts +++ b/common/src/main/ets/default/redux/core/redux/applyMiddleware.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 compose from './compose' import { Middleware, MiddlewareAPI } from './types/middleware' import { AnyAction } from './types/actions' diff --git a/common/src/main/ets/default/redux/core/redux/bindActionCreators.ts b/common/src/main/ets/default/redux/core/redux/bindActionCreators.ts index 6910c21..fa7cc56 100644 --- a/common/src/main/ets/default/redux/core/redux/bindActionCreators.ts +++ b/common/src/main/ets/default/redux/core/redux/bindActionCreators.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 { Dispatch } from './types/store' import { AnyAction, diff --git a/common/src/main/ets/default/redux/core/redux/combineReducers.ts b/common/src/main/ets/default/redux/core/redux/combineReducers.ts index 454c8c5..c47aab3 100644 --- a/common/src/main/ets/default/redux/core/redux/combineReducers.ts +++ b/common/src/main/ets/default/redux/core/redux/combineReducers.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 { AnyAction, Action } from './types/actions' import { ActionFromReducersMapObject, diff --git a/common/src/main/ets/default/redux/core/redux/compose.ts b/common/src/main/ets/default/redux/core/redux/compose.ts index 9f9f6d2..6b53b73 100644 --- a/common/src/main/ets/default/redux/core/redux/compose.ts +++ b/common/src/main/ets/default/redux/core/redux/compose.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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. - */ - type Func = (...a: T) => R /** diff --git a/common/src/main/ets/default/redux/core/redux/createStore.ts b/common/src/main/ets/default/redux/core/redux/createStore.ts index 8483080..09a2813 100644 --- a/common/src/main/ets/default/redux/core/redux/createStore.ts +++ b/common/src/main/ets/default/redux/core/redux/createStore.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 $$observable from './utils/symbol-observable' import { diff --git a/common/src/main/ets/default/redux/core/redux/index.ts b/common/src/main/ets/default/redux/core/redux/index.ts index 7b4aade..3830300 100644 --- a/common/src/main/ets/default/redux/core/redux/index.ts +++ b/common/src/main/ets/default/redux/core/redux/index.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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. - */ - // functions import createStore from './createStore' import combineReducers from './combineReducers' diff --git a/common/src/main/ets/default/redux/core/redux/types/actions.ts b/common/src/main/ets/default/redux/core/redux/types/actions.ts index 7ff1985..b6738c0 100644 --- a/common/src/main/ets/default/redux/core/redux/types/actions.ts +++ b/common/src/main/ets/default/redux/core/redux/types/actions.ts @@ -1,18 +1,20 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 +/** + * An *action* is a plain object that represents an intention to change the + * state. Actions are the only way to get data into the store. Any data, + * whether from UI events, network callbacks, or other sources such as + * WebSockets needs to eventually be dispatched as actions. + * + * Actions must have a `type` field that indicates the type of action being + * performed. Types can be defined as constants and imported from another + * module. It's better to use strings for `type` than Symbols because strings + * are serializable. * - * http://www.apache.org/licenses/LICENSE-2.0 + * Other than `type`, the structure of an action object is really up to you. + * If you're interested, check out Flux Standard Action for recommendations on + * how actions should be constructed. * - * 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. + * @template T the type of the action's `type` tag. */ - export interface Action { type: T } diff --git a/common/src/main/ets/default/redux/core/redux/types/middleware.ts b/common/src/main/ets/default/redux/core/redux/types/middleware.ts index b18a525..4c933ef 100644 --- a/common/src/main/ets/default/redux/core/redux/types/middleware.ts +++ b/common/src/main/ets/default/redux/core/redux/types/middleware.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 { Dispatch } from './store' export interface MiddlewareAPI { diff --git a/common/src/main/ets/default/redux/core/redux/types/reducers.ts b/common/src/main/ets/default/redux/core/redux/types/reducers.ts index f2620b2..dc5f55f 100644 --- a/common/src/main/ets/default/redux/core/redux/types/reducers.ts +++ b/common/src/main/ets/default/redux/core/redux/types/reducers.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 { Action, AnyAction } from './actions' /* reducers */ diff --git a/common/src/main/ets/default/redux/core/redux/types/store.ts b/common/src/main/ets/default/redux/core/redux/types/store.ts index faefda7..241ce10 100644 --- a/common/src/main/ets/default/redux/core/redux/types/store.ts +++ b/common/src/main/ets/default/redux/core/redux/types/store.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 { Action, AnyAction } from './actions' import { Reducer } from './reducers' import '../utils/symbol-observable' diff --git a/common/src/main/ets/default/redux/core/redux/utils/actionTypes.ts b/common/src/main/ets/default/redux/core/redux/utils/actionTypes.ts index 59f37f2..e5ccbce 100644 --- a/common/src/main/ets/default/redux/core/redux/utils/actionTypes.ts +++ b/common/src/main/ets/default/redux/core/redux/utils/actionTypes.ts @@ -1,19 +1,10 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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. +/** + * These are private action types reserved by Redux. + * For any unknown actions, you must return the current state. + * If the current state is undefined, you must return the initial state. + * Do not reference these action types directly in your code. */ - const randomString = () => Math.random().toString(36).substring(7).split('').join('.') diff --git a/common/src/main/ets/default/redux/core/redux/utils/formatProdErrorMessage.ts b/common/src/main/ets/default/redux/core/redux/utils/formatProdErrorMessage.ts index 182829a..571bb31 100644 --- a/common/src/main/ets/default/redux/core/redux/utils/formatProdErrorMessage.ts +++ b/common/src/main/ets/default/redux/core/redux/utils/formatProdErrorMessage.ts @@ -1,18 +1,10 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 +/** + * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js * - * 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. + * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes + * during build. + * @param {number} code */ - function formatProdErrorMessage(code: number) { return ( `Minified Redux error #${code}; visit https://redux.js.org/Errors?code=${code} for the full message or ` + diff --git a/common/src/main/ets/default/redux/core/redux/utils/isPlainObject.ts b/common/src/main/ets/default/redux/core/redux/utils/isPlainObject.ts index 1fab932..20d1912 100644 --- a/common/src/main/ets/default/redux/core/redux/utils/isPlainObject.ts +++ b/common/src/main/ets/default/redux/core/redux/utils/isPlainObject.ts @@ -1,18 +1,7 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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. +/** + * @param obj The object to inspect. + * @returns True if the argument appears to be a plain object. */ - export default function isPlainObject(obj: any): boolean { if (typeof obj !== 'object' || obj === null) return false diff --git a/common/src/main/ets/default/redux/core/redux/utils/kindOf.ts b/common/src/main/ets/default/redux/core/redux/utils/kindOf.ts index 822f9dd..1be6a81 100644 --- a/common/src/main/ets/default/redux/core/redux/utils/kindOf.ts +++ b/common/src/main/ets/default/redux/core/redux/utils/kindOf.ts @@ -1,18 +1,4 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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. - */ - +// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of export function miniKindOf(val: any): string { if (val === void 0) return 'undefined' if (val === null) return 'null' diff --git a/common/src/main/ets/default/redux/core/redux/utils/symbol-observable.ts b/common/src/main/ets/default/redux/core/redux/utils/symbol-observable.ts index 8d5fb7c..10b6731 100644 --- a/common/src/main/ets/default/redux/core/redux/utils/symbol-observable.ts +++ b/common/src/main/ets/default/redux/core/redux/utils/symbol-observable.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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. - */ - declare global { interface SymbolConstructor { readonly observable: symbol diff --git a/common/src/main/ets/default/redux/core/redux/utils/warning.ts b/common/src/main/ets/default/redux/core/redux/utils/warning.ts index 9b9fa05..c1a3357 100644 --- a/common/src/main/ets/default/redux/core/redux/utils/warning.ts +++ b/common/src/main/ets/default/redux/core/redux/utils/warning.ts @@ -1,18 +1,8 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 +/** + * Prints a warning in the console if it exists. * - * 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. + * @param message The warning message. */ - export default function warning(message: string): void { /* eslint-disable no-console */ if (typeof console !== 'undefined' && typeof console.error === 'function') { -- Gitee From 4cae3b1960f7eebee32c29081d8fe2e1b8228a5e Mon Sep 17 00:00:00 2001 From: lijinfengde123 Date: Thu, 11 Jan 2024 16:18:08 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BC=80=E6=BA=90=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=E3=80=81=E7=89=88=E6=9D=83=E5=A4=B4=E6=9B=B4?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lijinfengde123 --- NOTCE | 31 +++++++++++++++++++ README.OpenSource | 10 ++++++ .../ets/default/redux/core/ohredux/connect.ts | 15 --------- .../default/redux/core/ohredux/createStore.ts | 15 --------- .../ets/default/redux/core/ohredux/index.ts | 15 --------- 5 files changed, 41 insertions(+), 45 deletions(-) create mode 100644 NOTCE create mode 100644 README.OpenSource diff --git a/NOTCE b/NOTCE new file mode 100644 index 0000000..25883ef --- /dev/null +++ b/NOTCE @@ -0,0 +1,31 @@ +OPEN SOURCE SOFTWARE NOTICE + +Please note we provide an open source software notice for the third party open source software along with this software and/or this software component (in the following just “this SOFTWARE”). The open source software licenses are granted by the respective right holders. + +Warranty Disclaimer +THE OPEN SOURCE SOFTWARE IN THIS PRODUCT 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 APPLICABLE LICENSES FOR MORE DETAILS. + +Copyright Notice and License Texts +---------------------------------------------------------------------- +Software: redux V4.1.1 + +Copyright notice: +Copyright (c) 2015-present Dan Abramov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.OpenSource b/README.OpenSource new file mode 100644 index 0000000..64b9625 --- /dev/null +++ b/README.OpenSource @@ -0,0 +1,10 @@ +[ + { + "Name": "redux", + "License": "MIT license", + "License File": "COPYING", + "Version Number": "4.1.1", + "Upstream URL": "https://codeload.github.com/reduxjs/redux/zip/refs/heads/master", + "Description": "Redux is a predictable state container for JavaScript apps." + } +] \ No newline at end of file diff --git a/common/src/main/ets/default/redux/core/ohredux/connect.ts b/common/src/main/ets/default/redux/core/ohredux/connect.ts index ba8d400..df53ab8 100644 --- a/common/src/main/ets/default/redux/core/ohredux/connect.ts +++ b/common/src/main/ets/default/redux/core/ohredux/connect.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 { Dispatch, Unsubscribe } from '../redux' export interface MapStateProp { diff --git a/common/src/main/ets/default/redux/core/ohredux/createStore.ts b/common/src/main/ets/default/redux/core/ohredux/createStore.ts index 0e45803..df4c597 100644 --- a/common/src/main/ets/default/redux/core/ohredux/createStore.ts +++ b/common/src/main/ets/default/redux/core/ohredux/createStore.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 { Store, createStore, diff --git a/common/src/main/ets/default/redux/core/ohredux/index.ts b/common/src/main/ets/default/redux/core/ohredux/index.ts index ef90bca..ae1663d 100644 --- a/common/src/main/ets/default/redux/core/ohredux/index.ts +++ b/common/src/main/ets/default/redux/core/ohredux/index.ts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * 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 createStore from './createStore' export { combineReducers, applyMiddleware } from '../redux/index' -- Gitee