Skip to content

Commit 506672e

Browse files
unify filename
1 parent 2094705 commit 506672e

16 files changed

+44
-37
lines changed

src/ConfigurationClientManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// Licensed under the MIT license.
33

44
import { AppConfigurationClient, AppConfigurationClientOptions } from "@azure/app-configuration";
5-
import { ConfigurationClientWrapper } from "./ConfigurationClientWrapper.js";
5+
import { ConfigurationClientWrapper } from "./configurationClientWrapper.js";
66
import { TokenCredential } from "@azure/identity";
7-
import { AzureAppConfigurationOptions } from "./AzureAppConfigurationOptions.js";
7+
import { AzureAppConfigurationOptions } from "./appConfigurationOptions.js";
88
import { isBrowser, isWebWorker } from "./requestTracing/utils.js";
99
import * as RequestTracing from "./requestTracing/constants.js";
1010
import { shuffleList, instanceOfTokenCredential } from "./common/utils.js";

src/JsonKeyValueAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { ConfigurationSetting, featureFlagContentType, secretReferenceContentType } from "@azure/app-configuration";
55
import { stripComments } from "jsonc-parser";
66
import { parseContentType, isJsonContentType } from "./common/contentType.js";
7-
import { IKeyValueAdapter } from "./IKeyValueAdapter.js";
7+
import { IKeyValueAdapter } from "./keyValueAdapter.js";
88

