lucid-extension-sdk 0.0.288 → 0.0.292
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.
|
@@ -23,7 +23,7 @@ export type SerializedFields = {
|
|
|
23
23
|
};
|
|
24
24
|
export type SerializedIsoDateObject = {
|
|
25
25
|
'isoDate': string;
|
|
26
|
-
'displayTimezone'?: string;
|
|
26
|
+
'displayTimezone'?: string | null;
|
|
27
27
|
};
|
|
28
28
|
export type SerializedMillisecondsDateObject = {
|
|
29
29
|
'ms': number;
|
|
@@ -102,7 +102,7 @@ export declare const isSerializedLucidDateObject: (x: unknown) => x is import(".
|
|
|
102
102
|
isDateOnly: (x: unknown) => x is boolean | undefined;
|
|
103
103
|
}> | import("../../guards").DestructureGuardedTypeObj<{
|
|
104
104
|
isoDate: typeof isString;
|
|
105
|
-
displayTimezone: (x: unknown) => x is string | undefined;
|
|
105
|
+
displayTimezone: (x: unknown) => x is string | null | undefined;
|
|
106
106
|
}>;
|
|
107
107
|
export declare const isSerializedTimeObject: (subject: unknown) => subject is import("../../guards").DestructureGuardedTypeObj<{
|
|
108
108
|
hours: typeof isNumber;
|
|
@@ -26,7 +26,7 @@ exports.isSerializedMillisecondsDateObject = (0, validators_1.objectValidator)({
|
|
|
26
26
|
});
|
|
27
27
|
const isSerializedIsoDateObject = (0, validators_1.objectValidator)({
|
|
28
28
|
'isoDate': checks_1.isString,
|
|
29
|
-
'displayTimezone': (0, validators_1.
|
|
29
|
+
'displayTimezone': (0, validators_1.nullableOption)(checks_1.isString),
|
|
30
30
|
});
|
|
31
31
|
exports.isSerializedLucidDateObject = (0, validators_1.either)(exports.isSerializedMillisecondsDateObject, isSerializedIsoDateObject);
|
|
32
32
|
exports.isSerializedTimeObject = (0, validators_1.objectValidator)({
|
|
@@ -72,10 +72,10 @@ export declare class ItemsPatchInexhaustive {
|
|
|
72
72
|
export declare class ItemsPatchExhaustive {
|
|
73
73
|
items: Map<string, SerializedFields>;
|
|
74
74
|
rekeyingMap?: Map<string, string | null> | undefined;
|
|
75
|
-
fieldNamesChanged?: Map<string, string> | undefined;
|
|
75
|
+
fieldNamesChanged?: Map<string, string | null> | undefined;
|
|
76
76
|
errors?: Map<string, SerializedLucidDictionary> | undefined;
|
|
77
77
|
private readonly _brand;
|
|
78
|
-
constructor(items: Map<string, SerializedFields>, rekeyingMap?: Map<string, string | null> | undefined, fieldNamesChanged?: Map<string, string> | undefined, errors?: Map<string, SerializedLucidDictionary> | undefined);
|
|
78
|
+
constructor(items: Map<string, SerializedFields>, rekeyingMap?: Map<string, string | null> | undefined, fieldNamesChanged?: Map<string, string | null> | undefined, errors?: Map<string, SerializedLucidDictionary> | undefined);
|
|
79
79
|
}
|
|
80
80
|
export type ItemsPatch = {
|
|
81
81
|
/**
|
|
@@ -95,7 +95,7 @@ export type SerializedItemsPatch = {
|
|
|
95
95
|
} | {
|
|
96
96
|
'exhaustiveItems': Record<string, SerializedFields>;
|
|
97
97
|
'rekeyingMap'?: Record<string, string | null>;
|
|
98
|
-
'fieldNamesChanged'?: Record<string, string>;
|
|
98
|
+
'fieldNamesChanged'?: Record<string, string | null>;
|
|
99
99
|
'errors'?: Record<string, SerializedLucidDictionary>;
|
|
100
100
|
};
|
|
101
101
|
export declare function serializeItemsPatch(patch: ItemsPatch): SerializedItemsPatch;
|