Function useMetadataStore
- useMetadataStore(pinia?, hot?): Store<"metadata", _UnwrapAll<Pick<{
response: Ref<{
coordinates: never[];
type: string;
}, {
coordinates: never[];
type: string;
} | {
coordinates: never[];
type: string;
}>;
status: Ref<string, string>;
}, "status" | "response">>, Pick<{
response: Ref<{
coordinates: never[];
type: string;
}, {
coordinates: never[];
type: string;
} | {
coordinates: never[];
type: string;
}>;
status: Ref<string, string>;
}, never>, Pick<{
response: Ref<{
coordinates: never[];
type: string;
}, {
coordinates: never[];
type: string;
} | {
coordinates: never[];
type: string;
}>;
status: Ref<string, string>;
}, never>> Parameters
Optional
pinia: null | PiniaOptional
hot: StoreGeneric
Returns Store<"metadata", _UnwrapAll<Pick<{
response: Ref<{
coordinates: never[];
type: string;
}, {
coordinates: never[];
type: string;
} | {
coordinates: never[];
type: string;
}>;
status: Ref<string, string>;
}, "status" | "response">>, Pick<{
response: Ref<{
coordinates: never[];
type: string;
}, {
coordinates: never[];
type: string;
} | {
coordinates: never[];
type: string;
}>;
status: Ref<string, string>;
}, never>, Pick<{
response: Ref<{
coordinates: never[];
type: string;
}, {
coordinates: never[];
type: string;
} | {
coordinates: never[];
type: string;
}>;
status: Ref<string, string>;
}, never>>
Properties
$id
$id: "metadata"
Returns a store, creates it if necessary.