@stackone/core 2.73.0 → 2.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2217,14 +2217,9 @@ type AuthenticationNoticeBottom = {
2217
2217
  position: 'bottom';
2218
2218
  };
2219
2219
  type AuthenticationNotice = AuthenticationNoticeTop | AuthenticationNoticeBottom;
2220
- type AuthenticationField = {
2220
+ type AuthenticationFieldBase = {
2221
2221
  key: string;
2222
2222
  label: string;
2223
- type: 'text' | 'password' | 'select';
2224
- options?: {
2225
- value: string;
2226
- label: string;
2227
- }[];
2228
2223
  required: boolean;
2229
2224
  secret: boolean;
2230
2225
  readOnly: boolean;
@@ -2235,6 +2230,16 @@ type AuthenticationField = {
2235
2230
  value?: string;
2236
2231
  computed?: boolean;
2237
2232
  };
2233
+ type AuthenticationField = (AuthenticationFieldBase & {
2234
+ type: 'text' | 'password' | 'text_area';
2235
+ options?: never;
2236
+ }) | (AuthenticationFieldBase & {
2237
+ type: 'select';
2238
+ options: {
2239
+ value: string;
2240
+ label: string;
2241
+ }[];
2242
+ });
2238
2243
  type SupportConfig = {
2239
2244
  link?: string;
2240
2245
  description?: string;
package/dist/index.d.mts CHANGED
@@ -2216,14 +2216,9 @@ type AuthenticationNoticeBottom = {
2216
2216
  position: 'bottom';
2217
2217
  };
2218
2218
  type AuthenticationNotice = AuthenticationNoticeTop | AuthenticationNoticeBottom;
2219
- type AuthenticationField = {
2219
+ type AuthenticationFieldBase = {
2220
2220
  key: string;
2221
2221
  label: string;
2222
- type: 'text' | 'password' | 'select';
2223
- options?: {
2224
- value: string;
2225
- label: string;
2226
- }[];
2227
2222
  required: boolean;
2228
2223
  secret: boolean;
2229
2224
  readOnly: boolean;
@@ -2234,6 +2229,16 @@ type AuthenticationField = {
2234
2229
  value?: string;
2235
2230
  computed?: boolean;
2236
2231
  };
2232
+ type AuthenticationField = (AuthenticationFieldBase & {
2233
+ type: 'text' | 'password' | 'text_area';
2234
+ options?: never;
2235
+ }) | (AuthenticationFieldBase & {
2236
+ type: 'select';
2237
+ options: {
2238
+ value: string;
2239
+ label: string;
2240
+ }[];
2241
+ });
2237
2242
  type SupportConfig = {
2238
2243
  link?: string;
2239
2244
  description?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/core",
3
- "version": "2.73.0",
3
+ "version": "2.74.0",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",