You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
521 B
17 lines
521 B
import { createLdoSvelteMethods } from "@ldo/svelte";
|
|
import { solidConnectedPlugin } from "@ldo/connected-solid";
|
|
|
|
export const {
|
|
dataset,
|
|
useLdo,
|
|
useMatchObject,
|
|
useMatchSubject,
|
|
useResource,
|
|
useSubject,
|
|
useSubscribeToResource,
|
|
useLinkQuery,
|
|
} = createLdoSvelteMethods([solidConnectedPlugin]);
|
|
|
|
// At some point when you log in, you'll need to set context on the dataset with
|
|
// the authentication information. For example, in Solid, you would run:
|
|
// dataset.setContext("solid", { fetch: authFetch });
|
|
|