Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mos-connection/model

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mos-connection/model - npm Package Compare versions

Comparing version 4.1.1-nightly-master-20240430-072032-ffb8bf6.0 to 4.2.0-alpha.0

dist/xmlParse.d.ts

1

dist/index.d.ts
export * from './mosTypes';
export * from './model';
export * from './xmlParse';
export { pad } from './mosTypes/lib';
//# sourceMappingURL=index.d.ts.map

@@ -7,4 +7,5 @@ "use strict";

tslib_1.__exportStar(require("./model"), exports);
tslib_1.__exportStar(require("./xmlParse"), exports);
var lib_1 = require("./mosTypes/lib");
Object.defineProperty(exports, "pad", { enumerable: true, get: function () { return lib_1.pad; } });
//# sourceMappingURL=index.js.map

26

dist/model.d.ts
import { IMOSTime, IMOSString128, IMOSDuration, IMOSExternalMetaData } from './mosTypes';
import { AnyXMLValue } from './xmlParse';
export interface IMOSROAction {

@@ -62,6 +63,11 @@ RunningOrderID: IMOSString128;

}
export interface IMOSROFullStoryBodyItem {
export type IMOSROFullStoryBodyItem = {
itemType: 'storyItem';
Type: 'storyItem';
Content: IMOSItem;
} | {
itemType: 'other';
Type: string;
Content: any | IMOSItem;
}
Content: AnyXMLValue;
};
export interface IMOSItem {

@@ -81,3 +87,3 @@ ID: IMOSString128;

UserTimingDuration?: number;
Trigger?: any;
Trigger?: AnyXMLValue;
MacroIn?: IMOSString128;

@@ -109,3 +115,3 @@ MacroOut?: IMOSString128;

export interface IMOSROAckObject {
Status: IMOSObjectStatus;
Status: 'OK' | string;
ID: IMOSString128;

@@ -128,3 +134,5 @@ }

Slug: IMOSString128;
MosAbstract?: string;
MosAbstract?: AnyXMLValue;
/** A stringified version of MosAbstract, where all HTML have been flattened */
MosAbstractStr?: string;
Group?: string;

@@ -142,3 +150,5 @@ Type: IMOSObjectType;

Changed?: IMOSTime;
Description?: any;
Description?: AnyXMLValue;
/** A stringified version of Description, where all HTML have been flattened */
DescriptionStr?: string;
MosExternalMetaData?: Array<IMOSExternalMetaData>;

@@ -281,3 +291,3 @@ MosItemEditorProgID?: IMOSString128;

controlSlug: IMOSString128;
/** This value represents the key/classid key used to load the ActiveX from the registry., ex: "contained.containedCTRL.1" */
/** This value represents the key/classId key used to load the ActiveX from the registry., ex: "contained.containedCTRL.1" */
controlName: string;

@@ -284,0 +294,0 @@ /** This value represents the parameters that can be passed to an ActiveX. ex "URL=http:" */

import * as MosString128 from './mosTypes/mosString128';
import * as MosDuration from './mosTypes/mosDuration';
import * as MosTime from './mosTypes/mosTime';
import { AnyXMLObject } from './xmlParse';
export { IMOSString128 } from './mosTypes/mosString128';

@@ -49,3 +50,3 @@ export { IMOSDuration } from './mosTypes/mosDuration';

MosSchema: string;
MosPayload: any;
MosPayload: AnyXMLObject;
}

@@ -52,0 +53,0 @@ export declare enum IMOSScope {

@@ -7,3 +7,3 @@ export interface IMOSDuration {

export declare function create(anyValue: AnyValue, strict: boolean): IMOSDuration;
export type AnyValue = string | number | any;
export type AnyValue = string | number | IMOSDuration;
export declare function validate(_mosDuration: IMOSDuration, _strict: boolean): void;

@@ -10,0 +10,0 @@ export declare function valueOf(mosDuration: IMOSDuration): number;

@@ -21,2 +21,5 @@ "use strict";

}
else if (typeof anyValue === 'object' && anyValue?._mosDuration !== undefined) {
value = anyValue._mosDuration;
}
else {

@@ -23,0 +26,0 @@ throw new Error(`MosDuration: Invalid input: "${anyValue}"`);

@@ -10,3 +10,3 @@ export interface IMOSString128 {

type: string;
} | IMOSString128 | any;
} | IMOSString128 | undefined;
export declare function validate(mosString128: IMOSString128, strict: boolean): void;

@@ -13,0 +13,0 @@ export declare function valueOf(mosString128: IMOSString128): string;

@@ -7,7 +7,7 @@ "use strict";

if (typeof anyValue === 'object' && anyValue) {
if (anyValue._mosString128) {
if ('_mosString128' in anyValue && anyValue._mosString128 !== undefined) {
strValue = anyValue._mosString128;
}
else if (anyValue.text) {
strValue = anyValue.text.toString();
else if ('text' in anyValue && anyValue.text) {
strValue = `${anyValue.text}`;
}

@@ -14,0 +14,0 @@ else if (Object.keys(anyValue).length === 0) {

@@ -21,2 +21,4 @@ "use strict";

// 2018-02-25T08:00:45.528Z
if (timestamp === '')
throw new Error(`MosTime: Invalid input: "${timestamp}"`);
let _timezoneZuluIndicator = '';

@@ -23,0 +25,0 @@ let _timezoneDeclaration = '';

{
"name": "@mos-connection/model",
"version": "4.1.1-nightly-master-20240430-072032-ffb8bf6.0",
"version": "4.2.0-alpha.0",
"description": "Types and enums for the mos-connection library",

@@ -44,3 +44,3 @@ "main": "dist/index.js",

},
"gitHead": "d90290af9b0a634f91e1596b15474653adae8c19"
"gitHead": "682861b1aa78a04e5750646529aae72f6f7f592f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc