@player-ui/types
Advanced tools
Comparing version 0.8.0--canary.307.9645 to 0.8.0--canary.410.15865
@@ -1,32 +0,32 @@ | ||
const Asset = require('./Asset.json') | ||
const AssetBinding = require('./AssetBinding.json') | ||
const SwitchCase = require('./SwitchCase.json') | ||
const Switch = require('./Switch.json') | ||
const AssetWrapper = require('./AssetWrapper.json') | ||
const AssetWrapperOrSwitch = require('./AssetWrapperOrSwitch.json') | ||
const AssetSwitch = require('./AssetSwitch.json') | ||
const StaticSwitch = require('./StaticSwitch.json') | ||
const DynamicSwitch = require('./DynamicSwitch.json') | ||
const Expression = require('./Expression.json') | ||
const ExpressionRef = require('./ExpressionRef.json') | ||
const Binding = require('./Binding.json') | ||
const BindingRef = require('./BindingRef.json') | ||
const DataModel = require('./DataModel.json') | ||
const Navigation = require('./Navigation.json') | ||
const ExpressionObject = require('./ExpressionObject.json') | ||
const NavigationFlow = require('./NavigationFlow.json') | ||
const NavigationFlowTransition = require('./NavigationFlowTransition.json') | ||
const NavigationBaseState = require('./NavigationBaseState.json') | ||
const NavigationFlowTransitionableState = require('./NavigationFlowTransitionableState.json') | ||
const NavigationFlowViewState = require('./NavigationFlowViewState.json') | ||
const NavigationFlowEndState = require('./NavigationFlowEndState.json') | ||
const NavigationFlowActionState = require('./NavigationFlowActionState.json') | ||
const NavigationFlowExternalState = require('./NavigationFlowExternalState.json') | ||
const NavigationFlowFlowState = require('./NavigationFlowFlowState.json') | ||
const NavigationFlowState = require('./NavigationFlowState.json') | ||
const FlowResult = require('./FlowResult.json') | ||
const Templatable = require('./Templatable.json') | ||
const Template = require('./Template.json') | ||
const View = require('./View.json') | ||
const Flow = require('./Flow.json') | ||
const Asset = require("./Asset.json") | ||
const AssetBinding = require("./AssetBinding.json") | ||
const SwitchCase = require("./SwitchCase.json") | ||
const Switch = require("./Switch.json") | ||
const AssetWrapper = require("./AssetWrapper.json") | ||
const AssetWrapperOrSwitch = require("./AssetWrapperOrSwitch.json") | ||
const AssetSwitch = require("./AssetSwitch.json") | ||
const StaticSwitch = require("./StaticSwitch.json") | ||
const DynamicSwitch = require("./DynamicSwitch.json") | ||
const Expression = require("./Expression.json") | ||
const ExpressionRef = require("./ExpressionRef.json") | ||
const Binding = require("./Binding.json") | ||
const BindingRef = require("./BindingRef.json") | ||
const DataModel = require("./DataModel.json") | ||
const Navigation = require("./Navigation.json") | ||
const ExpressionObject = require("./ExpressionObject.json") | ||
const NavigationFlow = require("./NavigationFlow.json") | ||
const NavigationFlowTransition = require("./NavigationFlowTransition.json") | ||
const NavigationBaseState = require("./NavigationBaseState.json") | ||
const NavigationFlowTransitionableState = require("./NavigationFlowTransitionableState.json") | ||
const NavigationFlowViewState = require("./NavigationFlowViewState.json") | ||
const NavigationFlowEndState = require("./NavigationFlowEndState.json") | ||
const NavigationFlowActionState = require("./NavigationFlowActionState.json") | ||
const NavigationFlowExternalState = require("./NavigationFlowExternalState.json") | ||
const NavigationFlowFlowState = require("./NavigationFlowFlowState.json") | ||
const NavigationFlowState = require("./NavigationFlowState.json") | ||
const FlowResult = require("./FlowResult.json") | ||
const Templatable = require("./Templatable.json") | ||
const Template = require("./Template.json") | ||
const View = require("./View.json") | ||
const Flow = require("./Flow.json") | ||
@@ -39,4 +39,4 @@ module.exports = { | ||
"customPrimitives": [ | ||
'Expression','Asset','Binding','AssetWrapper','Schema.DataType','ExpressionHandler' | ||
"Expression","Asset","Binding","AssetWrapper","Schema.DataType","ExpressionHandler" | ||
] | ||
} |
{ | ||
"name": "@player-ui/types", | ||
"version": "0.8.0--canary.307.9645", | ||
"private": false, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org" | ||
"version": "0.8.0--canary.410.15865", | ||
"main": "dist/cjs/index.cjs", | ||
"module": "dist/index.legacy-esm.js", | ||
"types": "types/index.d.ts", | ||
"sideEffects": false, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
"./dist/index.css": "./dist/index.css", | ||
".": { | ||
"types": "./types/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"default": "./dist/cjs/index.cjs" | ||
} | ||
}, | ||
"peerDependencies": {}, | ||
"files": [ | ||
"dist", | ||
"src", | ||
"types" | ||
], | ||
"dependencies": { | ||
"@babel/runtime": "7.15.4" | ||
"tslib": "^2.6.2" | ||
}, | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.esm.js", | ||
"typings": "dist/index.d.ts", | ||
"sideEffects": false, | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/player-ui/player-ui" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/player-ui/player-ui/issues" | ||
}, | ||
"homepage": "https://player-ui.github.io", | ||
"contributors": [ | ||
{ | ||
"name": "Adam Dierkens", | ||
"url": "https://github.com/adierkens" | ||
}, | ||
{ | ||
"name": "Spencer Hamm", | ||
"url": "https://github.com/spentacular" | ||
}, | ||
{ | ||
"name": "Harris Borawski", | ||
"url": "https://github.com/hborawski" | ||
}, | ||
{ | ||
"name": "Jeremiah Zucker", | ||
"url": "https://github.com/sugarmanz" | ||
}, | ||
{ | ||
"name": "Ketan Reddy", | ||
"url": "https://github.com/KetanReddy" | ||
}, | ||
{ | ||
"name": "Brocollie08", | ||
"url": "https://github.com/brocollie08" | ||
}, | ||
{ | ||
"name": "Kelly Harrop", | ||
"url": "https://github.com/kharrop" | ||
}, | ||
{ | ||
"name": "Alejandro Fimbres", | ||
"url": "https://github.com/lexfm" | ||
}, | ||
{ | ||
"name": "Rafael Campos", | ||
"url": "https://github.com/rafbcampos" | ||
} | ||
] | ||
"peerDependencies": {} | ||
} |
@@ -149,3 +149,3 @@ /** | ||
*/ | ||
exp?: T extends 'ACTION' ? Expression : never; | ||
exp?: T extends "ACTION" ? Expression : never; | ||
} | ||
@@ -162,3 +162,3 @@ | ||
export interface NavigationFlowViewState | ||
extends NavigationFlowTransitionableState<'VIEW'> { | ||
extends NavigationFlowTransitionableState<"VIEW"> { | ||
/** An id corresponding to a view from the 'views' array */ | ||
@@ -179,3 +179,3 @@ ref: string; | ||
*/ | ||
export interface NavigationFlowEndState extends NavigationBaseState<'END'> { | ||
export interface NavigationFlowEndState extends NavigationBaseState<"END"> { | ||
/** | ||
@@ -193,3 +193,3 @@ * A description of _how_ the flow ended. | ||
export interface NavigationFlowActionState | ||
extends NavigationFlowTransitionableState<'ACTION'> { | ||
extends NavigationFlowTransitionableState<"ACTION"> { | ||
/** | ||
@@ -207,3 +207,3 @@ * An expression to execute. | ||
export interface NavigationFlowExternalState | ||
extends NavigationFlowTransitionableState<'EXTERNAL'> { | ||
extends NavigationFlowTransitionableState<"EXTERNAL"> { | ||
/** A reference for this external state */ | ||
@@ -216,3 +216,3 @@ ref: string; | ||
export interface NavigationFlowFlowState | ||
extends NavigationFlowTransitionableState<'FLOW'> { | ||
extends NavigationFlowTransitionableState<"FLOW"> { | ||
/** A reference to a FLOW id state to run */ | ||
@@ -265,2 +265,3 @@ ref: string; | ||
// eslint-disable-next-line @typescript-eslint/no-namespace | ||
/** | ||
@@ -332,2 +333,3 @@ * The Schema organizes all content related to Data and it's types | ||
// eslint-disable-next-line @typescript-eslint/no-namespace | ||
/** Namespace to wrap up core functionality to be used by the Language Service */ | ||
@@ -344,2 +346,3 @@ export declare namespace Language { | ||
// eslint-disable-next-line @typescript-eslint/no-namespace | ||
/** A spot for formatting */ | ||
@@ -357,2 +360,3 @@ export declare namespace Formatting { | ||
// eslint-disable-next-line @typescript-eslint/no-namespace | ||
/** A space for all thing validation */ | ||
@@ -365,3 +369,3 @@ export declare namespace Validation { | ||
*/ | ||
export type Severity = 'error' | 'warning'; | ||
export type Severity = "error" | "warning"; | ||
@@ -375,3 +379,3 @@ /** | ||
*/ | ||
export type Trigger = 'navigation' | 'change' | 'load'; | ||
export type Trigger = "navigation" | "change" | "load"; | ||
@@ -384,3 +388,3 @@ /** | ||
*/ | ||
export type DisplayTarget = 'page' | 'section' | 'field'; | ||
export type DisplayTarget = "page" | "section" | "field"; | ||
@@ -409,3 +413,3 @@ /** A reference to a validation object */ | ||
*/ | ||
dataTarget?: 'formatted' | 'deformatted'; | ||
dataTarget?: "formatted" | "deformatted"; | ||
@@ -422,3 +426,3 @@ /** Where the error should be displayed */ | ||
*/ | ||
blocking?: boolean | 'once'; | ||
blocking?: boolean | "once"; | ||
@@ -438,3 +442,3 @@ /** Additional props to send down to a Validator */ | ||
export type View<T extends Asset = Asset> = unknown extends T['validation'] | ||
export type View<T extends Asset = Asset> = unknown extends T["validation"] | ||
? T & { | ||
@@ -441,0 +445,0 @@ /** Each view can optionally supply a list of validations to run against a particular view */ |
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
441283
41
7614
1
2
2
1
+ Addedtslib@^2.6.2
+ Addedtslib@2.8.1(transitive)
- Removed@babel/runtime@7.15.4
- Removed@babel/runtime@7.15.4(transitive)
- Removedregenerator-runtime@0.13.11(transitive)