1/* 2 * Copyright (c) 2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15// database/data/data_asset.h 16export const getURISuccess: () => number; 17export const getPathSuccess: () => number; 18export const getCreateTimeSuccess: () => number; 19export const getModifyTimeSuccess: () => number; 20export const getSizeSuccess: () => number; 21export const getStatusSuccess: () => number; 22export const getDestroyOneSuccess: () => number; 23export const testDestroyMultipleInvalidParam: () => number; 24// database/data/oh_data_value.h 25export const destroy: () => number; 26export const putNull: () => number; 27export const putReal: () => number; 28export const putText: () => number; 29export const putBlob: () => number; 30export const putAsset: () => number; 31export const putAssets: () => number; 32export const putUnlimitedInt: () => number; 33export const getType: () => number; 34export const isNull: () => number; 35export const testGetIntInvalidParam: () => number; 36export const testGetIntTypeMismatch: () => number; 37export const testGetIntDataTypeNull: () => number; 38export const testGetRealInvalidParam: () => number; 39export const testGetTextInvalidParam: () => number; 40export const testGetTextTypeMismatch: () => number; 41export const testGetTextDataTypeNull: () => number; 42export const testGetBlobInvalidParam: () => number; 43export const testGetBlobTypeMismatch: () => number; 44export const testGetBlobDataTypeNull: () => number; 45export const testGetAssetInvalidParam: () => number; 46export const testGetAssetTypeMismatch: () => number; 47export const testGetAssetDataTypeNull: () => number; 48export const testGetAssetsCountInvalidParam: () => number; 49export const testGetAssetsCountTypeMismatch: () => number; 50export const testGetAssetsCountDataTypeNull: () => number; 51export const testGetAssetsInvalidParam: () => number; 52export const testGetAssetsTypeMismatch: () => number; 53export const testGetAssetsDataTypeNull: () => number; 54export const testGetFloatVectorCountInvalidParam: () => number; 55export const testGetFloatVectorCountTypeMismatch: () => number; 56export const testGetFloatVectorCountTypeNull: () => number; 57export const testGetFloatVectorInvalidParam: () => number; 58export const testGetFloatVectorTypeMismatch: () => number; 59export const testGetFloatVectorTypeNull: () => number; 60export const testGetUnlimitedIntBandInvalidParam: () => number; 61export const testGetUnlimitedIntBandTypeMismatch: () => number; 62export const testGetUnlimitedIntBandTypeNull: () => number; 63export const testGetUnlimitedIntInvalidParam: () => number; 64export const testGetUnlimitedIntTypeMismatch: () => number; 65export const testGetUnlimitedIntTypeNull: () => number; 66// database/data/oh_data_values.h 67export const testDestroyInvalidParam: () => number; 68export const testPutNullInvalidParam: () => number; 69export const testPutIntInvalidParam: () => number; 70export const testPutRealInvalidParam: () => number; 71export const testPutTextInvalidParam: () => number; 72export const testPutBlobInvalidParam: () => number; 73export const testPutAssetInvalidParam: () => number; 74export const testPutAssetsInvalidParam: () => number; 75export const testPutUnlimitedIntInvalidParam: () => number; 76export const testCountInvalidParam: () => number; 77export const testGetTypeInvalidParam: () => number; 78export const testGetInvalidParam: () => number; 79export const testIsNullInvalidParam: () => number; 80export const testGetIntInvalidParamA: () => number; 81export const testGetIntTypeMismatchA: () => number; 82export const testGetIntTypeNullA: () => number; 83export const testGetRealInvalidParamA: () => number; 84export const testGetRealTypeMismatchA: () => number; 85export const testGetRealTypeNullA: () => number; 86export const testGetTextInvalidParamA: () => number; 87export const testGetTextTypeMismatchA: () => number; 88export const testGetTextTypeNullA: () => number; 89export const testGetBlobInvalidParamA: () => number; 90export const testGetBlobTypeMismatchA: () => number; 91export const testGetBlobTypeNullA: () => number; 92export const testGetAssetInvalidParamA: () => number; 93export const testGetAssetTypeMismatchA: () => number; 94export const testGetAssetTypeNullA: () => number; 95export const testGetAssetsCountInvalidParamA: () => number; 96export const testGetAssetsCountTypeMismatchA: () => number; 97export const testGetAssetsCountTypeNullA: () => number; 98export const testGetAssetsInvalidParamA: () => number; 99export const testGetAssetsTypeMismatchA: () => number; 100export const testGetAssetsTypeNullA: () => number; 101export const testGetFloatVectorCountInvalidParamA: () => number; 102export const testGetFloatVectorCountTypeMismatchA: () => number; 103export const testGetFloatVectorCountTypeNullA: () => number; 104export const testGetFloatVectorInvalidParamA: () => number; 105export const testGetFloatVectorTypeMismatchA: () => number; 106export const testGetFloatVectorTypeNullA: () => number; 107export const testGetUnlimitedIntBandInvalidParamA: () => number; 108export const testGetUnlimitedIntBandTypeMismatchA: () => number; 109export const testGetUnlimitedIntBandTypeNullA: () => number; 110export const testGetUnlimitedIntInvalidParamA: () => number; 111export const testGetUnlimitedIntTypeMismatchA: () => number; 112export const testGetUnlimitedIntTypeNullA: () => number; 113//database/data/oh_data_values_buckets.h 114export const testDestroyInvalidParamA: () => number; 115export const testPutRowInvalidParam: () => number; 116export const testPutRowsInvalidParam: () => number; 117export const testRowCountInvalidParam: () => number; 118 119 120 121 122 123