@mozilla/nimbus-shared
Advanced tools
Comparing version 1.3.0 to 1.3.1
import { SchemaResult } from "../typeGuards"; | ||
import type { NimbusExperiment } from "../../types/experiments"; | ||
import type { Feature } from "../../types/features"; | ||
import type { SimpleCFRMessage, TriggerActionSchemas, SpecialMessageActionSchemas } from "../../types/messaging"; | ||
import type { NormandyRecipe, ShowHeartbeatArguments, PreferenceRolloutArguments, PreferenceRollbackArguments, PreferenceExperimentArguments, OptOutStudyArguments, MultiPreferenceExperimentArguments, MessagingExperimentArguments, BranchedAddonStudyArguments, AddonRolloutArguments, AddonRollbackArguments, ConsoleLogArguments } from "../../types/normandy"; | ||
import type { Audience } from "../../types/targeting"; | ||
import type { PreferenceRolloutArguments, AddonRollbackArguments, ShowHeartbeatArguments, ConsoleLogArguments, BranchedAddonStudyArguments, MultiPreferenceExperimentArguments, NormandyRecipe, OptOutStudyArguments, PreferenceRollbackArguments, AddonRolloutArguments, MessagingExperimentArguments, PreferenceExperimentArguments } from "../../types/normandy"; | ||
import type { Feature } from "../../types/features"; | ||
import type { NimbusExperiment } from "../../types/experiments"; | ||
import type { TriggerActionSchemas, SimpleCFRMessage, SpecialMessageActionSchemas } from "../../types/messaging"; | ||
import type { FoodColors } from "../../types/test"; | ||
export declare function targeting_isAudience(obj: object): obj is Audience; | ||
export declare function targeting_checkAudience(obj: object): SchemaResult; | ||
export declare function targeting_assertAudience(obj: object): asserts obj is Audience; | ||
export declare function experiments_isNimbusExperiment(obj: object): obj is NimbusExperiment; | ||
export declare function experiments_checkNimbusExperiment(obj: object): SchemaResult; | ||
export declare function experiments_assertNimbusExperiment(obj: object): asserts obj is NimbusExperiment; | ||
export declare function features_isFeature(obj: object): obj is Feature; | ||
export declare function features_checkFeature(obj: object): SchemaResult; | ||
export declare function features_assertFeature(obj: object): asserts obj is Feature; | ||
export declare function messaging_isSimpleCFRMessage(obj: object): obj is SimpleCFRMessage; | ||
export declare function messaging_checkSimpleCFRMessage(obj: object): SchemaResult; | ||
export declare function messaging_assertSimpleCFRMessage(obj: object): asserts obj is SimpleCFRMessage; | ||
export declare function messaging_isTriggerActionSchemas(obj: object): obj is TriggerActionSchemas; | ||
export declare function messaging_checkTriggerActionSchemas(obj: object): SchemaResult; | ||
export declare function messaging_assertTriggerActionSchemas(obj: object): asserts obj is TriggerActionSchemas; | ||
export declare function messaging_isSpecialMessageActionSchemas(obj: object): obj is SpecialMessageActionSchemas; | ||
export declare function messaging_checkSpecialMessageActionSchemas(obj: object): SchemaResult; | ||
export declare function messaging_assertSpecialMessageActionSchemas(obj: object): asserts obj is SpecialMessageActionSchemas; | ||
export declare function normandy_isNormandyRecipe(obj: object): obj is NormandyRecipe; | ||
export declare function normandy_checkNormandyRecipe(obj: object): SchemaResult; | ||
export declare function normandy_assertNormandyRecipe(obj: object): asserts obj is NormandyRecipe; | ||
export declare function normandy_isShowHeartbeatArguments(obj: object): obj is ShowHeartbeatArguments; | ||
export declare function normandy_checkShowHeartbeatArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertShowHeartbeatArguments(obj: object): asserts obj is ShowHeartbeatArguments; | ||
export declare function normandy_isPreferenceRolloutArguments(obj: object): obj is PreferenceRolloutArguments; | ||
export declare function normandy_checkPreferenceRolloutArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertPreferenceRolloutArguments(obj: object): asserts obj is PreferenceRolloutArguments; | ||
export declare function normandy_isPreferenceRollbackArguments(obj: object): obj is PreferenceRollbackArguments; | ||
export declare function normandy_checkPreferenceRollbackArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertPreferenceRollbackArguments(obj: object): asserts obj is PreferenceRollbackArguments; | ||
export declare function normandy_isPreferenceExperimentArguments(obj: object): obj is PreferenceExperimentArguments; | ||
export declare function normandy_checkPreferenceExperimentArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertPreferenceExperimentArguments(obj: object): asserts obj is PreferenceExperimentArguments; | ||
export declare function normandy_isOptOutStudyArguments(obj: object): obj is OptOutStudyArguments; | ||
export declare function normandy_checkOptOutStudyArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertOptOutStudyArguments(obj: object): asserts obj is OptOutStudyArguments; | ||
export declare function normandy_isMultiPreferenceExperimentArguments(obj: object): obj is MultiPreferenceExperimentArguments; | ||
export declare function normandy_checkMultiPreferenceExperimentArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertMultiPreferenceExperimentArguments(obj: object): asserts obj is MultiPreferenceExperimentArguments; | ||
export declare function normandy_isMessagingExperimentArguments(obj: object): obj is MessagingExperimentArguments; | ||
export declare function normandy_checkMessagingExperimentArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertMessagingExperimentArguments(obj: object): asserts obj is MessagingExperimentArguments; | ||
export declare function normandy_isBranchedAddonStudyArguments(obj: object): obj is BranchedAddonStudyArguments; | ||
export declare function normandy_checkBranchedAddonStudyArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertBranchedAddonStudyArguments(obj: object): asserts obj is BranchedAddonStudyArguments; | ||
export declare function normandy_isAddonRolloutArguments(obj: object): obj is AddonRolloutArguments; | ||
export declare function normandy_checkAddonRolloutArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertAddonRolloutArguments(obj: object): asserts obj is AddonRolloutArguments; | ||
export declare function normandy_isAddonRollbackArguments(obj: object): obj is AddonRollbackArguments; | ||
export declare function normandy_checkAddonRollbackArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertAddonRollbackArguments(obj: object): asserts obj is AddonRollbackArguments; | ||
export declare function normandy_isShowHeartbeatArguments(obj: object): obj is ShowHeartbeatArguments; | ||
export declare function normandy_checkShowHeartbeatArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertShowHeartbeatArguments(obj: object): asserts obj is ShowHeartbeatArguments; | ||
export declare function normandy_isConsoleLogArguments(obj: object): obj is ConsoleLogArguments; | ||
export declare function normandy_checkConsoleLogArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertConsoleLogArguments(obj: object): asserts obj is ConsoleLogArguments; | ||
export declare function normandy_isBranchedAddonStudyArguments(obj: object): obj is BranchedAddonStudyArguments; | ||
export declare function normandy_checkBranchedAddonStudyArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertBranchedAddonStudyArguments(obj: object): asserts obj is BranchedAddonStudyArguments; | ||
export declare function normandy_isMultiPreferenceExperimentArguments(obj: object): obj is MultiPreferenceExperimentArguments; | ||
export declare function normandy_checkMultiPreferenceExperimentArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertMultiPreferenceExperimentArguments(obj: object): asserts obj is MultiPreferenceExperimentArguments; | ||
export declare function normandy_isNormandyRecipe(obj: object): obj is NormandyRecipe; | ||
export declare function normandy_checkNormandyRecipe(obj: object): SchemaResult; | ||
export declare function normandy_assertNormandyRecipe(obj: object): asserts obj is NormandyRecipe; | ||
export declare function normandy_isOptOutStudyArguments(obj: object): obj is OptOutStudyArguments; | ||
export declare function normandy_checkOptOutStudyArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertOptOutStudyArguments(obj: object): asserts obj is OptOutStudyArguments; | ||
export declare function normandy_isPreferenceRollbackArguments(obj: object): obj is PreferenceRollbackArguments; | ||
export declare function normandy_checkPreferenceRollbackArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertPreferenceRollbackArguments(obj: object): asserts obj is PreferenceRollbackArguments; | ||
export declare function normandy_isAddonRolloutArguments(obj: object): obj is AddonRolloutArguments; | ||
export declare function normandy_checkAddonRolloutArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertAddonRolloutArguments(obj: object): asserts obj is AddonRolloutArguments; | ||
export declare function normandy_isMessagingExperimentArguments(obj: object): obj is MessagingExperimentArguments; | ||
export declare function normandy_checkMessagingExperimentArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertMessagingExperimentArguments(obj: object): asserts obj is MessagingExperimentArguments; | ||
export declare function normandy_isPreferenceExperimentArguments(obj: object): obj is PreferenceExperimentArguments; | ||
export declare function normandy_checkPreferenceExperimentArguments(obj: object): SchemaResult; | ||
export declare function normandy_assertPreferenceExperimentArguments(obj: object): asserts obj is PreferenceExperimentArguments; | ||
export declare function features_isFeature(obj: object): obj is Feature; | ||
export declare function features_checkFeature(obj: object): SchemaResult; | ||
export declare function features_assertFeature(obj: object): asserts obj is Feature; | ||
export declare function experiments_isNimbusExperiment(obj: object): obj is NimbusExperiment; | ||
export declare function experiments_checkNimbusExperiment(obj: object): SchemaResult; | ||
export declare function experiments_assertNimbusExperiment(obj: object): asserts obj is NimbusExperiment; | ||
export declare function messaging_isTriggerActionSchemas(obj: object): obj is TriggerActionSchemas; | ||
export declare function messaging_checkTriggerActionSchemas(obj: object): SchemaResult; | ||
export declare function messaging_assertTriggerActionSchemas(obj: object): asserts obj is TriggerActionSchemas; | ||
export declare function messaging_isSimpleCFRMessage(obj: object): obj is SimpleCFRMessage; | ||
export declare function messaging_checkSimpleCFRMessage(obj: object): SchemaResult; | ||
export declare function messaging_assertSimpleCFRMessage(obj: object): asserts obj is SimpleCFRMessage; | ||
export declare function messaging_isSpecialMessageActionSchemas(obj: object): obj is SpecialMessageActionSchemas; | ||
export declare function messaging_checkSpecialMessageActionSchemas(obj: object): SchemaResult; | ||
export declare function messaging_assertSpecialMessageActionSchemas(obj: object): asserts obj is SpecialMessageActionSchemas; | ||
export declare function targeting_isAudience(obj: object): obj is Audience; | ||
export declare function targeting_checkAudience(obj: object): SchemaResult; | ||
export declare function targeting_assertAudience(obj: object): asserts obj is Audience; | ||
export declare function test_isFoodColors(obj: object): obj is FoodColors; | ||
export declare function test_checkFoodColors(obj: object): SchemaResult; | ||
export declare function test_assertFoodColors(obj: object): asserts obj is FoodColors; |
"use strict"; | ||
/* eslint-disable @typescript-eslint/ban-types */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.test_assertFoodColors = exports.test_checkFoodColors = exports.test_isFoodColors = exports.messaging_assertSpecialMessageActionSchemas = exports.messaging_checkSpecialMessageActionSchemas = exports.messaging_isSpecialMessageActionSchemas = exports.messaging_assertSimpleCFRMessage = exports.messaging_checkSimpleCFRMessage = exports.messaging_isSimpleCFRMessage = exports.messaging_assertTriggerActionSchemas = exports.messaging_checkTriggerActionSchemas = exports.messaging_isTriggerActionSchemas = exports.experiments_assertNimbusExperiment = exports.experiments_checkNimbusExperiment = exports.experiments_isNimbusExperiment = exports.features_assertFeature = exports.features_checkFeature = exports.features_isFeature = exports.normandy_assertPreferenceExperimentArguments = exports.normandy_checkPreferenceExperimentArguments = exports.normandy_isPreferenceExperimentArguments = exports.normandy_assertMessagingExperimentArguments = exports.normandy_checkMessagingExperimentArguments = exports.normandy_isMessagingExperimentArguments = exports.normandy_assertAddonRolloutArguments = exports.normandy_checkAddonRolloutArguments = exports.normandy_isAddonRolloutArguments = exports.normandy_assertPreferenceRollbackArguments = exports.normandy_checkPreferenceRollbackArguments = exports.normandy_isPreferenceRollbackArguments = exports.normandy_assertOptOutStudyArguments = exports.normandy_checkOptOutStudyArguments = exports.normandy_isOptOutStudyArguments = exports.normandy_assertNormandyRecipe = exports.normandy_checkNormandyRecipe = exports.normandy_isNormandyRecipe = exports.normandy_assertMultiPreferenceExperimentArguments = exports.normandy_checkMultiPreferenceExperimentArguments = exports.normandy_isMultiPreferenceExperimentArguments = exports.normandy_assertBranchedAddonStudyArguments = exports.normandy_checkBranchedAddonStudyArguments = exports.normandy_isBranchedAddonStudyArguments = exports.normandy_assertConsoleLogArguments = exports.normandy_checkConsoleLogArguments = exports.normandy_isConsoleLogArguments = exports.normandy_assertShowHeartbeatArguments = exports.normandy_checkShowHeartbeatArguments = exports.normandy_isShowHeartbeatArguments = exports.normandy_assertAddonRollbackArguments = exports.normandy_checkAddonRollbackArguments = exports.normandy_isAddonRollbackArguments = exports.normandy_assertPreferenceRolloutArguments = exports.normandy_checkPreferenceRolloutArguments = exports.normandy_isPreferenceRolloutArguments = exports.targeting_assertAudience = exports.targeting_checkAudience = exports.targeting_isAudience = void 0; | ||
exports.test_assertFoodColors = exports.test_checkFoodColors = exports.test_isFoodColors = exports.targeting_assertAudience = exports.targeting_checkAudience = exports.targeting_isAudience = exports.normandy_assertConsoleLogArguments = exports.normandy_checkConsoleLogArguments = exports.normandy_isConsoleLogArguments = exports.normandy_assertAddonRollbackArguments = exports.normandy_checkAddonRollbackArguments = exports.normandy_isAddonRollbackArguments = exports.normandy_assertAddonRolloutArguments = exports.normandy_checkAddonRolloutArguments = exports.normandy_isAddonRolloutArguments = exports.normandy_assertBranchedAddonStudyArguments = exports.normandy_checkBranchedAddonStudyArguments = exports.normandy_isBranchedAddonStudyArguments = exports.normandy_assertMessagingExperimentArguments = exports.normandy_checkMessagingExperimentArguments = exports.normandy_isMessagingExperimentArguments = exports.normandy_assertMultiPreferenceExperimentArguments = exports.normandy_checkMultiPreferenceExperimentArguments = exports.normandy_isMultiPreferenceExperimentArguments = exports.normandy_assertOptOutStudyArguments = exports.normandy_checkOptOutStudyArguments = exports.normandy_isOptOutStudyArguments = exports.normandy_assertPreferenceExperimentArguments = exports.normandy_checkPreferenceExperimentArguments = exports.normandy_isPreferenceExperimentArguments = exports.normandy_assertPreferenceRollbackArguments = exports.normandy_checkPreferenceRollbackArguments = exports.normandy_isPreferenceRollbackArguments = exports.normandy_assertPreferenceRolloutArguments = exports.normandy_checkPreferenceRolloutArguments = exports.normandy_isPreferenceRolloutArguments = exports.normandy_assertShowHeartbeatArguments = exports.normandy_checkShowHeartbeatArguments = exports.normandy_isShowHeartbeatArguments = exports.normandy_assertNormandyRecipe = exports.normandy_checkNormandyRecipe = exports.normandy_isNormandyRecipe = exports.messaging_assertSpecialMessageActionSchemas = exports.messaging_checkSpecialMessageActionSchemas = exports.messaging_isSpecialMessageActionSchemas = exports.messaging_assertTriggerActionSchemas = exports.messaging_checkTriggerActionSchemas = exports.messaging_isTriggerActionSchemas = exports.messaging_assertSimpleCFRMessage = exports.messaging_checkSimpleCFRMessage = exports.messaging_isSimpleCFRMessage = exports.features_assertFeature = exports.features_checkFeature = exports.features_isFeature = exports.experiments_assertNimbusExperiment = exports.experiments_checkNimbusExperiment = exports.experiments_isNimbusExperiment = void 0; | ||
const typeGuards_1 = require("../typeGuards"); | ||
function targeting_isAudience(obj) { return typeGuards_1.isSchema("targeting/Audience", obj); } | ||
exports.targeting_isAudience = targeting_isAudience; | ||
function targeting_checkAudience(obj) { return typeGuards_1.checkSchema("targeting/Audience", obj); } | ||
exports.targeting_checkAudience = targeting_checkAudience; | ||
function targeting_assertAudience(obj) { return typeGuards_1.assertSchema("targeting/Audience", obj); } | ||
exports.targeting_assertAudience = targeting_assertAudience; | ||
function experiments_isNimbusExperiment(obj) { return typeGuards_1.isSchema("experiments/NimbusExperiment", obj); } | ||
exports.experiments_isNimbusExperiment = experiments_isNimbusExperiment; | ||
function experiments_checkNimbusExperiment(obj) { return typeGuards_1.checkSchema("experiments/NimbusExperiment", obj); } | ||
exports.experiments_checkNimbusExperiment = experiments_checkNimbusExperiment; | ||
function experiments_assertNimbusExperiment(obj) { return typeGuards_1.assertSchema("experiments/NimbusExperiment", obj); } | ||
exports.experiments_assertNimbusExperiment = experiments_assertNimbusExperiment; | ||
function features_isFeature(obj) { return typeGuards_1.isSchema("features/Feature", obj); } | ||
exports.features_isFeature = features_isFeature; | ||
function features_checkFeature(obj) { return typeGuards_1.checkSchema("features/Feature", obj); } | ||
exports.features_checkFeature = features_checkFeature; | ||
function features_assertFeature(obj) { return typeGuards_1.assertSchema("features/Feature", obj); } | ||
exports.features_assertFeature = features_assertFeature; | ||
function messaging_isSimpleCFRMessage(obj) { return typeGuards_1.isSchema("messaging/SimpleCFRMessage", obj); } | ||
exports.messaging_isSimpleCFRMessage = messaging_isSimpleCFRMessage; | ||
function messaging_checkSimpleCFRMessage(obj) { return typeGuards_1.checkSchema("messaging/SimpleCFRMessage", obj); } | ||
exports.messaging_checkSimpleCFRMessage = messaging_checkSimpleCFRMessage; | ||
function messaging_assertSimpleCFRMessage(obj) { return typeGuards_1.assertSchema("messaging/SimpleCFRMessage", obj); } | ||
exports.messaging_assertSimpleCFRMessage = messaging_assertSimpleCFRMessage; | ||
function messaging_isTriggerActionSchemas(obj) { return typeGuards_1.isSchema("messaging/TriggerActionSchemas", obj); } | ||
exports.messaging_isTriggerActionSchemas = messaging_isTriggerActionSchemas; | ||
function messaging_checkTriggerActionSchemas(obj) { return typeGuards_1.checkSchema("messaging/TriggerActionSchemas", obj); } | ||
exports.messaging_checkTriggerActionSchemas = messaging_checkTriggerActionSchemas; | ||
function messaging_assertTriggerActionSchemas(obj) { return typeGuards_1.assertSchema("messaging/TriggerActionSchemas", obj); } | ||
exports.messaging_assertTriggerActionSchemas = messaging_assertTriggerActionSchemas; | ||
function messaging_isSpecialMessageActionSchemas(obj) { return typeGuards_1.isSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
exports.messaging_isSpecialMessageActionSchemas = messaging_isSpecialMessageActionSchemas; | ||
function messaging_checkSpecialMessageActionSchemas(obj) { return typeGuards_1.checkSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
exports.messaging_checkSpecialMessageActionSchemas = messaging_checkSpecialMessageActionSchemas; | ||
function messaging_assertSpecialMessageActionSchemas(obj) { return typeGuards_1.assertSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
exports.messaging_assertSpecialMessageActionSchemas = messaging_assertSpecialMessageActionSchemas; | ||
function normandy_isNormandyRecipe(obj) { return typeGuards_1.isSchema("normandy/NormandyRecipe", obj); } | ||
exports.normandy_isNormandyRecipe = normandy_isNormandyRecipe; | ||
function normandy_checkNormandyRecipe(obj) { return typeGuards_1.checkSchema("normandy/NormandyRecipe", obj); } | ||
exports.normandy_checkNormandyRecipe = normandy_checkNormandyRecipe; | ||
function normandy_assertNormandyRecipe(obj) { return typeGuards_1.assertSchema("normandy/NormandyRecipe", obj); } | ||
exports.normandy_assertNormandyRecipe = normandy_assertNormandyRecipe; | ||
function normandy_isShowHeartbeatArguments(obj) { return typeGuards_1.isSchema("normandy/ShowHeartbeatArguments", obj); } | ||
exports.normandy_isShowHeartbeatArguments = normandy_isShowHeartbeatArguments; | ||
function normandy_checkShowHeartbeatArguments(obj) { return typeGuards_1.checkSchema("normandy/ShowHeartbeatArguments", obj); } | ||
exports.normandy_checkShowHeartbeatArguments = normandy_checkShowHeartbeatArguments; | ||
function normandy_assertShowHeartbeatArguments(obj) { return typeGuards_1.assertSchema("normandy/ShowHeartbeatArguments", obj); } | ||
exports.normandy_assertShowHeartbeatArguments = normandy_assertShowHeartbeatArguments; | ||
function normandy_isPreferenceRolloutArguments(obj) { return typeGuards_1.isSchema("normandy/PreferenceRolloutArguments", obj); } | ||
@@ -18,2 +54,44 @@ exports.normandy_isPreferenceRolloutArguments = normandy_isPreferenceRolloutArguments; | ||
exports.normandy_assertPreferenceRolloutArguments = normandy_assertPreferenceRolloutArguments; | ||
function normandy_isPreferenceRollbackArguments(obj) { return typeGuards_1.isSchema("normandy/PreferenceRollbackArguments", obj); } | ||
exports.normandy_isPreferenceRollbackArguments = normandy_isPreferenceRollbackArguments; | ||
function normandy_checkPreferenceRollbackArguments(obj) { return typeGuards_1.checkSchema("normandy/PreferenceRollbackArguments", obj); } | ||
exports.normandy_checkPreferenceRollbackArguments = normandy_checkPreferenceRollbackArguments; | ||
function normandy_assertPreferenceRollbackArguments(obj) { return typeGuards_1.assertSchema("normandy/PreferenceRollbackArguments", obj); } | ||
exports.normandy_assertPreferenceRollbackArguments = normandy_assertPreferenceRollbackArguments; | ||
function normandy_isPreferenceExperimentArguments(obj) { return typeGuards_1.isSchema("normandy/PreferenceExperimentArguments", obj); } | ||
exports.normandy_isPreferenceExperimentArguments = normandy_isPreferenceExperimentArguments; | ||
function normandy_checkPreferenceExperimentArguments(obj) { return typeGuards_1.checkSchema("normandy/PreferenceExperimentArguments", obj); } | ||
exports.normandy_checkPreferenceExperimentArguments = normandy_checkPreferenceExperimentArguments; | ||
function normandy_assertPreferenceExperimentArguments(obj) { return typeGuards_1.assertSchema("normandy/PreferenceExperimentArguments", obj); } | ||
exports.normandy_assertPreferenceExperimentArguments = normandy_assertPreferenceExperimentArguments; | ||
function normandy_isOptOutStudyArguments(obj) { return typeGuards_1.isSchema("normandy/OptOutStudyArguments", obj); } | ||
exports.normandy_isOptOutStudyArguments = normandy_isOptOutStudyArguments; | ||
function normandy_checkOptOutStudyArguments(obj) { return typeGuards_1.checkSchema("normandy/OptOutStudyArguments", obj); } | ||
exports.normandy_checkOptOutStudyArguments = normandy_checkOptOutStudyArguments; | ||
function normandy_assertOptOutStudyArguments(obj) { return typeGuards_1.assertSchema("normandy/OptOutStudyArguments", obj); } | ||
exports.normandy_assertOptOutStudyArguments = normandy_assertOptOutStudyArguments; | ||
function normandy_isMultiPreferenceExperimentArguments(obj) { return typeGuards_1.isSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
exports.normandy_isMultiPreferenceExperimentArguments = normandy_isMultiPreferenceExperimentArguments; | ||
function normandy_checkMultiPreferenceExperimentArguments(obj) { return typeGuards_1.checkSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
exports.normandy_checkMultiPreferenceExperimentArguments = normandy_checkMultiPreferenceExperimentArguments; | ||
function normandy_assertMultiPreferenceExperimentArguments(obj) { return typeGuards_1.assertSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
exports.normandy_assertMultiPreferenceExperimentArguments = normandy_assertMultiPreferenceExperimentArguments; | ||
function normandy_isMessagingExperimentArguments(obj) { return typeGuards_1.isSchema("normandy/MessagingExperimentArguments", obj); } | ||
exports.normandy_isMessagingExperimentArguments = normandy_isMessagingExperimentArguments; | ||
function normandy_checkMessagingExperimentArguments(obj) { return typeGuards_1.checkSchema("normandy/MessagingExperimentArguments", obj); } | ||
exports.normandy_checkMessagingExperimentArguments = normandy_checkMessagingExperimentArguments; | ||
function normandy_assertMessagingExperimentArguments(obj) { return typeGuards_1.assertSchema("normandy/MessagingExperimentArguments", obj); } | ||
exports.normandy_assertMessagingExperimentArguments = normandy_assertMessagingExperimentArguments; | ||
function normandy_isBranchedAddonStudyArguments(obj) { return typeGuards_1.isSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
exports.normandy_isBranchedAddonStudyArguments = normandy_isBranchedAddonStudyArguments; | ||
function normandy_checkBranchedAddonStudyArguments(obj) { return typeGuards_1.checkSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
exports.normandy_checkBranchedAddonStudyArguments = normandy_checkBranchedAddonStudyArguments; | ||
function normandy_assertBranchedAddonStudyArguments(obj) { return typeGuards_1.assertSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
exports.normandy_assertBranchedAddonStudyArguments = normandy_assertBranchedAddonStudyArguments; | ||
function normandy_isAddonRolloutArguments(obj) { return typeGuards_1.isSchema("normandy/AddonRolloutArguments", obj); } | ||
exports.normandy_isAddonRolloutArguments = normandy_isAddonRolloutArguments; | ||
function normandy_checkAddonRolloutArguments(obj) { return typeGuards_1.checkSchema("normandy/AddonRolloutArguments", obj); } | ||
exports.normandy_checkAddonRolloutArguments = normandy_checkAddonRolloutArguments; | ||
function normandy_assertAddonRolloutArguments(obj) { return typeGuards_1.assertSchema("normandy/AddonRolloutArguments", obj); } | ||
exports.normandy_assertAddonRolloutArguments = normandy_assertAddonRolloutArguments; | ||
function normandy_isAddonRollbackArguments(obj) { return typeGuards_1.isSchema("normandy/AddonRollbackArguments", obj); } | ||
@@ -25,8 +103,2 @@ exports.normandy_isAddonRollbackArguments = normandy_isAddonRollbackArguments; | ||
exports.normandy_assertAddonRollbackArguments = normandy_assertAddonRollbackArguments; | ||
function normandy_isShowHeartbeatArguments(obj) { return typeGuards_1.isSchema("normandy/ShowHeartbeatArguments", obj); } | ||
exports.normandy_isShowHeartbeatArguments = normandy_isShowHeartbeatArguments; | ||
function normandy_checkShowHeartbeatArguments(obj) { return typeGuards_1.checkSchema("normandy/ShowHeartbeatArguments", obj); } | ||
exports.normandy_checkShowHeartbeatArguments = normandy_checkShowHeartbeatArguments; | ||
function normandy_assertShowHeartbeatArguments(obj) { return typeGuards_1.assertSchema("normandy/ShowHeartbeatArguments", obj); } | ||
exports.normandy_assertShowHeartbeatArguments = normandy_assertShowHeartbeatArguments; | ||
function normandy_isConsoleLogArguments(obj) { return typeGuards_1.isSchema("normandy/ConsoleLogArguments", obj); } | ||
@@ -38,80 +110,8 @@ exports.normandy_isConsoleLogArguments = normandy_isConsoleLogArguments; | ||
exports.normandy_assertConsoleLogArguments = normandy_assertConsoleLogArguments; | ||
function normandy_isBranchedAddonStudyArguments(obj) { return typeGuards_1.isSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
exports.normandy_isBranchedAddonStudyArguments = normandy_isBranchedAddonStudyArguments; | ||
function normandy_checkBranchedAddonStudyArguments(obj) { return typeGuards_1.checkSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
exports.normandy_checkBranchedAddonStudyArguments = normandy_checkBranchedAddonStudyArguments; | ||
function normandy_assertBranchedAddonStudyArguments(obj) { return typeGuards_1.assertSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
exports.normandy_assertBranchedAddonStudyArguments = normandy_assertBranchedAddonStudyArguments; | ||
function normandy_isMultiPreferenceExperimentArguments(obj) { return typeGuards_1.isSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
exports.normandy_isMultiPreferenceExperimentArguments = normandy_isMultiPreferenceExperimentArguments; | ||
function normandy_checkMultiPreferenceExperimentArguments(obj) { return typeGuards_1.checkSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
exports.normandy_checkMultiPreferenceExperimentArguments = normandy_checkMultiPreferenceExperimentArguments; | ||
function normandy_assertMultiPreferenceExperimentArguments(obj) { return typeGuards_1.assertSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
exports.normandy_assertMultiPreferenceExperimentArguments = normandy_assertMultiPreferenceExperimentArguments; | ||
function normandy_isNormandyRecipe(obj) { return typeGuards_1.isSchema("normandy/NormandyRecipe", obj); } | ||
exports.normandy_isNormandyRecipe = normandy_isNormandyRecipe; | ||
function normandy_checkNormandyRecipe(obj) { return typeGuards_1.checkSchema("normandy/NormandyRecipe", obj); } | ||
exports.normandy_checkNormandyRecipe = normandy_checkNormandyRecipe; | ||
function normandy_assertNormandyRecipe(obj) { return typeGuards_1.assertSchema("normandy/NormandyRecipe", obj); } | ||
exports.normandy_assertNormandyRecipe = normandy_assertNormandyRecipe; | ||
function normandy_isOptOutStudyArguments(obj) { return typeGuards_1.isSchema("normandy/OptOutStudyArguments", obj); } | ||
exports.normandy_isOptOutStudyArguments = normandy_isOptOutStudyArguments; | ||
function normandy_checkOptOutStudyArguments(obj) { return typeGuards_1.checkSchema("normandy/OptOutStudyArguments", obj); } | ||
exports.normandy_checkOptOutStudyArguments = normandy_checkOptOutStudyArguments; | ||
function normandy_assertOptOutStudyArguments(obj) { return typeGuards_1.assertSchema("normandy/OptOutStudyArguments", obj); } | ||
exports.normandy_assertOptOutStudyArguments = normandy_assertOptOutStudyArguments; | ||
function normandy_isPreferenceRollbackArguments(obj) { return typeGuards_1.isSchema("normandy/PreferenceRollbackArguments", obj); } | ||
exports.normandy_isPreferenceRollbackArguments = normandy_isPreferenceRollbackArguments; | ||
function normandy_checkPreferenceRollbackArguments(obj) { return typeGuards_1.checkSchema("normandy/PreferenceRollbackArguments", obj); } | ||
exports.normandy_checkPreferenceRollbackArguments = normandy_checkPreferenceRollbackArguments; | ||
function normandy_assertPreferenceRollbackArguments(obj) { return typeGuards_1.assertSchema("normandy/PreferenceRollbackArguments", obj); } | ||
exports.normandy_assertPreferenceRollbackArguments = normandy_assertPreferenceRollbackArguments; | ||
function normandy_isAddonRolloutArguments(obj) { return typeGuards_1.isSchema("normandy/AddonRolloutArguments", obj); } | ||
exports.normandy_isAddonRolloutArguments = normandy_isAddonRolloutArguments; | ||
function normandy_checkAddonRolloutArguments(obj) { return typeGuards_1.checkSchema("normandy/AddonRolloutArguments", obj); } | ||
exports.normandy_checkAddonRolloutArguments = normandy_checkAddonRolloutArguments; | ||
function normandy_assertAddonRolloutArguments(obj) { return typeGuards_1.assertSchema("normandy/AddonRolloutArguments", obj); } | ||
exports.normandy_assertAddonRolloutArguments = normandy_assertAddonRolloutArguments; | ||
function normandy_isMessagingExperimentArguments(obj) { return typeGuards_1.isSchema("normandy/MessagingExperimentArguments", obj); } | ||
exports.normandy_isMessagingExperimentArguments = normandy_isMessagingExperimentArguments; | ||
function normandy_checkMessagingExperimentArguments(obj) { return typeGuards_1.checkSchema("normandy/MessagingExperimentArguments", obj); } | ||
exports.normandy_checkMessagingExperimentArguments = normandy_checkMessagingExperimentArguments; | ||
function normandy_assertMessagingExperimentArguments(obj) { return typeGuards_1.assertSchema("normandy/MessagingExperimentArguments", obj); } | ||
exports.normandy_assertMessagingExperimentArguments = normandy_assertMessagingExperimentArguments; | ||
function normandy_isPreferenceExperimentArguments(obj) { return typeGuards_1.isSchema("normandy/PreferenceExperimentArguments", obj); } | ||
exports.normandy_isPreferenceExperimentArguments = normandy_isPreferenceExperimentArguments; | ||
function normandy_checkPreferenceExperimentArguments(obj) { return typeGuards_1.checkSchema("normandy/PreferenceExperimentArguments", obj); } | ||
exports.normandy_checkPreferenceExperimentArguments = normandy_checkPreferenceExperimentArguments; | ||
function normandy_assertPreferenceExperimentArguments(obj) { return typeGuards_1.assertSchema("normandy/PreferenceExperimentArguments", obj); } | ||
exports.normandy_assertPreferenceExperimentArguments = normandy_assertPreferenceExperimentArguments; | ||
function features_isFeature(obj) { return typeGuards_1.isSchema("features/Feature", obj); } | ||
exports.features_isFeature = features_isFeature; | ||
function features_checkFeature(obj) { return typeGuards_1.checkSchema("features/Feature", obj); } | ||
exports.features_checkFeature = features_checkFeature; | ||
function features_assertFeature(obj) { return typeGuards_1.assertSchema("features/Feature", obj); } | ||
exports.features_assertFeature = features_assertFeature; | ||
function experiments_isNimbusExperiment(obj) { return typeGuards_1.isSchema("experiments/NimbusExperiment", obj); } | ||
exports.experiments_isNimbusExperiment = experiments_isNimbusExperiment; | ||
function experiments_checkNimbusExperiment(obj) { return typeGuards_1.checkSchema("experiments/NimbusExperiment", obj); } | ||
exports.experiments_checkNimbusExperiment = experiments_checkNimbusExperiment; | ||
function experiments_assertNimbusExperiment(obj) { return typeGuards_1.assertSchema("experiments/NimbusExperiment", obj); } | ||
exports.experiments_assertNimbusExperiment = experiments_assertNimbusExperiment; | ||
function messaging_isTriggerActionSchemas(obj) { return typeGuards_1.isSchema("messaging/TriggerActionSchemas", obj); } | ||
exports.messaging_isTriggerActionSchemas = messaging_isTriggerActionSchemas; | ||
function messaging_checkTriggerActionSchemas(obj) { return typeGuards_1.checkSchema("messaging/TriggerActionSchemas", obj); } | ||
exports.messaging_checkTriggerActionSchemas = messaging_checkTriggerActionSchemas; | ||
function messaging_assertTriggerActionSchemas(obj) { return typeGuards_1.assertSchema("messaging/TriggerActionSchemas", obj); } | ||
exports.messaging_assertTriggerActionSchemas = messaging_assertTriggerActionSchemas; | ||
function messaging_isSimpleCFRMessage(obj) { return typeGuards_1.isSchema("messaging/SimpleCFRMessage", obj); } | ||
exports.messaging_isSimpleCFRMessage = messaging_isSimpleCFRMessage; | ||
function messaging_checkSimpleCFRMessage(obj) { return typeGuards_1.checkSchema("messaging/SimpleCFRMessage", obj); } | ||
exports.messaging_checkSimpleCFRMessage = messaging_checkSimpleCFRMessage; | ||
function messaging_assertSimpleCFRMessage(obj) { return typeGuards_1.assertSchema("messaging/SimpleCFRMessage", obj); } | ||
exports.messaging_assertSimpleCFRMessage = messaging_assertSimpleCFRMessage; | ||
function messaging_isSpecialMessageActionSchemas(obj) { return typeGuards_1.isSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
exports.messaging_isSpecialMessageActionSchemas = messaging_isSpecialMessageActionSchemas; | ||
function messaging_checkSpecialMessageActionSchemas(obj) { return typeGuards_1.checkSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
exports.messaging_checkSpecialMessageActionSchemas = messaging_checkSpecialMessageActionSchemas; | ||
function messaging_assertSpecialMessageActionSchemas(obj) { return typeGuards_1.assertSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
exports.messaging_assertSpecialMessageActionSchemas = messaging_assertSpecialMessageActionSchemas; | ||
function targeting_isAudience(obj) { return typeGuards_1.isSchema("targeting/Audience", obj); } | ||
exports.targeting_isAudience = targeting_isAudience; | ||
function targeting_checkAudience(obj) { return typeGuards_1.checkSchema("targeting/Audience", obj); } | ||
exports.targeting_checkAudience = targeting_checkAudience; | ||
function targeting_assertAudience(obj) { return typeGuards_1.assertSchema("targeting/Audience", obj); } | ||
exports.targeting_assertAudience = targeting_assertAudience; | ||
function test_isFoodColors(obj) { return typeGuards_1.isSchema("test/FoodColors", obj); } | ||
@@ -118,0 +118,0 @@ exports.test_isFoodColors = test_isFoodColors; |
{ | ||
"name": "@mozilla/nimbus-shared", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"license": "MPL-2.0", | ||
@@ -5,0 +5,0 @@ "engines": { |
/* eslint-disable @typescript-eslint/ban-types */ | ||
import { checkSchema, isSchema, assertSchema, SchemaResult } from "../typeGuards"; | ||
import type { NimbusExperiment } from "../../types/experiments"; | ||
import type { Feature } from "../../types/features"; | ||
import type { SimpleCFRMessage, TriggerActionSchemas, SpecialMessageActionSchemas } from "../../types/messaging"; | ||
import type { NormandyRecipe, ShowHeartbeatArguments, PreferenceRolloutArguments, PreferenceRollbackArguments, PreferenceExperimentArguments, OptOutStudyArguments, MultiPreferenceExperimentArguments, MessagingExperimentArguments, BranchedAddonStudyArguments, AddonRolloutArguments, AddonRollbackArguments, ConsoleLogArguments } from "../../types/normandy"; | ||
import type { Audience } from "../../types/targeting"; | ||
import type { PreferenceRolloutArguments, AddonRollbackArguments, ShowHeartbeatArguments, ConsoleLogArguments, BranchedAddonStudyArguments, MultiPreferenceExperimentArguments, NormandyRecipe, OptOutStudyArguments, PreferenceRollbackArguments, AddonRolloutArguments, MessagingExperimentArguments, PreferenceExperimentArguments } from "../../types/normandy"; | ||
import type { Feature } from "../../types/features"; | ||
import type { NimbusExperiment } from "../../types/experiments"; | ||
import type { TriggerActionSchemas, SimpleCFRMessage, SpecialMessageActionSchemas } from "../../types/messaging"; | ||
import type { FoodColors } from "../../types/test"; | ||
export function targeting_isAudience(obj: object): obj is Audience { return isSchema("targeting/Audience", obj); } | ||
export function targeting_checkAudience(obj: object): SchemaResult { return checkSchema("targeting/Audience", obj); } | ||
export function targeting_assertAudience(obj: object): asserts obj is Audience { return assertSchema("targeting/Audience", obj); } | ||
export function experiments_isNimbusExperiment(obj: object): obj is NimbusExperiment { return isSchema("experiments/NimbusExperiment", obj); } | ||
export function experiments_checkNimbusExperiment(obj: object): SchemaResult { return checkSchema("experiments/NimbusExperiment", obj); } | ||
export function experiments_assertNimbusExperiment(obj: object): asserts obj is NimbusExperiment { return assertSchema("experiments/NimbusExperiment", obj); } | ||
export function normandy_isPreferenceRolloutArguments(obj: object): obj is PreferenceRolloutArguments { return isSchema("normandy/PreferenceRolloutArguments", obj); } | ||
export function normandy_checkPreferenceRolloutArguments(obj: object): SchemaResult { return checkSchema("normandy/PreferenceRolloutArguments", obj); } | ||
export function normandy_assertPreferenceRolloutArguments(obj: object): asserts obj is PreferenceRolloutArguments { return assertSchema("normandy/PreferenceRolloutArguments", obj); } | ||
export function features_isFeature(obj: object): obj is Feature { return isSchema("features/Feature", obj); } | ||
export function features_checkFeature(obj: object): SchemaResult { return checkSchema("features/Feature", obj); } | ||
export function features_assertFeature(obj: object): asserts obj is Feature { return assertSchema("features/Feature", obj); } | ||
export function normandy_isAddonRollbackArguments(obj: object): obj is AddonRollbackArguments { return isSchema("normandy/AddonRollbackArguments", obj); } | ||
export function normandy_checkAddonRollbackArguments(obj: object): SchemaResult { return checkSchema("normandy/AddonRollbackArguments", obj); } | ||
export function normandy_assertAddonRollbackArguments(obj: object): asserts obj is AddonRollbackArguments { return assertSchema("normandy/AddonRollbackArguments", obj); } | ||
export function messaging_isSimpleCFRMessage(obj: object): obj is SimpleCFRMessage { return isSchema("messaging/SimpleCFRMessage", obj); } | ||
export function messaging_checkSimpleCFRMessage(obj: object): SchemaResult { return checkSchema("messaging/SimpleCFRMessage", obj); } | ||
export function messaging_assertSimpleCFRMessage(obj: object): asserts obj is SimpleCFRMessage { return assertSchema("messaging/SimpleCFRMessage", obj); } | ||
export function messaging_isTriggerActionSchemas(obj: object): obj is TriggerActionSchemas { return isSchema("messaging/TriggerActionSchemas", obj); } | ||
export function messaging_checkTriggerActionSchemas(obj: object): SchemaResult { return checkSchema("messaging/TriggerActionSchemas", obj); } | ||
export function messaging_assertTriggerActionSchemas(obj: object): asserts obj is TriggerActionSchemas { return assertSchema("messaging/TriggerActionSchemas", obj); } | ||
export function messaging_isSpecialMessageActionSchemas(obj: object): obj is SpecialMessageActionSchemas { return isSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
export function messaging_checkSpecialMessageActionSchemas(obj: object): SchemaResult { return checkSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
export function messaging_assertSpecialMessageActionSchemas(obj: object): asserts obj is SpecialMessageActionSchemas { return assertSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
export function normandy_isNormandyRecipe(obj: object): obj is NormandyRecipe { return isSchema("normandy/NormandyRecipe", obj); } | ||
export function normandy_checkNormandyRecipe(obj: object): SchemaResult { return checkSchema("normandy/NormandyRecipe", obj); } | ||
export function normandy_assertNormandyRecipe(obj: object): asserts obj is NormandyRecipe { return assertSchema("normandy/NormandyRecipe", obj); } | ||
export function normandy_isShowHeartbeatArguments(obj: object): obj is ShowHeartbeatArguments { return isSchema("normandy/ShowHeartbeatArguments", obj); } | ||
@@ -31,22 +46,17 @@ export function normandy_checkShowHeartbeatArguments(obj: object): SchemaResult { return checkSchema("normandy/ShowHeartbeatArguments", obj); } | ||
export function normandy_isConsoleLogArguments(obj: object): obj is ConsoleLogArguments { return isSchema("normandy/ConsoleLogArguments", obj); } | ||
export function normandy_checkConsoleLogArguments(obj: object): SchemaResult { return checkSchema("normandy/ConsoleLogArguments", obj); } | ||
export function normandy_assertConsoleLogArguments(obj: object): asserts obj is ConsoleLogArguments { return assertSchema("normandy/ConsoleLogArguments", obj); } | ||
export function normandy_isPreferenceRolloutArguments(obj: object): obj is PreferenceRolloutArguments { return isSchema("normandy/PreferenceRolloutArguments", obj); } | ||
export function normandy_checkPreferenceRolloutArguments(obj: object): SchemaResult { return checkSchema("normandy/PreferenceRolloutArguments", obj); } | ||
export function normandy_assertPreferenceRolloutArguments(obj: object): asserts obj is PreferenceRolloutArguments { return assertSchema("normandy/PreferenceRolloutArguments", obj); } | ||
export function normandy_isBranchedAddonStudyArguments(obj: object): obj is BranchedAddonStudyArguments { return isSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
export function normandy_checkBranchedAddonStudyArguments(obj: object): SchemaResult { return checkSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
export function normandy_assertBranchedAddonStudyArguments(obj: object): asserts obj is BranchedAddonStudyArguments { return assertSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
export function normandy_isPreferenceRollbackArguments(obj: object): obj is PreferenceRollbackArguments { return isSchema("normandy/PreferenceRollbackArguments", obj); } | ||
export function normandy_checkPreferenceRollbackArguments(obj: object): SchemaResult { return checkSchema("normandy/PreferenceRollbackArguments", obj); } | ||
export function normandy_assertPreferenceRollbackArguments(obj: object): asserts obj is PreferenceRollbackArguments { return assertSchema("normandy/PreferenceRollbackArguments", obj); } | ||
export function normandy_isMultiPreferenceExperimentArguments(obj: object): obj is MultiPreferenceExperimentArguments { return isSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
export function normandy_checkMultiPreferenceExperimentArguments(obj: object): SchemaResult { return checkSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
export function normandy_assertMultiPreferenceExperimentArguments(obj: object): asserts obj is MultiPreferenceExperimentArguments { return assertSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
export function normandy_isPreferenceExperimentArguments(obj: object): obj is PreferenceExperimentArguments { return isSchema("normandy/PreferenceExperimentArguments", obj); } | ||
export function normandy_checkPreferenceExperimentArguments(obj: object): SchemaResult { return checkSchema("normandy/PreferenceExperimentArguments", obj); } | ||
export function normandy_assertPreferenceExperimentArguments(obj: object): asserts obj is PreferenceExperimentArguments { return assertSchema("normandy/PreferenceExperimentArguments", obj); } | ||
export function normandy_isNormandyRecipe(obj: object): obj is NormandyRecipe { return isSchema("normandy/NormandyRecipe", obj); } | ||
export function normandy_checkNormandyRecipe(obj: object): SchemaResult { return checkSchema("normandy/NormandyRecipe", obj); } | ||
export function normandy_assertNormandyRecipe(obj: object): asserts obj is NormandyRecipe { return assertSchema("normandy/NormandyRecipe", obj); } | ||
export function normandy_isOptOutStudyArguments(obj: object): obj is OptOutStudyArguments { return isSchema("normandy/OptOutStudyArguments", obj); } | ||
@@ -57,12 +67,7 @@ export function normandy_checkOptOutStudyArguments(obj: object): SchemaResult { return checkSchema("normandy/OptOutStudyArguments", obj); } | ||
export function normandy_isPreferenceRollbackArguments(obj: object): obj is PreferenceRollbackArguments { return isSchema("normandy/PreferenceRollbackArguments", obj); } | ||
export function normandy_checkPreferenceRollbackArguments(obj: object): SchemaResult { return checkSchema("normandy/PreferenceRollbackArguments", obj); } | ||
export function normandy_assertPreferenceRollbackArguments(obj: object): asserts obj is PreferenceRollbackArguments { return assertSchema("normandy/PreferenceRollbackArguments", obj); } | ||
export function normandy_isMultiPreferenceExperimentArguments(obj: object): obj is MultiPreferenceExperimentArguments { return isSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
export function normandy_checkMultiPreferenceExperimentArguments(obj: object): SchemaResult { return checkSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
export function normandy_assertMultiPreferenceExperimentArguments(obj: object): asserts obj is MultiPreferenceExperimentArguments { return assertSchema("normandy/MultiPreferenceExperimentArguments", obj); } | ||
export function normandy_isAddonRolloutArguments(obj: object): obj is AddonRolloutArguments { return isSchema("normandy/AddonRolloutArguments", obj); } | ||
export function normandy_checkAddonRolloutArguments(obj: object): SchemaResult { return checkSchema("normandy/AddonRolloutArguments", obj); } | ||
export function normandy_assertAddonRolloutArguments(obj: object): asserts obj is AddonRolloutArguments { return assertSchema("normandy/AddonRolloutArguments", obj); } | ||
export function normandy_isMessagingExperimentArguments(obj: object): obj is MessagingExperimentArguments { return isSchema("normandy/MessagingExperimentArguments", obj); } | ||
@@ -73,32 +78,27 @@ export function normandy_checkMessagingExperimentArguments(obj: object): SchemaResult { return checkSchema("normandy/MessagingExperimentArguments", obj); } | ||
export function normandy_isPreferenceExperimentArguments(obj: object): obj is PreferenceExperimentArguments { return isSchema("normandy/PreferenceExperimentArguments", obj); } | ||
export function normandy_checkPreferenceExperimentArguments(obj: object): SchemaResult { return checkSchema("normandy/PreferenceExperimentArguments", obj); } | ||
export function normandy_assertPreferenceExperimentArguments(obj: object): asserts obj is PreferenceExperimentArguments { return assertSchema("normandy/PreferenceExperimentArguments", obj); } | ||
export function normandy_isBranchedAddonStudyArguments(obj: object): obj is BranchedAddonStudyArguments { return isSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
export function normandy_checkBranchedAddonStudyArguments(obj: object): SchemaResult { return checkSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
export function normandy_assertBranchedAddonStudyArguments(obj: object): asserts obj is BranchedAddonStudyArguments { return assertSchema("normandy/BranchedAddonStudyArguments", obj); } | ||
export function features_isFeature(obj: object): obj is Feature { return isSchema("features/Feature", obj); } | ||
export function features_checkFeature(obj: object): SchemaResult { return checkSchema("features/Feature", obj); } | ||
export function features_assertFeature(obj: object): asserts obj is Feature { return assertSchema("features/Feature", obj); } | ||
export function normandy_isAddonRolloutArguments(obj: object): obj is AddonRolloutArguments { return isSchema("normandy/AddonRolloutArguments", obj); } | ||
export function normandy_checkAddonRolloutArguments(obj: object): SchemaResult { return checkSchema("normandy/AddonRolloutArguments", obj); } | ||
export function normandy_assertAddonRolloutArguments(obj: object): asserts obj is AddonRolloutArguments { return assertSchema("normandy/AddonRolloutArguments", obj); } | ||
export function experiments_isNimbusExperiment(obj: object): obj is NimbusExperiment { return isSchema("experiments/NimbusExperiment", obj); } | ||
export function experiments_checkNimbusExperiment(obj: object): SchemaResult { return checkSchema("experiments/NimbusExperiment", obj); } | ||
export function experiments_assertNimbusExperiment(obj: object): asserts obj is NimbusExperiment { return assertSchema("experiments/NimbusExperiment", obj); } | ||
export function normandy_isAddonRollbackArguments(obj: object): obj is AddonRollbackArguments { return isSchema("normandy/AddonRollbackArguments", obj); } | ||
export function normandy_checkAddonRollbackArguments(obj: object): SchemaResult { return checkSchema("normandy/AddonRollbackArguments", obj); } | ||
export function normandy_assertAddonRollbackArguments(obj: object): asserts obj is AddonRollbackArguments { return assertSchema("normandy/AddonRollbackArguments", obj); } | ||
export function messaging_isTriggerActionSchemas(obj: object): obj is TriggerActionSchemas { return isSchema("messaging/TriggerActionSchemas", obj); } | ||
export function messaging_checkTriggerActionSchemas(obj: object): SchemaResult { return checkSchema("messaging/TriggerActionSchemas", obj); } | ||
export function messaging_assertTriggerActionSchemas(obj: object): asserts obj is TriggerActionSchemas { return assertSchema("messaging/TriggerActionSchemas", obj); } | ||
export function normandy_isConsoleLogArguments(obj: object): obj is ConsoleLogArguments { return isSchema("normandy/ConsoleLogArguments", obj); } | ||
export function normandy_checkConsoleLogArguments(obj: object): SchemaResult { return checkSchema("normandy/ConsoleLogArguments", obj); } | ||
export function normandy_assertConsoleLogArguments(obj: object): asserts obj is ConsoleLogArguments { return assertSchema("normandy/ConsoleLogArguments", obj); } | ||
export function messaging_isSimpleCFRMessage(obj: object): obj is SimpleCFRMessage { return isSchema("messaging/SimpleCFRMessage", obj); } | ||
export function messaging_checkSimpleCFRMessage(obj: object): SchemaResult { return checkSchema("messaging/SimpleCFRMessage", obj); } | ||
export function messaging_assertSimpleCFRMessage(obj: object): asserts obj is SimpleCFRMessage { return assertSchema("messaging/SimpleCFRMessage", obj); } | ||
export function targeting_isAudience(obj: object): obj is Audience { return isSchema("targeting/Audience", obj); } | ||
export function targeting_checkAudience(obj: object): SchemaResult { return checkSchema("targeting/Audience", obj); } | ||
export function targeting_assertAudience(obj: object): asserts obj is Audience { return assertSchema("targeting/Audience", obj); } | ||
export function messaging_isSpecialMessageActionSchemas(obj: object): obj is SpecialMessageActionSchemas { return isSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
export function messaging_checkSpecialMessageActionSchemas(obj: object): SchemaResult { return checkSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
export function messaging_assertSpecialMessageActionSchemas(obj: object): asserts obj is SpecialMessageActionSchemas { return assertSchema("messaging/SpecialMessageActionSchemas", obj); } | ||
export function test_isFoodColors(obj: object): obj is FoodColors { return isSchema("test/FoodColors", obj); } | ||
@@ -105,0 +105,0 @@ export function test_checkFoodColors(obj: object): SchemaResult { return checkSchema("test/FoodColors", obj); } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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