@camstack/types 0.1.18 → 0.1.19
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/{auth-records-BpjTmlhM.mjs → auth-records-Bq2XO-Mg.mjs} +5 -3
- package/dist/{auth-records-BpjTmlhM.mjs.map → auth-records-Bq2XO-Mg.mjs.map} +1 -1
- package/dist/{auth-records-dZTcJ-2e.js → auth-records-BsSRou-O.js} +5 -3
- package/dist/{auth-records-dZTcJ-2e.js.map → auth-records-BsSRou-O.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/schemas/auth-records.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -7958,8 +7958,10 @@ const ScopedTokenSchema = z.object({
|
|
|
7958
7958
|
tokenHash: z.string(),
|
|
7959
7959
|
tokenPrefix: z.string(),
|
|
7960
7960
|
scopes: z.array(TokenScopeSchema),
|
|
7961
|
-
|
|
7962
|
-
|
|
7961
|
+
// SQLite/JSON storage round-trips undefined → null. Use `nullish` so the
|
|
7962
|
+
// schema accepts both `null` (read from disk) and `undefined` (in-memory).
|
|
7963
|
+
expiresAt: z.number().nullish(),
|
|
7964
|
+
lastUsedAt: z.number().nullish(),
|
|
7963
7965
|
createdAt: z.number()
|
|
7964
7966
|
});
|
|
7965
7967
|
export {
|
|
@@ -8302,4 +8304,4 @@ export {
|
|
|
8302
8304
|
addonsCapability as y,
|
|
8303
8305
|
zonesCapability as z
|
|
8304
8306
|
};
|
|
8305
|
-
//# sourceMappingURL=auth-records-
|
|
8307
|
+
//# sourceMappingURL=auth-records-Bq2XO-Mg.mjs.map
|