@aerogel/plugin-solid 0.1.1 → 0.1.2-next.0532ffc3845be5e86d770e8e823f5216ef34dfbf
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/aerogel-plugin-solid.d.ts +4 -2
- package/dist/aerogel-plugin-solid.js +206 -177
- package/dist/aerogel-plugin-solid.js.map +1 -1
- package/package.json +5 -3
- package/src/auth/Authenticator.ts +2 -2
- package/src/components/SolidImage.vue +1 -1
- package/src/forms/validation.ts +3 -3
- package/src/index.ts +5 -2
- package/src/services/Solid.state.ts +2 -1
- package/src/services/Solid.ts +56 -5
- package/src/types/env.d.ts +1 -0
|
@@ -8,7 +8,6 @@ import { Facade } from '@noeldemartin/utils';
|
|
|
8
8
|
import { Fetch } from 'soukai-solid';
|
|
9
9
|
import { Fetch as Fetch_2 } from '@noeldemartin/solid-utils';
|
|
10
10
|
import { FluentArray } from '@noeldemartin/utils';
|
|
11
|
-
import { GetClosureArgs } from '@noeldemartin/utils';
|
|
12
11
|
import { HTMLAttributes } from 'vue';
|
|
13
12
|
import { JSError } from '@noeldemartin/utils';
|
|
14
13
|
import { JSErrorOptions } from '@noeldemartin/utils';
|
|
@@ -113,6 +112,7 @@ profiles: Record<string, SolidUserProfile>;
|
|
|
113
112
|
session: AuthSession | null;
|
|
114
113
|
loginStale: boolean;
|
|
115
114
|
staleProfiles: string[];
|
|
115
|
+
collections: Record<string, string[]>;
|
|
116
116
|
}, {
|
|
117
117
|
user: SolidUserProfile | null;
|
|
118
118
|
authenticator: Authenticator | null;
|
|
@@ -135,6 +135,7 @@ profiles: Record<string, SolidUserProfile>;
|
|
|
135
135
|
session: AuthSession | null;
|
|
136
136
|
loginStale: boolean;
|
|
137
137
|
staleProfiles: string[];
|
|
138
|
+
collections: Record<string, string[]>;
|
|
138
139
|
}>>;
|
|
139
140
|
|
|
140
141
|
export declare function getAuthenticator<T extends AuthenticatorName>(name: T): Authenticators[T];
|
|
@@ -162,7 +163,7 @@ declare class LegacyAuthenticator extends Authenticator {
|
|
|
162
163
|
|
|
163
164
|
declare type ListenerEvent = keyof AuthenticatorListener;
|
|
164
165
|
|
|
165
|
-
declare type ListenerEventPayload<Event extends ListenerEvent, Callback = AuthenticatorListener[Event]> = Callback extends Closure ?
|
|
166
|
+
declare type ListenerEventPayload<Event extends ListenerEvent, Callback = AuthenticatorListener[Event]> = Callback extends Closure ? Parameters<Callback> : never;
|
|
166
167
|
|
|
167
168
|
export declare type LoginOptions = NullablePartial<{
|
|
168
169
|
authenticator: AuthenticatorName;
|
|
@@ -252,6 +253,7 @@ export declare class SolidService extends _default {
|
|
|
252
253
|
private forcingReconnect;
|
|
253
254
|
private bootAuthenticator;
|
|
254
255
|
private rememberProfile;
|
|
256
|
+
private trackSolidModels;
|
|
255
257
|
}
|
|
256
258
|
|
|
257
259
|
export declare type SolidServices = typeof services;
|