@mparticle/data-planning-models
Advanced tools
Comparing version 0.0.2-alpha.3 to 0.0.3
{ | ||
"name": "@mparticle/data-planning-models", | ||
"version": "0.0.2-alpha.3", | ||
"version": "0.0.3", | ||
"description": "", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"repository": "https://github.com/mparticle/js-models/tree/master/packages/data-planning", | ||
"repository": "https://github.com/mparticle/js-models/tree/master/packages/data_planning", | ||
"files": [ | ||
@@ -9,0 +9,0 @@ "dist/" |
@@ -18,3 +18,3 @@ <img src="https://static.mparticle.com/sdk/mp_logo_black.svg" width="280"><br> | ||
```typescript | ||
import { DataPlan } from '@mparticle/data-plan-models'; | ||
import { DataPlan, DataPlanMatchType, DataPlanValidatorType } from '@mparticle/data-planning-models'; | ||
@@ -32,3 +32,3 @@ const samplePlan: DataPlan = { | ||
match: { | ||
type: 'custom_event', | ||
type: DataPlanMatchType.CustomEvent, | ||
criteria: { | ||
@@ -40,3 +40,3 @@ event_name: 'My Custom Event', | ||
validator: { | ||
type: 'json_schema', | ||
type: DataPlanValidatorType.JSONSchema, | ||
definition: { | ||
@@ -43,0 +43,0 @@ properties: {}, |
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 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
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 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
21868