Comparing version 0.0.3 to 0.0.4
/*! | ||
* pinia v0.0.3 | ||
* (c) 2019 Eduardo San Martin Morote | ||
* pinia v0.0.4 | ||
* (c) 2020 Eduardo San Martin Morote | ||
* @license MIT | ||
@@ -5,0 +5,0 @@ */ |
/*! | ||
* pinia v0.0.3 | ||
* (c) 2019 Eduardo San Martin Morote | ||
* pinia v0.0.4 | ||
* (c) 2020 Eduardo San Martin Morote | ||
* @license MIT | ||
@@ -5,0 +5,0 @@ */ |
/*! | ||
* pinia v0.0.3 | ||
* (c) 2019 Eduardo San Martin Morote | ||
* pinia v0.0.4 | ||
* (c) 2020 Eduardo San Martin Morote | ||
* @license MIT | ||
@@ -5,0 +5,0 @@ */ |
/*! | ||
* pinia v0.0.3 | ||
* (c) 2019 Eduardo San Martin Morote | ||
* pinia v0.0.4 | ||
* (c) 2020 Eduardo San Martin Morote | ||
* @license MIT | ||
@@ -5,0 +5,0 @@ */ |
/*! | ||
* pinia v0.0.3 | ||
* (c) 2019 Eduardo San Martin Morote | ||
* pinia v0.0.4 | ||
* (c) 2020 Eduardo San Martin Morote | ||
* @license MIT | ||
@@ -5,0 +5,0 @@ */ |
import { Ref } from '@vue/composition-api'; | ||
interface JSONSerializable { | ||
toJSON(): string; | ||
} | ||
export declare type StateTreeValue = string | symbol | number | boolean | null | void | Function | StateTree | StateTreeArray | JSONSerializable; | ||
export interface StateTree extends Record<string | number | symbol, StateTreeValue> { | ||
} | ||
export declare type StateTree = Record<string | number | symbol, any>; | ||
export declare function isPlainObject(o: any): o is StateTree; | ||
interface StateTreeArray extends Array<StateTreeValue> { | ||
} | ||
export interface StoreGetter<S extends StateTree, T = any> { | ||
@@ -65,2 +58,1 @@ (state: S): T; | ||
} | ||
export {}; |
{ | ||
"name": "pinia", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Some awesome description", | ||
@@ -5,0 +5,0 @@ "main": "dist/pinia.common.js", |
# Pinia [![Build Status](https://badgen.net/circleci/github/posva/pinia/master)](https://circleci.com/gh/posva/pinia) [![npm package](https://badgen.net/npm/v/pinia)](https://www.npmjs.com/package/pinia) [![coverage](https://badgen.net/codecov/c/github/posva/pinia/master)](https://codecov.io/github/posva/pinia) [![thanks](https://badgen.net/badge/thanks/♥/pink)](https://github.com/posva/thanks) | ||
> Pronounced like the fruit, in Spanish _Piña_ | ||
> Pronounced like the fruit in Spanish, _Piña_ | ||
> | ||
> _Piña_ is also an invalid package name... that's why it has to be _pinia_ | ||
> _Piña_ is also an invalid package name... that's why it has to be _pinia_ which sounds very similar | ||
🍍Automatically Typed, Modular and lightweight (but **Experimental**) Store for Vue based on the composition api with devtools support | ||
Demo (TODO link) | ||
[Demo](https://usq69.csb.app/) | ||
@@ -11,0 +11,0 @@ ⚠️⚠️⚠️ This project is experimental, it's an exploration of what a _Store_ could be like using [the composition api](https://vue-composition-api-rfc.netlify.com). It works for Vue 2 by using the [official library](https://github.com/vuejs/composition-api). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46266
753