/interface/sdk-js/build-tools/collect_application_api/src/ |
D | collect_import_name.js | 29 function collectApi(url) { argument 30 const applicationUrl = path.resolve(__dirname, url); 37 applicationFiles.forEach(url => { 38 if (/\.ets/.test(path.basename(url)) || /\.ts/.test(path.basename(url))) { 39 const content = fs.readFileSync(url, 'utf-8'); 40 const fileName = path.basename(url).replace(/\.d.ts$/g, 'ts'); 46 transformers: { before: [callback(url)] } 52 function getImportFileName(url) { argument 69 fileName: path.basename(url), 75 fileName: path.basename(url), [all …]
|
/interface/sdk-js/build-tools/api_check_plugin/src/ |
D | api_check_plugin.js | 28 function checkAPICodeStyle(url) { argument 29 if (fs.existsSync(url)) { 30 const mdApiFiles = getMdFiles(url); 35 function getMdFiles(url) { argument 36 const content = fs.readFileSync(url, "utf-8"); 91 function scanEntry(url) { argument 93 checkAPICodeStyle(url);
|
D | utils.js | 32 function removeDir(url) { argument 33 let statObj = fs.statSync(url); 35 let dirs = fs.readdirSync(url); 36 dirs = dirs.map(dir => path.join(url, dir)); 40 fs.rmdirSync(url); 42 fs.unlinkSync(url);
|
/interface/sdk-js/build-tools/ |
D | delete_systemapi_plugin.js | 23 function collectDeclaration(url) { argument 25 const utPath = path.resolve(__dirname, url); 35 utFiles.forEach((url) => { 36 if (/\.json/.test(url) || /index\-full\.d\.ts/.test(url) || /common\.d\.ts/.test(url)) { 37 const content = fs.readFileSync(url, 'utf-8'); 38 writeFile(url, content); 39 } else if (/\.d\.ts/.test(url)) { 40 const content = fs.readFileSync(url, 'utf-8'); 41 const fileName = path.basename(url).replace(/.d.ts/g, '.ts'); 47 transformers: { before: [callback(url)] } [all …]
|
/interface/sdk-js/api/ |
D | @ohos.url.d.ts | 22 declare namespace url { namespace 349 constructor(url: string, base?: string | URL); 367 static parseURL(url: string, base?: string | URL): URL; 483 export default url;
|
D | @ohos.net.webSocket.d.ts | 59 connect(url: string, callback: AsyncCallback<boolean>): void; 60 connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void; 61 connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
|
D | @ohos.net.http.d.ts | 120 request(url: string, callback: AsyncCallback<HttpResponse>): void; 121 request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void; 122 request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
|
D | @system.request.d.ts | 148 url: string; property 218 url: string; property
|
D | @system.fetch.d.ts | 54 url: string;
|
D | @ohos.web.webview.d.ts | 352 static getCookie(url: string): string; 365 static setCookie(url: string, value: string): void; 693 loadUrl(url: string | Resource, headers?: Array<WebHeader>): void;
|
D | @ohos.request.d.ts | 378 url: string; 898 url: string; property
|
D | @ohos.router.d.ts | 67 url: string; property
|
D | @ohos.multimedia.media.d.ts | 385 url ?: string; property 2013 url: string; property 2494 url: string; property 2619 url: string; property
|
D | @ohos.telephony.sms.d.ts | 698 url: string; property
|
/interface/sdk-js/build-tools/api_check_plugin/test/ |
D | test.js | 18 function checkEntryLocalText(url) { argument 22 result = scanEntry(url);
|
/interface/sdk-js/api/@internal/component/ets/ |
D | web.d.ts | 1231 loadUrl(options: { url: string | Resource, headers?: Array<Header> }); 1560 onPageEnd(callback: (event?: { url: string }) => void): WebAttribute; 1568 onPageBegin(callback: (event?: { url: string }) => void): WebAttribute; 1616 …onAlert(callback: (event?: { url: string, message: string, result: JsResult }) => boolean): WebAtt… 1624 …onBeforeUnload(callback: (event?: { url: string, message: string, result: JsResult }) => boolean):… 1632 …onConfirm(callback: (event?: { url: string, message: string, result: JsResult }) => boolean): WebA… 1640 …onPrompt(callback: (event?: {url: string, message: string, value: string, result: JsResult }) => b… 1673 …onDownloadStart(callback: (event?: { url: string, userAgent: string, contentDisposition: string, m… 1682 …onRefreshAccessedHistory(callback: (event?: { url: string, isRefreshed: boolean }) => void): WebAt… 1745 onResourceLoad(callback: (event: {url: string}) => void): WebAttribute; [all …]
|
/interface/sdk-js/build-tools/api_check_plugin/ |
D | entry.js | 19 function checkEntry(url) { argument
|
/interface/sdk-js/api/common/full/ |
D | featureability.d.ts | 274 url?: string; property
|
/interface/sdk-js/build-tools/api_check_plugin/plugin/ |
D | dictionaries.txt | 65239 url
|