pinia-plugin-subscription 0.1.0 → 0.1.2
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/CHANGELOG.md +62 -0
- package/CONTRIBUTING.md +142 -0
- package/LICENSE +21 -21
- package/README.md +5 -1
- package/SECURITY.md +75 -0
- package/dist/pinia-plugin-subscription.js +549 -512
- package/dist/pinia-plugin-subscription.umd.cjs +4 -4
- package/dist/types/index.d.ts +121 -129
- package/package.json +73 -61
- package/dist/types/log.d.ts +0 -8
- package/dist/types/plugin.d.ts +0 -34
- package/dist/types/resourceId.d.ts +0 -4
- package/dist/types/store.d.ts +0 -15
package/dist/types/store.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { AnyObject } from ".";
|
|
2
|
-
import type { PiniaCustomProperties, Store, StoreDefinition } from "pinia";
|
|
3
|
-
import type { Ref } from "vue";
|
|
4
|
-
export type CustomStore<TStore, TState> = Store & TStore & TState & PiniaCustomProperties & StoreDefinition;
|
|
5
|
-
export type DefineAugmentedStore<TStore, TState> = (args?: any) => CustomStore<TStore, TState>;
|
|
6
|
-
export type ObjectBaseProperty = Record<string, OptionBaseProperty | OptionBaseProperty[]>;
|
|
7
|
-
export type OptionBaseProperty = string | number | boolean | null | undefined | object | Function;
|
|
8
|
-
export interface PluginStoreOptions {
|
|
9
|
-
storeOptions: StoreOptions;
|
|
10
|
-
}
|
|
11
|
-
export type StatePropertyValue = StdStatePropertyValue | Ref<StdStatePropertyValue> | StdStatePropertyValue[] | Ref<StdStatePropertyValue[]> | Ref<StdStatePropertyValue>[];
|
|
12
|
-
type StdStatePropertyValue = AnyObject | boolean | null | number | string | undefined;
|
|
13
|
-
export type StoreOptions = Record<string, StoreOptionsPropertyValue>;
|
|
14
|
-
export type StoreOptionsPropertyValue = OptionBaseProperty | OptionBaseProperty[] | ObjectBaseProperty | ObjectBaseProperty[];
|
|
15
|
-
export {};
|