added constants/index.ts file in ignore

This commit is contained in:
hardiknai-techm
2021-08-11 19:49:17 +05:30
parent fc1067137b
commit e9ad009f79
4 changed files with 6 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ src/Api/Apis.ts
src/AuthType.ts
src/Bindings/BindingHandlersRegisterer.ts
src/Bindings/ReactBindingHandler.ts
src/Common/Constants/index.ts
src/Common/CosmosClient.test.ts
src/Common/CosmosClient.ts
src/Common/DataAccessUtilityBase.test.ts

View File

@@ -31,6 +31,7 @@ import * as TagNames from './TagNames';
import * as TerminalQueryParams from './TerminalQueryParams';
import * as TryCosmosExperience from './TryCosmosExperience';
import * as Urls from './Urls';
const StyleConstants = require("less-vars-loader!../../less/Common/Constants.less");
export {

View File

@@ -79,8 +79,7 @@ export function queryDocuments(
};
const endpoint = getEndpoint() || "";
const headers = {
const headers: HeadersInit = {
...defaultHeaders,
...authHeaders(),
[CosmosSDKConstants.HttpHeaders.IsQuery]: "true",

View File

@@ -15,7 +15,9 @@ exports[`Upload Items Pane should render Default properly 1`] = `
multiple={true}
onUpload={[Function]}
tabIndex={0}
tooltip="Select one or more JSON files to upload. Each file can contain a single JSON document or an array of JSON documents. The combined size of all files in an individual upload operation must be less than 2 MB. You can perform multiple upload operations for larger data sets."
tooltip="Select one or more JSON files to upload. Each file can contain a single JSON document or an array of JSON
documents. The combined size of all files in an individual upload operation must be less than 2 MB. You
can perform multiple upload operations for larger data sets."
/>
</div>
</RightPaneForm>