diff --git a/docs/configurator/libraries/methods/configuration.ts b/docs/configurator/libraries/methods/configuration.ts index d20dbc9fc..23ac7daa1 100644 --- a/docs/configurator/libraries/methods/configuration.ts +++ b/docs/configurator/libraries/methods/configuration.ts @@ -27,7 +27,7 @@ export default [ }, { "methodName": "updateRequirement", - "description": "Updates a requirement on the this configuration. This can be used to (de)select a feature or set a value on a feature.", + "description": "Updates a requirement on this configuration. This can be used to (de)select a feature or set a value on a feature.", "example": { "content": "const nodeId = '00000000-0000-0000-0000-000000000000';\nconst value = 1;\nconst isSelection = true;\n\nawait configuration.updateRequirement(nodeId, isSelection, value);\n", "language": "typescript" diff --git a/docs/configurator/libraries/methods/configuratorContext.ts b/docs/configurator/libraries/methods/configuratorContext.ts index 34d868092..3bdebd6ef 100644 --- a/docs/configurator/libraries/methods/configuratorContext.ts +++ b/docs/configurator/libraries/methods/configuratorContext.ts @@ -1,16 +1,13 @@ export default [ { "methodName": "constructor", - "description": "Initializes a new instance with the provided options.", - "example": { - "content": "import { ConfiguratorContext, AuthenticationMethod } from '@elfsquad/configurator';\n\nconst context = new ConfiguratorContext({\n authenticationMethod: AuthenticationMethod.ANONYMOUS,\n tenantId: 'your-tenant-id',\n});\n", - "language": "typescript" - }, + "description": "", + "example": null, "parameters": [ { "name": "_options", "type": "IConfiguratorOptions", - "description": "The options that are used to configure the context.", + "description": "", "required": true, "parameters": [ { @@ -99,7 +96,7 @@ export default [ "name": "language", "type": "string", "description": "The language to start the configuration in.", - "required": true, + "required": false, "parameters": [] }, { @@ -164,7 +161,7 @@ export default [ "name": "language", "type": "string", "description": "The language is used for retrieving localized texts.", - "required": true, + "required": false, "parameters": [] } ], @@ -517,7 +514,7 @@ export default [ "name": "configurationIds", "type": "string[]", "description": "The configuration ids. If not provided, the root configuration id will be used.", - "required": true, + "required": false, "parameters": [] } ], @@ -560,7 +557,7 @@ export default [ }, { "name": "object", - "type": "any", + "type": "unknown", "description": "", "required": true, "parameters": []