• Returns a store, creates it if necessary.

    Parameters

    • Optional pinia: null | Pinia

      Pinia instance to retrieve the store

    • Optional hot: StoreGeneric

      dev only hot module replacement

    Returns Store<"extentguard", _UnwrapAll<Pick<{
        active: Ref<boolean>;
        alwaysOn: Ref<boolean>;
        enforcing: Ref<boolean>;
        extentSetIds: Ref<string[]>;
        setActive: ((value) => void);
        setAlwaysOn: ((value) => void);
        setEnforcing: ((value) => void);
        setExtentSetIds: ((value) => void);
    }, "active" | "enforcing" | "alwaysOn" | "extentSetIds">>, Pick<{
        active: Ref<boolean>;
        alwaysOn: Ref<boolean>;
        enforcing: Ref<boolean>;
        extentSetIds: Ref<string[]>;
        setActive: ((value) => void);
        setAlwaysOn: ((value) => void);
        setEnforcing: ((value) => void);
        setExtentSetIds: ((value) => void);
    }, never>, Pick<{
        active: Ref<boolean>;
        alwaysOn: Ref<boolean>;
        enforcing: Ref<boolean>;
        extentSetIds: Ref<string[]>;
        setActive: ((value) => void);
        setAlwaysOn: ((value) => void);
        setEnforcing: ((value) => void);
        setExtentSetIds: ((value) => void);
    }, "setActive" | "setEnforcing" | "setAlwaysOn" | "setExtentSetIds">>

Generated using TypeDoc