@shipstatic/types 0.3.11 → 0.3.12
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.ts +7 -6
- package/package.json +1 -1
- package/src/index.ts +7 -6
package/dist/index.d.ts
CHANGED
|
@@ -157,20 +157,21 @@ export declare const AccountPlan: {
|
|
|
157
157
|
export type AccountPlanType = typeof AccountPlan[keyof typeof AccountPlan];
|
|
158
158
|
/**
|
|
159
159
|
* Core account object - used in both API responses and SDK
|
|
160
|
+
* All fields are readonly to prevent accidental mutations
|
|
160
161
|
*/
|
|
161
162
|
export interface Account {
|
|
162
163
|
/** User email address */
|
|
163
|
-
email: string;
|
|
164
|
+
readonly email: string;
|
|
164
165
|
/** User display name */
|
|
165
|
-
name: string;
|
|
166
|
+
readonly name: string;
|
|
166
167
|
/** User profile picture URL */
|
|
167
|
-
picture?: string;
|
|
168
|
+
readonly picture?: string;
|
|
168
169
|
/** Account plan status */
|
|
169
|
-
plan: AccountPlanType;
|
|
170
|
+
readonly plan: AccountPlanType;
|
|
170
171
|
/** Unix timestamp (seconds) when account was created */
|
|
171
|
-
created: number;
|
|
172
|
+
readonly created: number;
|
|
172
173
|
/** Unix timestamp (seconds) when account was activated (first deployment) */
|
|
173
|
-
activated?: number;
|
|
174
|
+
readonly activated?: number;
|
|
174
175
|
}
|
|
175
176
|
/**
|
|
176
177
|
* Account-specific configuration overrides
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -189,20 +189,21 @@ export type AccountPlanType = typeof AccountPlan[keyof typeof AccountPlan];
|
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* Core account object - used in both API responses and SDK
|
|
192
|
+
* All fields are readonly to prevent accidental mutations
|
|
192
193
|
*/
|
|
193
194
|
export interface Account {
|
|
194
195
|
/** User email address */
|
|
195
|
-
email: string;
|
|
196
|
+
readonly email: string;
|
|
196
197
|
/** User display name */
|
|
197
|
-
name: string;
|
|
198
|
+
readonly name: string;
|
|
198
199
|
/** User profile picture URL */
|
|
199
|
-
picture?: string;
|
|
200
|
+
readonly picture?: string;
|
|
200
201
|
/** Account plan status */
|
|
201
|
-
plan: AccountPlanType;
|
|
202
|
+
readonly plan: AccountPlanType;
|
|
202
203
|
/** Unix timestamp (seconds) when account was created */
|
|
203
|
-
created: number;
|
|
204
|
+
readonly created: number;
|
|
204
205
|
/** Unix timestamp (seconds) when account was activated (first deployment) */
|
|
205
|
-
activated?: number;
|
|
206
|
+
readonly activated?: number;
|
|
206
207
|
}
|
|
207
208
|
|
|
208
209
|
/**
|