99
export class JsonKeyValueAdapter implements IKeyValueAdapter {
1010
static readonly #ExcludedJsonContentTypes: string[] = [
File renamed without changes.

src/AzureAppConfigurationImpl.ts renamed to src/appConfigurationImpl.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ import {
1616
KnownSnapshotComposition
1717
} from "@azure/app-configuration";
1818
import { isRestError } from "@azure/core-rest-pipeline";
19-
import { AzureAppConfiguration, ConfigurationObjectConstructionOptions } from "./AzureAppConfiguration.js";
20-
import { AzureAppConfigurationOptions } from "./AzureAppConfigurationOptions.js";
21-
import { IKeyValueAdapter } from "./IKeyValueAdapter.js";
22-
import { JsonKeyValueAdapter } from "./JsonKeyValueAdapter.js";
23-
import { DEFAULT_STARTUP_TIMEOUT_IN_MS } from "./StartupOptions.js";
19+
import { AzureAppConfiguration, ConfigurationObjectConstructionOptions } from "./appConfiguration.js";
20+
import { AzureAppConfigurationOptions } from "./appConfigurationOptions.js";
21+
import { IKeyValueAdapter } from "./keyValueAdapter.js";
22+
import { JsonKeyValueAdapter } from "./jsonKeyValueAdapter.js";
23+
import { DEFAULT_STARTUP_TIMEOUT_IN_MS } from "./startupOptions.js";
2424
import { DEFAULT_REFRESH_INTERVAL_IN_MS, MIN_REFRESH_INTERVAL_IN_MS } from "./refresh/refreshOptions.js";
25-
import { MIN_SECRET_REFRESH_INTERVAL_IN_MS } from "./keyvault/KeyVaultOptions.js";
25+
import { MIN_SECRET_REFRESH_INTERVAL_IN_MS } from "./keyvault/keyVaultOptions.js";
2626
import { Disposable } from "./common/disposable.js";
2727
import {
2828
FEATURE_FLAGS_KEY_NAME,
@@ -41,8 +41,8 @@ import {
4141
} from "./featureManagement/constants.js";
4242
import { FM_PACKAGE_NAME, AI_MIME_PROFILE, AI_CHAT_COMPLETION_MIME_PROFILE } from "./requestTracing/constants.js";
4343
import { parseContentType, isJsonContentType, isFeatureFlagContentType, isSecretReferenceContentType } from "./common/contentType.js";
44-
import { AzureKeyVaultKeyValueAdapter } from "./keyvault/AzureKeyVaultKeyValueAdapter.js";
45-
import { RefreshTimer } from "./refresh/RefreshTimer.js";
44+
import { AzureKeyVaultKeyValueAdapter } from "./keyvault/keyVaultKeyValueAdapter.js";
45+
import { RefreshTimer } from "./refresh/refreshTimer.js";
4646
import {
4747
RequestTracingOptions,
4848
getConfigurationSettingWithTrace,
@@ -51,10 +51,10 @@ import {
5151
listConfigurationSettingsForSnapshotWithTrace,
5252
requestTracingEnabled
5353
} from "./requestTracing/utils.js";
54-
import { FeatureFlagTracingOptions } from "./requestTracing/FeatureFlagTracingOptions.js";
55-
import { AIConfigurationTracingOptions } from "./requestTracing/AIConfigurationTracingOptions.js";
54+
import { FeatureFlagTracingOptions } from "./requestTracing/featureFlagTracingOptions.js";
55+
import { AIConfigurationTracingOptions } from "./requestTracing/aiConfigurationTracingOptions.js";
5656
import { KeyFilter, LabelFilter, SettingSelector } from "./types.js";
57-
import { ConfigurationClientManager } from "./ConfigurationClientManager.js";
57+
import { ConfigurationClientManager } from "./configurationClientManager.js";
5858
import { getFixedBackoffDuration, getExponentialBackoffDuration } from "./common/backoffUtils.js";
5959
import { InvalidOperationError, ArgumentError, isFailoverableError, isInputError } from "./common/error.js";
6060

src/AzureAppConfigurationOptions.ts renamed to src/appConfigurationOptions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
// Licensed under the MIT license.
33

44
import { AppConfigurationClientOptions } from "@azure/app-configuration";
5-
import { KeyVaultOptions } from "./keyvault/KeyVaultOptions.js";
5+
import { KeyVaultOptions } from "./keyvault/keyVaultOptions.js";
66
import { RefreshOptions } from "./refresh/refreshOptions.js";
77
import { SettingSelector } from "./types.js";
88
import { FeatureFlagOptions } from "./featureManagement/FeatureFlagOptions.js";
9-
import { StartupOptions } from "./StartupOptions.js";
9+
import { StartupOptions } from "./startupOptions.js";
1010

1111
export interface AzureAppConfigurationOptions {
1212
/**

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT license.
33

4-
export { AzureAppConfiguration } from "./AzureAppConfiguration.js";
4+
export { AzureAppConfiguration } from "./appConfiguration.js";
55
export { Disposable } from "./common/disposable.js";
66
export { load } from "./load.js";
77
export { KeyFilter, LabelFilter } from "./types.js";
File renamed without changes.

src/keyvault/AzureKeyVaultKeyValueAdapter.ts renamed to src/keyvault/keyVaultKeyValueAdapter.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// Licensed under the MIT license.
33

44
import { ConfigurationSetting, isSecretReference, parseSecretReference } from "@azure/app-configuration";
5-
import { IKeyValueAdapter } from "../IKeyValueAdapter.js";
6-
import { AzureKeyVaultSecretProvider } from "./AzureKeyVaultSecretProvider.js";
7-
import { KeyVaultOptions } from "./KeyVaultOptions.js";
8-
import { RefreshTimer } from "../refresh/RefreshTimer.js";
5+
import { IKeyValueAdapter } from "../keyValueAdapter.js";
6+
import { AzureKeyVaultSecretProvider } from "./keyVaultSecretProvider.js";
7+
import { KeyVaultOptions } from "./keyVaultOptions.js";
8+
import { RefreshTimer } from "../refresh/refreshTimer.js";
99
import { ArgumentError, KeyVaultReferenceError } from "../common/error.js";
1010
import { KeyVaultSecretIdentifier, parseKeyVaultSecretIdentifier } from "@azure/keyvault-secrets";
1111
import { isRestError } from "@azure/core-rest-pipeline";

src/keyvault/AzureKeyVaultSecretProvider.ts renamed to src/keyvault/keyVaultSecretProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT license.
33

4-
import { KeyVaultOptions } from "./KeyVaultOptions.js";
5-
import { RefreshTimer } from "../refresh/RefreshTimer.js";
4+
import { KeyVaultOptions } from "./keyVaultOptions.js";
5+
import { RefreshTimer } from "../refresh/refreshTimer.js";
66
import { ArgumentError } from "../common/error.js";
77
import { SecretClient, KeyVaultSecretIdentifier } from "@azure/keyvault-secrets";
88

src/load.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// Licensed under the MIT license.
33

44
import { TokenCredential } from "@azure/identity";
5-
import { AzureAppConfiguration } from "./AzureAppConfiguration.js";
6-
import { AzureAppConfigurationImpl } from "./AzureAppConfigurationImpl.js";
7-
import { AzureAppConfigurationOptions } from "./AzureAppConfigurationOptions.js";
8-
import { ConfigurationClientManager } from "./ConfigurationClientManager.js";
5+
import { AzureAppConfiguration } from "./appConfiguration.js";
6+
import { AzureAppConfigurationImpl } from "./appConfigurationImpl.js";
7+
import { AzureAppConfigurationOptions } from "./appConfigurationOptions.js";
8+
import { ConfigurationClientManager } from "./configurationClientManager.js";
99
import { instanceOfTokenCredential } from "./common/utils.js";
1010

1111
const MIN_DELAY_FOR_UNHANDLED_ERROR_IN_MS: number = 5_000;

0 commit comments

Comments
 (0)