Skip to content

Commit 549ee4f

Browse files
Polishing
1 parent ecae2b2 commit 549ee4f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

types/splitio.d.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ interface ISharedSettings {
8484
urls?: SplitIO.UrlSettings;
8585
}
8686
/**
87-
* Common settings properties for SDKs with synchronous API (standalone and localhost modes).
87+
* Common settings properties for SDKs with synchronous API (standalone and localhost modes).
8888
*/
8989
interface ISyncSharedSettings extends ISharedSettings {
9090
/**
@@ -117,9 +117,9 @@ interface ISyncSharedSettings extends ISharedSettings {
117117
};
118118
}
119119
/**
120-
* Common settings properties for SDKs with pluggable configuration.
120+
* Common settings properties for SDKs with pluggable options.
121121
*/
122-
interface IPluggableSettings {
122+
interface IPluggableSharedSettings {
123123
/**
124124
* Boolean value to indicate whether the logger should be enabled or disabled by default, or a log level string or a Logger object.
125125
* Passing a logger object is required to get descriptive log messages. Otherwise most logs will print with message codes.
@@ -143,9 +143,9 @@ interface IPluggableSettings {
143143
integrations?: SplitIO.IntegrationFactory[];
144144
}
145145
/**
146-
* Common settings properties for SDKs without pluggable configuration.
146+
* Common settings properties for SDKs without pluggable options.
147147
*/
148-
interface INonPluggableSettings {
148+
interface INonPluggableSharedSettings {
149149
/**
150150
* Boolean value to indicate whether the logger should be enabled or disabled, or a log level string.
151151
*
@@ -160,7 +160,7 @@ interface INonPluggableSettings {
160160
debug?: boolean | SplitIO.LogLevel;
161161
}
162162
/**
163-
* Common settings properties for server-side SDKs.
163+
* Common settings properties for SDKs with server-side API.
164164
*/
165165
interface IServerSideSharedSettings {
166166
/**
@@ -295,7 +295,7 @@ interface IServerSideSharedSettings {
295295
features?: SplitIO.MockedFeaturesFilePath;
296296
}
297297
/**
298-
* Common settings properties for client-side SDKs.
298+
* Common settings properties for SDKs with client-side API.
299299
*/
300300
interface IClientSideSharedSettings {
301301
/**
@@ -333,7 +333,7 @@ interface IClientSideSharedSettings {
333333
userConsent?: SplitIO.ConsentStatus;
334334
}
335335
/**
336-
* Common settings properties for client-side standalone SDKs.
336+
* Common settings properties for SDKs with client-side and synchronous API (standalone and localhost modes).
337337
*/
338338
interface IClientSideSyncSharedSettings extends IClientSideSharedSettings, ISyncSharedSettings {
339339
/**
@@ -1096,7 +1096,7 @@ declare namespace SplitIO {
10961096
*
10971097
* @see {@link https://help.split.io/hc/en-us/articles/360058730852-Browser-SDK#configuration}
10981098
*/
1099-
interface IClientSideSettings extends IClientSideSyncSharedSettings, IPluggableSettings {
1099+
interface IClientSideSettings extends IClientSideSyncSharedSettings, IPluggableSharedSettings {
11001100
/**
11011101
* Defines the factory function to instantiate the storage. If not provided, the default in-memory storage is used.
11021102
*
@@ -1124,7 +1124,7 @@ declare namespace SplitIO {
11241124
*
11251125
* @see {@link https://help.split.io/hc/en-us/articles/360058730852-Browser-SDK#sharing-state-with-a-pluggable-storage}
11261126
*/
1127-
interface IClientSideAsyncSettings extends IClientSideSharedSettings, ISharedSettings, IPluggableSettings {
1127+
interface IClientSideAsyncSettings extends IClientSideSharedSettings, ISharedSettings, IPluggableSharedSettings {
11281128
/**
11291129
* The SDK mode. When using `PluggableStorage` as storage, the possible values are "consumer" and "consumer_partial".
11301130
*
@@ -1216,7 +1216,7 @@ declare namespace SplitIO {
12161216
*
12171217
* @see {@link https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK#configuration}
12181218
*/
1219-
interface IBrowserSettings extends IClientSideSyncSharedSettings, INonPluggableSettings {
1219+
interface IBrowserSettings extends IClientSideSyncSharedSettings, INonPluggableSharedSettings {
12201220
/**
12211221
* Defines which kind of storage we can instantiate on the browser.
12221222
* Possible storage types are 'MEMORY', which is the default, and 'LOCALSTORAGE'.
@@ -1242,7 +1242,7 @@ declare namespace SplitIO {
12421242
*
12431243
* @see {@link https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK#configuration}
12441244
*/
1245-
interface INodeSettings extends IServerSideSharedSettings, ISyncSharedSettings, INonPluggableSettings {
1245+
interface INodeSettings extends IServerSideSharedSettings, ISyncSharedSettings, INonPluggableSharedSettings {
12461246
/**
12471247
* Defines which kind of storage we can instantiate on NodeJS for 'standalone' mode.
12481248
* The only possible storage type is 'MEMORY', which is the default.
@@ -1324,7 +1324,7 @@ declare namespace SplitIO {
13241324
*
13251325
* @see {@link https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK#configuration}
13261326
*/
1327-
interface INodeAsyncSettings extends IServerSideSharedSettings, ISharedSettings, INonPluggableSettings {
1327+
interface INodeAsyncSettings extends IServerSideSharedSettings, ISharedSettings, INonPluggableSharedSettings {
13281328
/**
13291329
* The SDK mode. When using 'REDIS' storage type, the only possible value is "consumer", which is required.
13301330
*

0 commit comments

Comments
 (0)