Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const settings = {
maxUtteranceAllowed: 15000,
},
skill: {},
customizedFunctions: [],
customFunctions: [],
};

describe('setting dispatcher', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const validateExpressions: ValidateFunc = (
lgFiles: LgFile[]
) => {
const expressions = searchExpressions(path, value, type, schema);
const customFunctions = searchLgCustomFunction(lgFiles).concat(settings.customizedFunctions);
const customFunctions = searchLgCustomFunction(lgFiles).concat(settings.customFunctions);

const diagnostics = expressions.reduce((diagnostics: Diagnostic[], expression) => {
const diagnostic = validate(expression, customFunctions);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const newSettingsValuePath = [
'luis.endpoint',
'luis.authoringEndpoint',
'skillConfiguration',
'customizedFunctions',
'customFunctions',
];

export class DefaultSettingManager extends FileSettingManager {
Expand Down Expand Up @@ -96,7 +96,7 @@ export class DefaultSettingManager extends FileSettingManager {
skill: {},
defaultLanguage: 'en-us',
languages: ['en-us'],
customizedFunctions: [],
customFunctions: [],
importedLibraries: [],
};
};
Expand Down
2 changes: 1 addition & 1 deletion Composer/packages/types/src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export type DialogSetting = {
};
botId?: string;
skillHostEndpoint?: string;
customizedFunctions: string[];
customFunctions: string[];
[key: string]: any;
};

Expand Down