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

@atjson/document

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atjson/document - npm Package Compare versions

Comparing version 0.20.0 to 0.21.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.21.0](https://github.com/CondeNast/atjson/compare/@atjson/document@0.20.0...@atjson/document@0.21.0) (2019-09-12)
**Note:** Version bump only for package @atjson/document
## [0.20.0](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/document@0.19.0...@atjson/document@0.20.0) (2019-08-26)

@@ -8,0 +16,0 @@

6

dist/commonjs/annotation.d.ts

@@ -1,4 +0,4 @@

import Change, { Deletion, Insertion } from './change';
import Document from './index';
import JSON from './json';
import Change, { Deletion, Insertion } from "./change";
import Document from "./index";
import JSON from "./json";
export declare type ConcreteAnnotation<T extends Annotation<any>> = T;

@@ -5,0 +5,0 @@ export interface AnnotationConstructor<T, Attributes> {

@@ -12,3 +12,4 @@ "use strict";

if (lhsAttributeValue !== rhsAttributeValue) {
if (lhsAttributeValue instanceof index_1.default && rhsAttributeValue instanceof index_1.default) {
if (lhsAttributeValue instanceof index_1.default &&
rhsAttributeValue instanceof index_1.default) {
let areNestedDocumentsEqual = lhsAttributeValue.equals(rhsAttributeValue);

@@ -18,3 +19,4 @@ if (!areNestedDocumentsEqual)

}
else if (typeof lhsAttributeValue === 'object' && typeof rhsAttributeValue === 'object') {
else if (typeof lhsAttributeValue === "object" &&
typeof rhsAttributeValue === "object") {
let areNestedAttributesEqual = areAttributesEqual(lhsAttributeValue, rhsAttributeValue);

@@ -49,4 +51,3 @@ if (!areNestedAttributesEqual)

isAlignedWith(annotation) {
return this.start === annotation.start &&
this.end === annotation.end;
return this.start === annotation.start && this.end === annotation.end;
}

@@ -58,10 +59,10 @@ equals(annotationToCompare) {

let rhsAnnotationAttributes = annotationToCompare.attributes;
return this.start === annotationToCompare.start &&
return (this.start === annotationToCompare.start &&
this.end === annotationToCompare.end &&
this.type === annotationToCompare.type &&
AnnotationClass.vendorPrefix === AnnotationToCompareClass.vendorPrefix &&
areAttributesEqual(lhsAnnotationAttributes, rhsAnnotationAttributes);
areAttributesEqual(lhsAnnotationAttributes, rhsAnnotationAttributes));
}
handleChange(change) {
if (change.type === 'insertion') {
if (change.type === "insertion") {
this.handleInsertion(change);

@@ -120,3 +121,4 @@ }

}
else if (change.behaviour === change_1.AdjacentBoundaryBehaviour.preserve && change.start === this.start) {
else if (change.behaviour === change_1.AdjacentBoundaryBehaviour.preserve &&
change.start === this.start) {
this.end += length;

@@ -151,2 +153,2 @@ }

exports.default = Annotation;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ub3RhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hbm5vdGF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsK0JBQWtDO0FBQ2xDLDZDQUF1RDtBQUN2RCxxQ0FBa0Y7QUFDbEYsbUNBQStCO0FBRy9CLFNBQVMsa0JBQWtCLENBQUMsdUJBQTRCLEVBQUUsdUJBQTRCO0lBQ3BGLEtBQUssSUFBSSxHQUFHLElBQUksdUJBQXVCLEVBQUU7UUFDdkMsSUFBSSxpQkFBaUIsR0FBRyx1QkFBdUIsQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUNyRCxJQUFJLGlCQUFpQixHQUFHLHVCQUF1QixDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBQ3JELElBQUksaUJBQWlCLEtBQUssaUJBQWlCLEVBQUU7WUFDM0MsSUFBSSxpQkFBaUIsWUFBWSxlQUFRLElBQUksaUJBQWlCLFlBQVksZUFBUSxFQUFFO2dCQUNsRixJQUFJLHVCQUF1QixHQUFHLGlCQUFpQixDQUFDLE1BQU0sQ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LLElBQUksQ0FBQyxHQUFHLEVBQUU7WUFDcEMsSUFBSSxDQUFDLEdBQUcsSUFBSSxDQUFDLENBQUM7U0FDZjtJQUNILENBQUM7SUFFRCxLQUFLO1FBQ0gsSUFBSSxlQUFlLEdBQUcsSUFBSSxDQUFDLFdBRzFCLENBQUM7UUFFRixPQUFPLElBQUksZUFBZSxDQUFDO1lBQ3pCLEVBQUUsRUFBRSxJQUFJLENBQUMsRUFBRTtZQUNYLEtBQUssRUFBRSxJQUFJLENBQUMsS0FBSztZQUNqQixHQUFHLEVBQUUsSUFBSSxDQUFDLEdBQUc7WUFDYixVQUFVLEVBQUUsa0JBQUssQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFDO1NBQ25DLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFRCxNQUFNO1FBQ0osSUFBSSxlQUFlLEdBQUcsSUFBSSxDQUFDLFdBRzFCLENBQUM7UUFDRixJQUFJLFlBQVksR0FBRyxlQUFlLENBQUMsWUFBWSxDQUFDO1FBQ2hELE9BQU87WUFDTCxFQUFFLEVBQUUsSUFBSSxDQUFDLEVBQUU7WUFDWCxJQUFJLEVBQUUsSUFBSSxZQUFZLElBQUksSUFBSSxDQUFDLElBQUksRUFBRTtZQUNyQyxLQUFLLEVBQUUsSUFBSSxDQUFDLEtBQUs7WUFDakIsR0FBRyxFQUFFLElBQUksQ0FBQyxHQUFHO1lBQ2IsVUFBVSxFQUFFLG1CQUFNLENBQUMsWUFBWSxFQUFFLElBQUksQ0FBQyxVQUFVLENBQUM7U0FDbEQsQ0FBQztJQUNKLENBQUM7O0FBM01NLHVCQUFZLEdBQXVDLEVBQUUsQ0FBQztBQUgvRCw2QkErTUMifQ==

@@ -1,4 +0,4 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default abstract class BlockAnnotation<Attributes = {}> extends Annotation<Attributes> {
readonly rank: number;
}

@@ -10,2 +10,2 @@ "use strict";

exports.default = BlockAnnotation;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2suanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvYmxvY2sudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw4Q0FBdUM7QUFFdkMsTUFBOEIsZUFBaUMsU0FBUSxvQkFBc0I7SUFDM0YsSUFBSSxJQUFJO1FBQ04sT0FBTyxFQUFFLENBQUM7SUFDWixDQUFDO0NBQ0Y7QUFKRCxrQ0FJQyJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2suanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvYmxvY2sudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw4Q0FBdUM7QUFFdkMsTUFBOEIsZUFFNUIsU0FBUSxvQkFBc0I7SUFDOUIsSUFBSSxJQUFJO1FBQ04sT0FBTyxFQUFFLENBQUM7SUFDWixDQUFDO0NBQ0Y7QUFORCxrQ0FNQyJ9

@@ -1,5 +0,5 @@

export { default as BlockAnnotation } from './block';
export { default as InlineAnnotation } from './inline';
export { default as ObjectAnnotation } from './object';
export { default as ParseAnnotation } from './parse';
export { default as UnknownAnnotation } from './unknown';
export { default as BlockAnnotation } from "./block";
export { default as InlineAnnotation } from "./inline";
export { default as ObjectAnnotation } from "./object";
export { default as ParseAnnotation } from "./parse";
export { default as UnknownAnnotation } from "./unknown";

@@ -1,4 +0,4 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default abstract class InlineAnnotation<Attributes = {}> extends Annotation<Attributes> {
readonly rank: number;
}

@@ -10,2 +10,2 @@ "use strict";

exports.default = InlineAnnotation;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL2lubGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDhDQUF1QztBQUV2QyxNQUE4QixnQkFBa0MsU0FBUSxvQkFBc0I7SUFDNUYsSUFBSSxJQUFJO1FBQ04sT0FBTyxHQUFHLENBQUM7SUFDYixDQUFDO0NBQ0Y7QUFKRCxtQ0FJQyJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL2lubGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDhDQUF1QztBQUV2QyxNQUE4QixnQkFFNUIsU0FBUSxvQkFBc0I7SUFDOUIsSUFBSSxJQUFJO1FBQ04sT0FBTyxHQUFHLENBQUM7SUFDYixDQUFDO0NBQ0Y7QUFORCxtQ0FNQyJ9

@@ -1,4 +0,4 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default abstract class ObjectAnnotation<Attributes = {}> extends Annotation<Attributes> {
readonly rank: number;
}

@@ -10,2 +10,2 @@ "use strict";

exports.default = ObjectAnnotation;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL29iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDhDQUF1QztBQUV2QyxNQUE4QixnQkFBa0MsU0FBUSxvQkFBc0I7SUFDNUYsSUFBSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0NBQ0Y7QUFKRCxtQ0FJQyJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL29iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDhDQUF1QztBQUV2QyxNQUE4QixnQkFFNUIsU0FBUSxvQkFBc0I7SUFDOUIsSUFBSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0NBQ0Y7QUFORCxtQ0FNQyJ9

@@ -1,2 +0,2 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default class ParseAnnotation<Attributes extends {

@@ -3,0 +3,0 @@ reason: string;

@@ -9,5 +9,5 @@ "use strict";

}
ParseAnnotation.vendorPrefix = 'atjson';
ParseAnnotation.type = 'parse-token';
ParseAnnotation.vendorPrefix = "atjson";
ParseAnnotation.type = "parse-token";
exports.default = ParseAnnotation;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvcGFyc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw4Q0FBdUM7QUFFdkMsTUFBcUIsZUFFRyxTQUFRLG9CQUFzQjtJQUlwRCxJQUFJLElBQUk7UUFDTixPQUFPLE1BQU0sQ0FBQyxnQkFBZ0IsR0FBRyxDQUFDLENBQUM7SUFDckMsQ0FBQzs7QUFMTSw0QkFBWSxHQUFHLFFBQVEsQ0FBQztBQUN4QixvQkFBSSxHQUFHLGFBQWEsQ0FBQztBQUo5QixrQ0FTQyJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvcGFyc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw4Q0FBdUM7QUFFdkMsTUFBcUIsZUFJbkIsU0FBUSxvQkFBc0I7SUFJOUIsSUFBSSxJQUFJO1FBQ04sT0FBTyxNQUFNLENBQUMsZ0JBQWdCLEdBQUcsQ0FBQyxDQUFDO0lBQ3JDLENBQUM7O0FBTE0sNEJBQVksR0FBRyxRQUFRLENBQUM7QUFDeEIsb0JBQUksR0FBRyxhQUFhLENBQUM7QUFOOUIsa0NBV0MifQ==

@@ -1,3 +0,3 @@

import Annotation from '../annotation';
import JSON from '../json';
import Annotation from "../annotation";
import JSON from "../json";
export default class UnknownAnnotation extends Annotation<{

@@ -4,0 +4,0 @@ type: string;

@@ -19,5 +19,5 @@ "use strict";

}
UnknownAnnotation.vendorPrefix = 'atjson';
UnknownAnnotation.type = 'unknown';
UnknownAnnotation.vendorPrefix = "atjson";
UnknownAnnotation.type = "unknown";
exports.default = UnknownAnnotation;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5rbm93bi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hbm5vdGF0aW9ucy91bmtub3duLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsOENBQXVDO0FBQ3ZDLDhDQUFzQztBQUd0QyxNQUFxQixpQkFBa0IsU0FBUSxvQkFHN0M7SUFJQSxJQUFJLElBQUk7UUFDTixPQUFPLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQztJQUNqQyxDQUFDO0lBRUQsTUFBTTtRQUNKLE9BQU87WUFDTCxFQUFFLEVBQUUsSUFBSSxDQUFDLEVBQUU7WUFDWCxLQUFLLEVBQUUsSUFBSSxDQUFDLEtBQUs7WUFDakIsR0FBRyxFQUFFLElBQUksQ0FBQyxHQUFHO1lBQ2IsSUFBSSxFQUFFLElBQUksQ0FBQyxVQUFVLENBQUMsSUFBSTtZQUMxQixVQUFVLEVBQUUsa0JBQUssQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFDLFVBQVUsQ0FBQztTQUM5QyxDQUFDO0lBQ0osQ0FBQzs7QUFmTSw4QkFBWSxHQUFHLFFBQVEsQ0FBQztBQUN4QixzQkFBSSxHQUFHLFNBQVMsQ0FBQztBQUwxQixvQ0FvQkMifQ==

@@ -1,3 +0,3 @@

import Document from './index';
import JSON from './json';
import Document from "./index";
import JSON from "./json";
export declare function unprefix(vendorPrefix: string, subdocuments: {

@@ -4,0 +4,0 @@ [key: string]: typeof Document;

@@ -11,5 +11,5 @@ "use strict";

}
else if (subdocuments[path.join('.')]) {
else if (subdocuments[path.join(".")]) {
let serializedDocument = attribute;
return new subdocuments[path.join('.')](serializedDocument);
return new subdocuments[(path.join("."))](serializedDocument);
}

@@ -19,3 +19,3 @@ else if (attribute == null) {

}
else if (typeof attribute === 'object') {
else if (typeof attribute === "object") {
return Object.keys(attribute).reduce((attrs, key) => {

@@ -51,7 +51,7 @@ let value = attribute[key];

}
else if (typeof attribute === 'object') {
else if (typeof attribute === "object") {
return Object.keys(attribute).reduce((copy, key) => {
let value = attribute[key];
if (value !== undefined) {
if (key[0] === '-') {
if (key[0] === "-") {
copy[key] = toJSON(vendorPrefix, value);

@@ -85,3 +85,3 @@ }

}
else if (typeof attribute === 'object') {
else if (typeof attribute === "object") {
let keys = Object.keys(attribute);

@@ -100,2 +100,2 @@ let copy = {};

exports.clone = clone;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hdHRyaWJ1dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsbUNBQW1EO0FBR25ELFNBQWdCLFFBQVEsQ0FBQyxZQUFvQixFQUFFLFlBQWdELEVBQUU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0QsT0FBTyxJQUFJLENBQUM7S0FDYjtTQUFNLElBQUksU0FBUyxZQUFZLGVBQVEsRUFBRTtRQUN4QyxPQUFPLFNBQVMsQ0FBQyxLQUFLLEVBQUUsQ0FBQztLQUMxQjtTQUFNLElBQUksT0FBTyxTQUFTLEtBQUssUUFBUSxFQUFFO1FBQ3hDLElBQUksSUFBSSxHQUFHLE1BQU0sQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLENBQUM7UUFDbEMsSUFBSSxJQUFJLEdBQXFCLEVBQUUsQ0FBQztRQUNoQyxLQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxHQUFHLEdBQUcsSUFBSSxDQUFDLE1BQU0sRUFBRSxDQUFDLEdBQUcsR0FBRyxFQUFFLENBQUMsRUFBRSxFQUFFO1lBQy9DLElBQUksR0FBRyxHQUFHLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQztZQUNsQixJQUFJLENBQUMsR0FBRyxDQUFDLEdBQUcsS0FBSyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDO1NBQ25DO1FBQ0QsT0FBTyxJQUFJLENBQUM7S0FDYjtTQUFNO1FBQ0wsT0FBTyxTQUFTLENBQUM7S0FDbEI7QUFDSCxDQUFDO0FBdEJELHNCQXNCQyJ9

@@ -18,3 +18,3 @@ "use strict";

this.behaviour = behaviour;
this.type = 'deletion';
this.type = "deletion";
}

@@ -29,3 +29,3 @@ }

this.behaviour = behaviour;
this.type = 'insertion';
this.type = "insertion";
}

@@ -32,0 +32,0 @@ }

@@ -1,3 +0,3 @@

import Document, { Annotation } from './index';
import Join from './join';
import Document, { Annotation } from "./index";
import Join from "./join";
export declare function compareAnnotations(a: Annotation<any>, b: Annotation<any>): number;

@@ -4,0 +4,0 @@ export declare class Collection {

@@ -23,3 +23,3 @@ "use strict";

let value = filter[key];
if (typeof value === 'object') {
if (typeof value === "object") {
return matches(annotation[key], value);

@@ -70,3 +70,5 @@ }

let newAnnotations = [];
this.annotations.map(updater).map(result => {
this.annotations
.map(updater)
.map(result => {
let annotations = [];

@@ -82,3 +84,4 @@ if (result) {

return annotations;
}).reduce((annotations, annotationList) => {
})
.reduce((annotations, annotationList) => {
annotations.push(...annotationList);

@@ -105,3 +108,3 @@ return annotations;

}
if (typeof value !== 'object') {
if (typeof value !== "object") {
result[fullyQualifiedKey] = value;

@@ -118,3 +121,3 @@ }

Object.keys(object).forEach((key) => {
let activeAttributes = attributes.filter(attribute => attribute.split('.')[0] === key);
let activeAttributes = attributes.filter(attribute => attribute.split(".")[0] === key);
if (activeAttributes.length === 0) {

@@ -124,3 +127,6 @@ copy[key] = object[key];

else if (activeAttributes.indexOf(key) === -1) {
copy[key] = without(object[key], activeAttributes.map(attribute => attribute.split('.').slice(1).join('.')));
copy[key] = without(object[key], activeAttributes.map(attribute => attribute
.split(".")
.slice(1)
.join(".")));
}

@@ -131,7 +137,7 @@ });

function get(object, key) {
if (key === '')
if (key === "")
return object;
let [path, ...rest] = key.split('.');
let [path, ...rest] = key.split(".");
if (object) {
return get(object[path], rest.join('.'));
return get(object[path], rest.join("."));
}

@@ -143,3 +149,3 @@ return null;

return;
let [path, ...rest] = key.split('.');
let [path, ...rest] = key.split(".");
if (rest.length === 0) {

@@ -152,3 +158,3 @@ object[path] = value;

}
set(object[path], rest.join('.'), value);
set(object[path], rest.join("."), value);
}

@@ -180,3 +186,6 @@ }

rename(renaming) {
let flattenedRenaming = flattenPropertyPaths(renaming, { keys: true, values: true });
let flattenedRenaming = flattenPropertyPaths(renaming, {
keys: true,
values: true
});
return this.update(annotation => {

@@ -212,3 +221,3 @@ let json = annotation.toJSON();

if (rightCollection.document !== this.document) {
throw new Error('Joining annotations from two different documents is non-sensical. Refusing to continue.');
throw new Error("Joining annotations from two different documents is non-sensical. Refusing to continue.");
}

@@ -233,2 +242,2 @@ let results = new join_1.default(this, []);

exports.NamedCollection = NamedCollection;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9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TyxJQUFJLENBQUMsU0FBUyxDQUFDLGVBQWUsRUFBRSxNQUFNLENBQUMsQ0FBQyxLQUFLLENBQ2xELE1BQU0sQ0FBQyxFQUFFLENBQUMsTUFBTSxDQUFDLGVBQWUsQ0FBQyxJQUFJLENBQUMsQ0FBQyxNQUFNLEdBQUcsQ0FBQyxDQUNsRCxDQUFDO0lBQ0osQ0FBQztDQUNGO0FBekRELDBDQXlEQyJ9

@@ -1,7 +0,7 @@

import Annotation, { AnnotationConstructor } from './annotation';
import { BlockAnnotation, InlineAnnotation, ObjectAnnotation, ParseAnnotation, UnknownAnnotation } from './annotations';
import Change, { AdjacentBoundaryBehaviour, Deletion, Insertion } from './change';
import AnnotationCollection from './collection';
import Join from './join';
import JSON from './json';
import Annotation, { AnnotationConstructor } from "./annotation";
import { BlockAnnotation, InlineAnnotation, ObjectAnnotation, ParseAnnotation, UnknownAnnotation } from "./annotations";
import Change, { AdjacentBoundaryBehaviour, Deletion, Insertion } from "./change";
import AnnotationCollection from "./collection";
import Join from "./join";
import JSON from "./json";
export interface AnnotationJSON {

@@ -8,0 +8,0 @@ id?: string;

@@ -21,14 +21,14 @@ "use strict";

function getConverterFor(from, to) {
let exports = (typeof window !== 'undefined' ? window : global);
let fromType = typeof from === 'string' ? from : from.contentType;
let toType = typeof to === 'string' ? to : to.contentType;
let exports = (typeof window !== "undefined" ? window : global);
let fromType = typeof from === "string" ? from : from.contentType;
let toType = typeof to === "string" ? to : to.contentType;
let converters = exports.__atjson_converters__;
let converter = converters ?
converters[fromType] ?
converters[fromType][toType] :
null :
null;
let converter = converters
? converters[fromType]
? converters[fromType][toType]
: null
: null;
if (converter == null) {
let fromName = typeof from === 'string' ? from : from.name;
let toName = typeof to === 'string' ? to : to.name;
let fromName = typeof from === "string" ? from : from.name;
let toName = typeof to === "string" ? to : to.name;
throw new Error(`🚨 There is no converter registered between ${fromName} and ${toName}.\n\nDid you forget to \`import\` or \`require\` your converter?\n\nIf you haven't written a converter yet, register a converter for this:\n\n${fromName}.defineConverterTo(${toName}, doc => {\n // ❤️ Write your converter here!\n return doc;\n});`);

@@ -48,3 +48,3 @@ }

static defineConverterTo(to, converter) {
let exports = (typeof window !== 'undefined' ? window : global);
let exports = (typeof window !== "undefined" ? window : global);
let converters = exports.__atjson_converters__;

@@ -63,4 +63,4 @@ if (converters == null) {

addEventListener(eventName, func) {
if (eventName !== 'change')
throw new Error('Unsupported event. `change` is the only constant.');
if (eventName !== "change")
throw new Error("Unsupported event. `change` is the only constant.");
this.changeListeners.push(func);

@@ -97,3 +97,3 @@ }

if (start < 0 || start > this.content.length)
throw new Error('Invalid position.');
throw new Error("Invalid position.");
let insertion = new change_1.Insertion(start, text, behaviour);

@@ -105,6 +105,7 @@ try {

}
this.content = this.content.slice(0, start) + text + this.content.slice(start);
this.content =
this.content.slice(0, start) + text + this.content.slice(start);
}
catch (e) {
console.error('Failed to insert text', e);
console.error("Failed to insert text", e);
}

@@ -123,3 +124,3 @@ this.triggerChange();

catch (e) {
console.error('Failed to delete text', e);
console.error("Failed to delete text", e);
}

@@ -151,3 +152,3 @@ this.triggerChange();

convertTo(other) {
throw new Error(`🚨 Don't nest converters! Instead, import \`getConverterFor\` and get the converter that way!\n\nimport { getConverterFor } from '@atjson/document';\n\n${DocumentClass.name}.defineConverterTo(${to.name}, doc => {\n let convert${other.name.replace('Source', '')} = getConverterFor(${other.name}, ${to.name});\n return convert${other.name.replace('Source', '')}(doc);\n});`);
throw new Error(`🚨 Don't nest converters! Instead, import \`getConverterFor\` and get the converter that way!\n\nimport { getConverterFor } from '@atjson/document';\n\n${DocumentClass.name}.defineConverterTo(${to.name}, doc => {\n let convert${other.name.replace("Source", "")} = getConverterFor(${other.name}, ${to.name});\n return convert${other.name.replace("Source", "")}(doc);\n});`);
}

@@ -172,3 +173,5 @@ }

contentType: this.contentType,
annotations: this.where({}).sort().toJSON(),
annotations: this.where({})
.sort()
.toJSON(),
schema: schema.map(AnnotationClass => `-${AnnotationClass.vendorPrefix}-${AnnotationClass.type}`)

@@ -203,7 +206,6 @@ };

let canonicalDoc = this.clone();
canonicalDoc.where({ type: '-atjson-parse-token' }).update(a => {
canonicalDoc.where({ type: "-atjson-parse-token" }).update(a => {
canonicalDoc.deleteText(a.start, a.end);
});
canonicalDoc.where({ type: '-atjson-parse-token' })
.remove();
canonicalDoc.where({ type: "-atjson-parse-token" }).remove();
canonicalDoc.annotations.sort(collection_1.compareAnnotations);

@@ -219,3 +221,4 @@ return canonicalDoc;

}
let isAnnotationLengthEqual = canonicalLeftHandSideDoc.annotations.length === canonicalRightHandSideDoc.annotations.length;
let isAnnotationLengthEqual = canonicalLeftHandSideDoc.annotations.length ===
canonicalRightHandSideDoc.annotations.length;
if (!isAnnotationLengthEqual) {

@@ -233,3 +236,4 @@ return false;

let KnownAnnotation = schema.find(AnnotationClass => {
return annotation.attributes.type === `-${AnnotationClass.vendorPrefix}-${AnnotationClass.type}`;
return (annotation.attributes.type ===
`-${AnnotationClass.vendorPrefix}-${AnnotationClass.type}`);
});

@@ -289,2 +293,2 @@ if (KnownAnnotation) {

exports.default = Document;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw2Q0FBaUU7QUFtRC9ELHFCQW5ESyxvQkFBVSxDQW1ETDtBQWxEWiwrQ0FBd0g7QUFzRHRILDBCQXRETyw2QkFBZSxDQXNEUDtBQUdmLDJCQXpEd0IsOEJBQWdCLENBeUR4QjtBQUdoQiwyQkE1RDBDLDhCQUFnQixDQTREMUM7QUFFaEIsMEJBOUQ0RCw2QkFBZSxDQThENUQ7QUFDZiw0QkEvRDZFLCtCQUFpQixDQStEN0U7QUE5RG5CLHFDQUFrRjtBQXNEaEYsaUJBdERLLGdCQUFNLENBc0RMO0FBTk4sb0NBaERlLGtD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FDbkIsSUFBSSxJQUFJLENBQUMsa0JBQWtCO1lBQUUsT0FBTztRQUNwQyxJQUFJLENBQUMsa0JBQWtCLEdBQUcsVUFBVSxDQUFDLEdBQUcsRUFBRTtZQUN4QyxJQUFJLENBQUMsZUFBZSxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUM7WUFDdkMsT0FBTyxJQUFJLENBQUMsa0JBQWtCLENBQUM7UUFDakMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDO0lBQ1IsQ0FBQzs7QUExYk0sZUFBTSxHQUEyQyxFQUFFLENBQUM7QUFGN0QsMkJBNmJDIn0=

@@ -1,4 +0,4 @@

import Annotation from './annotation';
import { NamedCollection } from './collection';
import { JSONArray } from './json';
import Annotation from "./annotation";
import { NamedCollection } from "./collection";
import { JSONArray } from "./json";
export default class Join<Left extends string, Right extends string> {

@@ -14,5 +14,5 @@ private leftJoin;

join<J extends string>(rightCollection: NamedCollection<J>, filter: (lhs: Record<Left, Annotation<any>> & Record<Right, Array<Annotation<any>>>, rhs: Annotation) => boolean): never | Join<Left, Right | J>;
where(filter: ((join: Record<Left, Annotation<any>> & Record<Right, Array<Annotation<any>>>) => boolean)): Join<Left, Right>;
where(filter: (join: Record<Left, Annotation<any>> & Record<Right, Array<Annotation<any>>>) => boolean): Join<Left, Right>;
push(join: Record<Left, Annotation<any>> & Record<Right, Array<Annotation<any>>>): void;
update(callback: (join: Record<Left, Annotation<any>> & Record<Right, Array<Annotation<any>>>) => void): void;
}

@@ -37,3 +37,3 @@ "use strict";

if (rightCollection.document !== this.leftJoin.document) {
throw new Error('Joining annotations from two different documents is non-sensical. Refusing to continue.');
throw new Error("Joining annotations from two different documents is non-sensical. Refusing to continue.");
}

@@ -64,2 +64,2 @@ let results = new Join(this.leftJoin, []);

exports.default = Join;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiam9pbi5q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QUMsQ0FBQztJQUMxRSxDQUFDO0lBRUQsSUFBSSxDQUNGLElBQTJFO1FBRTNFLElBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3pCLENBQUM7SUFFRCxNQUFNLENBQ0osUUFHUztRQUVULElBQUksQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLFFBQVEsQ0FBQyxDQUFDO0lBQ2hDLENBQUM7Q0FDRjtBQS9IRCx1QkErSEMifQ==

@@ -1,4 +0,4 @@

import Change, { Deletion, Insertion } from './change';
import Document from './index';
import JSON from './json';
import Change, { Deletion, Insertion } from "./change";
import Document from "./index";
import JSON from "./json";
export declare type ConcreteAnnotation<T extends Annotation<any>> = T;

@@ -5,0 +5,0 @@ export interface AnnotationConstructor<T, Attributes> {

@@ -1,5 +0,5 @@

import { v4 as uuid } from 'uuid';
import { clone, toJSON, unprefix } from './attributes';
import { AdjacentBoundaryBehaviour } from './change';
import Document from './index';
import { v4 as uuid } from "uuid";
import { clone, toJSON, unprefix } from "./attributes";
import { AdjacentBoundaryBehaviour } from "./change";
import Document from "./index";
function areAttributesEqual(lhsAnnotationAttributes, rhsAnnotationAttributes) {

@@ -10,3 +10,4 @@ for (let key in lhsAnnotationAttributes) {

if (lhsAttributeValue !== rhsAttributeValue) {
if (lhsAttributeValue instanceof Document && rhsAttributeValue instanceof Document) {
if (lhsAttributeValue instanceof Document &&
rhsAttributeValue instanceof Document) {
let areNestedDocumentsEqual = lhsAttributeValue.equals(rhsAttributeValue);

@@ -16,3 +17,4 @@ if (!areNestedDocumentsEqual)

}
else if (typeof lhsAttributeValue === 'object' && typeof rhsAttributeValue === 'object') {
else if (typeof lhsAttributeValue === "object" &&
typeof rhsAttributeValue === "object") {
let areNestedAttributesEqual = areAttributesEqual(lhsAttributeValue, rhsAttributeValue);

@@ -47,4 +49,3 @@ if (!areNestedAttributesEqual)

isAlignedWith(annotation) {
return this.start === annotation.start &&
this.end === annotation.end;
return this.start === annotation.start && this.end === annotation.end;
}

@@ -56,10 +57,10 @@ equals(annotationToCompare) {

let rhsAnnotationAttributes = annotationToCompare.attributes;
return this.start === annotationToCompare.start &&
return (this.start === annotationToCompare.start &&
this.end === annotationToCompare.end &&
this.type === annotationToCompare.type &&
AnnotationClass.vendorPrefix === AnnotationToCompareClass.vendorPrefix &&
areAttributesEqual(lhsAnnotationAttributes, rhsAnnotationAttributes);
areAttributesEqual(lhsAnnotationAttributes, rhsAnnotationAttributes));
}
handleChange(change) {
if (change.type === 'insertion') {
if (change.type === "insertion") {
this.handleInsertion(change);

@@ -118,3 +119,4 @@ }

}
else if (change.behaviour === AdjacentBoundaryBehaviour.preserve && change.start === this.start) {
else if (change.behaviour === AdjacentBoundaryBehaviour.preserve &&
change.start === this.start) {
this.end += length;

@@ -148,2 +150,2 @@ }

Annotation.subdocuments = {};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ub3RhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hbm5vdGF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxFQUFFLElBQUksSUFBSSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ2xDLE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUN2RCxPQUFlLEVBQUUseUJBQXlCLEVBQXVCLE1BQU0sVUFBVSxDQUFDO0FBQ2xGLE9BQU8sUUFBUSxNQUFNLFNBQVMsQ0FBQztBQUcvQixTQUFTLGtCQUFrQixDQUFDLHVCQUE0QixFQUFFLHVCQUE0QjtJQUNwRixLQUFLLElBQUksR0FBRyxJQUFJLHVCQUF1QixFQUFFO1FBQ3ZDLElBQUksaUJBQWlCLEdBQUcsdUJBQXVCLENBQUMsR0FBRyxDQUFDLEN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lBQVksSUFBSSxJQUFJLENBQUMsSUFBSSxFQUFFO1lBQ3JDLEtBQUssRUFBRSxJQUFJLENBQUMsS0FBSztZQUNqQixHQUFHLEVBQUUsSUFBSSxDQUFDLEdBQUc7WUFDYixVQUFVLEVBQUUsTUFBTSxDQUFDLFlBQVksRUFBRSxJQUFJLENBQUMsVUFBVSxDQUFDO1NBQ2xELENBQUM7SUFDSixDQUFDOztBQTNNTSx1QkFBWSxHQUF1QyxFQUFFLENBQUMifQ==

@@ -1,4 +0,4 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default abstract class BlockAnnotation<Attributes = {}> extends Annotation<Attributes> {
readonly rank: number;
}

@@ -1,2 +0,2 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default class BlockAnnotation extends Annotation {

@@ -7,2 +7,2 @@ get rank() {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2suanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvYmxvY2sudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxVQUFVLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE1BQU0sQ0FBQyxPQUFPLE9BQWdCLGVBQWlDLFNBQVEsVUFBc0I7SUFDM0YsSUFBSSxJQUFJO1FBQ04sT0FBTyxFQUFFLENBQUM7SUFDWixDQUFDO0NBQ0YifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2suanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvYmxvY2sudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxVQUFVLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE1BQU0sQ0FBQyxPQUFPLE9BQWdCLGVBRTVCLFNBQVEsVUFBc0I7SUFDOUIsSUFBSSxJQUFJO1FBQ04sT0FBTyxFQUFFLENBQUM7SUFDWixDQUFDO0NBQ0YifQ==

@@ -1,5 +0,5 @@

export { default as BlockAnnotation } from './block';
export { default as InlineAnnotation } from './inline';
export { default as ObjectAnnotation } from './object';
export { default as ParseAnnotation } from './parse';
export { default as UnknownAnnotation } from './unknown';
export { default as BlockAnnotation } from "./block";
export { default as InlineAnnotation } from "./inline";
export { default as ObjectAnnotation } from "./object";
export { default as ParseAnnotation } from "./parse";
export { default as UnknownAnnotation } from "./unknown";

@@ -1,6 +0,6 @@

export { default as BlockAnnotation } from './block';
export { default as InlineAnnotation } from './inline';
export { default as ObjectAnnotation } from './object';
export { default as ParseAnnotation } from './parse';
export { default as UnknownAnnotation } from './unknown';
export { default as BlockAnnotation } from "./block";
export { default as InlineAnnotation } from "./inline";
export { default as ObjectAnnotation } from "./object";
export { default as ParseAnnotation } from "./parse";
export { default as UnknownAnnotation } from "./unknown";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sSUFBSSxlQUFlLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFDckQsT0FBTyxFQUFFLE9BQU8sSUFBSSxnQkFBZ0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUN2RCxPQUFPLEVBQUUsT0FBTyxJQUFJLGdCQUFnQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBQ3ZELE9BQU8sRUFBRSxPQUFPLElBQUksZUFBZSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQ3JELE9BQU8sRUFBRSxPQUFPLElBQUksaUJBQWlCLEVBQUUsTUFBTSxXQUFXLENBQUMifQ==

@@ -1,4 +0,4 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default abstract class InlineAnnotation<Attributes = {}> extends Annotation<Attributes> {
readonly rank: number;
}

@@ -1,2 +0,2 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default class InlineAnnotation extends Annotation {

@@ -7,2 +7,2 @@ get rank() {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL2lubGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFVBQVUsTUFBTSxlQUFlLENBQUM7QUFFdkMsTUFBTSxDQUFDLE9BQU8sT0FBZ0IsZ0JBQWtDLFNBQVEsVUFBc0I7SUFDNUYsSUFBSSxJQUFJO1FBQ04sT0FBTyxHQUFHLENBQUM7SUFDYixDQUFDO0NBQ0YifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL2lubGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFVBQVUsTUFBTSxlQUFlLENBQUM7QUFFdkMsTUFBTSxDQUFDLE9BQU8sT0FBZ0IsZ0JBRTVCLFNBQVEsVUFBc0I7SUFDOUIsSUFBSSxJQUFJO1FBQ04sT0FBTyxHQUFHLENBQUM7SUFDYixDQUFDO0NBQ0YifQ==

@@ -1,4 +0,4 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default abstract class ObjectAnnotation<Attributes = {}> extends Annotation<Attributes> {
readonly rank: number;
}

@@ -1,2 +0,2 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default class ObjectAnnotation extends Annotation {

@@ -7,2 +7,2 @@ get rank() {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL29iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFVBQVUsTUFBTSxlQUFlLENBQUM7QUFFdkMsTUFBTSxDQUFDLE9BQU8sT0FBZ0IsZ0JBQWtDLFNBQVEsVUFBc0I7SUFDNUYsSUFBSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0NBQ0YifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL29iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFVBQVUsTUFBTSxlQUFlLENBQUM7QUFFdkMsTUFBTSxDQUFDLE9BQU8sT0FBZ0IsZ0JBRTVCLFNBQVEsVUFBc0I7SUFDOUIsSUFBSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0NBQ0YifQ==

@@ -1,2 +0,2 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default class ParseAnnotation<Attributes extends {

@@ -3,0 +3,0 @@ reason: string;

@@ -1,2 +0,2 @@

import Annotation from '../annotation';
import Annotation from "../annotation";
export default class ParseAnnotation extends Annotation {

@@ -7,4 +7,4 @@ get rank() {

}
ParseAnnotation.vendorPrefix = 'atjson';
ParseAnnotation.type = 'parse-token';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvcGFyc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxVQUFVLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE1BQU0sQ0FBQyxPQUFPLE9BQU8sZUFFRyxTQUFRLFVBQXNCO0lBSXBELElBQUksSUFBSTtRQUNOLE9BQU8sTUFBTSxDQUFDLGdCQUFnQixHQUFHLENBQUMsQ0FBQztJQUNyQyxDQUFDOztBQUxNLDRCQUFZLEdBQUcsUUFBUSxDQUFDO0FBQ3hCLG9CQUFJLEdBQUcsYUFBYSxDQUFDIn0=
ParseAnnotation.vendorPrefix = "atjson";
ParseAnnotation.type = "parse-token";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvcGFyc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxVQUFVLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE1BQU0sQ0FBQyxPQUFPLE9BQU8sZUFJbkIsU0FBUSxVQUFzQjtJQUk5QixJQUFJLElBQUk7UUFDTixPQUFPLE1BQU0sQ0FBQyxnQkFBZ0IsR0FBRyxDQUFDLENBQUM7SUFDckMsQ0FBQzs7QUFMTSw0QkFBWSxHQUFHLFFBQVEsQ0FBQztBQUN4QixvQkFBSSxHQUFHLGFBQWEsQ0FBQyJ9

@@ -1,3 +0,3 @@

import Annotation from '../annotation';
import JSON from '../json';
import Annotation from "../annotation";
import JSON from "../json";
export default class UnknownAnnotation extends Annotation<{

@@ -4,0 +4,0 @@ type: string;

@@ -1,3 +0,3 @@

import Annotation from '../annotation';
import { clone } from '../attributes';
import Annotation from "../annotation";
import { clone } from "../attributes";
export default class UnknownAnnotation extends Annotation {

@@ -17,4 +17,4 @@ get rank() {

}
UnknownAnnotation.vendorPrefix = 'atjson';
UnknownAnnotation.type = 'unknown';
UnknownAnnotation.vendorPrefix = "atjson";
UnknownAnnotation.type = "unknown";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5rbm93bi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hbm5vdGF0aW9ucy91bmtub3duLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sVUFBVSxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBR3RDLE1BQU0sQ0FBQyxPQUFPLE9BQU8saUJBQWtCLFNBQVEsVUFHN0M7SUFJQSxJQUFJLElBQUk7UUFDTixPQUFPLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQztJQUNqQyxDQUFDO0lBRUQsTUFBTTtRQUNKLE9BQU87WUFDTCxFQUFFLEVBQUUsSUFBSSxDQUFDLEVBQUU7WUFDWCxLQUFLLEVBQUUsSUFBSSxDQUFDLEtBQUs7WUFDakIsR0FBRyxFQUFFLElBQUksQ0FBQyxHQUFHO1lBQ2IsSUFBSSxFQUFFLElBQUksQ0FBQyxVQUFVLENBQUMsSUFBSTtZQUMxQixVQUFVLEVBQUUsS0FBSyxDQUFDLElBQUksQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDO1NBQzlDLENBQUM7SUFDSixDQUFDOztBQWZNLDhCQUFZLEdBQUcsUUFBUSxDQUFDO0FBQ3hCLHNCQUFJLEdBQUcsU0FBUyxDQUFDIn0=

@@ -1,3 +0,3 @@

import Document from './index';
import JSON from './json';
import Document from "./index";
import JSON from "./json";
export declare function unprefix(vendorPrefix: string, subdocuments: {

@@ -4,0 +4,0 @@ [key: string]: typeof Document;

@@ -1,2 +0,2 @@

import Document from './index';
import Document from "./index";
export function unprefix(vendorPrefix, subdocuments, attribute, path = []) {

@@ -9,5 +9,5 @@ if (Array.isArray(attribute)) {

}
else if (subdocuments[path.join('.')]) {
else if (subdocuments[path.join(".")]) {
let serializedDocument = attribute;
return new subdocuments[path.join('.')](serializedDocument);
return new subdocuments[(path.join("."))](serializedDocument);
}

@@ -17,3 +17,3 @@ else if (attribute == null) {

}
else if (typeof attribute === 'object') {
else if (typeof attribute === "object") {
return Object.keys(attribute).reduce((attrs, key) => {

@@ -48,7 +48,7 @@ let value = attribute[key];

}
else if (typeof attribute === 'object') {
else if (typeof attribute === "object") {
return Object.keys(attribute).reduce((copy, key) => {
let value = attribute[key];
if (value !== undefined) {
if (key[0] === '-') {
if (key[0] === "-") {
copy[key] = toJSON(vendorPrefix, value);

@@ -81,3 +81,3 @@ }

}
else if (typeof attribute === 'object') {
else if (typeof attribute === "object") {
let keys = Object.keys(attribute);

@@ -95,2 +95,2 @@ let copy = {};

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hdHRyaWJ1dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sUUFBNEIsTUFBTSxTQUFTLENBQUM7QUFHbkQsTUFBTSxVQUFVLFFBQVEsQ0FBQyxZQUFvQixFQUFFLFlBQWdELEVBQUUsU0FBZSxFQUFFLE9BQStCLEVBQUU7SUFDakosSUFBSSxLQUFLLENBQUMsT0FBTyxDQUFDLFNBQVMsQ0FBQyxFQUFFO1FBQzVCLE9BQU8sU0FBUyxDQUFDLEdBQUcsQ0FBQyxDQUFDLElBQUksRUFBRSxLQUFLLEVBQUUsRUFBRTtZQUNuQyxJQUFJLE1BQU0sR0FBRyxRQUFRLENBQUMsWUFBWSxFQUFFLFlBQVksRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDO1lBQ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FBSSxDQUFDLE1BQU0sRUFBRSxDQUFDLEdBQUcsR0FBRyxFQUFFLENBQUMsRUFBRSxFQUFFO1lBQy9DLElBQUksR0FBRyxHQUFHLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQztZQUNsQixJQUFJLENBQUMsR0FBRyxDQUFDLEdBQUcsS0FBSyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDO1NBQ25DO1FBQ0QsT0FBTyxJQUFJLENBQUM7S0FDYjtTQUFNO1FBQ0wsT0FBTyxTQUFTLENBQUM7S0FDbEI7QUFDSCxDQUFDIn0=

@@ -15,3 +15,3 @@ export default class Change {

this.behaviour = behaviour;
this.type = 'deletion';
this.type = "deletion";
}

@@ -25,5 +25,5 @@ }

this.behaviour = behaviour;
this.type = 'insertion';
this.type = "insertion";
}
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NoYW5nZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsT0FBTyxPQUFnQixNQUFNO0NBRW5DO0FBRUQsTUFBTSxDQUFOLElBQVkseUJBSVg7QUFKRCxXQUFZLHlCQUF5QjtJQUNuQyxpRkFBUSxDQUFBO0lBQ1IsK0VBQU8sQ0FBQTtJQUNQLDZFQUFNLENBQUE7QUFDUixDQUFDLEVBSlcseUJBQXlCLEtBQXpCLHlCQUF5QixRQUlwQztBQUVELE1BQU0sT0FBTyxRQUFTLFNBQVEsTUFBTTtJQUVsQyxZQUNXLEtBQWEsRUFDYixHQUFXLEVBQ1gsWUFBdUMseUJBQXlCLENBQUMsT0FBTztRQUVqRixLQUFLLEVBQUUsQ0FBQztRQUpDLFVBQUssR0FBTCxLQUFLLENBQVE7UUFDYixRQUFHLEdBQUgsR0FBRyxDQUFRO1FBQ1gsY0FBUyxHQUFULFNBQVMsQ0FBK0Q7UUFKMUUsU0FBSSxHQUFHLFVBQVUsQ0FBQztJQU8zQixDQUFDO0NBQ0Y7QUFFRCxNQUFNLE9BQU8sU0FBVSxTQUFRLE1BQU07SUFFbkMsWUFDVyxLQUFhLEVBQ2IsSUFBWSxFQUNaLFlBQXVDLHlCQUF5QixDQUFDLE9BQU87UUFFakYsS0FBSyxFQUFFLENBQUM7UUFKQyxVQUFLLEdBQUwsS0FBSyxDQUFRO1FBQ2IsU0FBSSxHQUFKLElBQUksQ0FBUTtRQUNaLGNBQVMsR0FBVCxTQUFTLENBQStEO1FBSjFFLFNBQUksR0FBRyxXQUFXLENBQUM7SUFPNUIsQ0FBQztDQUNGIn0=

@@ -1,3 +0,3 @@

import Document, { Annotation } from './index';
import Join from './join';
import Document, { Annotation } from "./index";
import Join from "./join";
export declare function compareAnnotations(a: Annotation<any>, b: Annotation<any>): number;

@@ -4,0 +4,0 @@ export declare class Collection {

@@ -1,2 +0,2 @@

import Join from './join';
import Join from "./join";
export function compareAnnotations(a, b) {

@@ -20,3 +20,3 @@ let startDelta = a.start - b.start;

let value = filter[key];
if (typeof value === 'object') {
if (typeof value === "object") {
return matches(annotation[key], value);

@@ -67,3 +67,5 @@ }

let newAnnotations = [];
this.annotations.map(updater).map(result => {
this.annotations
.map(updater)
.map(result => {
let annotations = [];

@@ -79,3 +81,4 @@ if (result) {

return annotations;
}).reduce((annotations, annotationList) => {
})
.reduce((annotations, annotationList) => {
annotations.push(...annotationList);

@@ -101,3 +104,3 @@ return annotations;

}
if (typeof value !== 'object') {
if (typeof value !== "object") {
result[fullyQualifiedKey] = value;

@@ -114,3 +117,3 @@ }

Object.keys(object).forEach((key) => {
let activeAttributes = attributes.filter(attribute => attribute.split('.')[0] === key);
let activeAttributes = attributes.filter(attribute => attribute.split(".")[0] === key);
if (activeAttributes.length === 0) {

@@ -120,3 +123,6 @@ copy[key] = object[key];

else if (activeAttributes.indexOf(key) === -1) {
copy[key] = without(object[key], activeAttributes.map(attribute => attribute.split('.').slice(1).join('.')));
copy[key] = without(object[key], activeAttributes.map(attribute => attribute
.split(".")
.slice(1)
.join(".")));
}

@@ -127,7 +133,7 @@ });

function get(object, key) {
if (key === '')
if (key === "")
return object;
let [path, ...rest] = key.split('.');
let [path, ...rest] = key.split(".");
if (object) {
return get(object[path], rest.join('.'));
return get(object[path], rest.join("."));
}

@@ -139,3 +145,3 @@ return null;

return;
let [path, ...rest] = key.split('.');
let [path, ...rest] = key.split(".");
if (rest.length === 0) {

@@ -148,3 +154,3 @@ object[path] = value;

}
set(object[path], rest.join('.'), value);
set(object[path], rest.join("."), value);
}

@@ -176,3 +182,6 @@ }

rename(renaming) {
let flattenedRenaming = flattenPropertyPaths(renaming, { keys: true, values: true });
let flattenedRenaming = flattenPropertyPaths(renaming, {
keys: true,
values: true
});
return this.update(annotation => {

@@ -207,3 +216,3 @@ let json = annotation.toJSON();

if (rightCollection.document !== this.document) {
throw new Error('Joining annotations from two different documents is non-sensical. Refusing to continue.');
throw new Error("Joining annotations from two different documents is non-sensical. Refusing to continue.");
}

@@ -227,2 +236,2 @@ let results = new Join(this, []);

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sSUFBSSxNQUFNLFFBQVEsQ0FBQztBQUUxQixNQUFNLFVBQVUsa0JBQWtCLENBQUMsQ0FBa0IsRUFBRSxDQUFrQjtJQUN2RSxJQUFJLFVBQVUsR0FBRyxDQUFDLENBQUMsS0FBSyxHQUFHLENBQUMsQ0FBQyxLQUFLLENBQUM7SUFDbkMsSUFBSSxRQUFRLEdBQUcsQ0FBQyxDQUFDLEdBQUcsR0FBRyxDQUFDLENBQUMsR0FBRyxDQUFDO0lBQzd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UMsQ0FBQztRQUU5QyxJQUFJLENBQUMsT0FBTyxDQUNWLENBQUMsY0FBK0IsRUFBUSxFQUFFO1lBQ3hDLElBQUksZUFBZSxHQUFHLGVBQWUsQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUN0RCxDQUFDLGVBQWdDLEVBQUUsRUFBRTtnQkFDbkMsT0FBTyxNQUFNLENBQUMsY0FBYyxFQUFFLGVBQWUsQ0FBQyxDQUFDO1lBQ2pELENBQUMsQ0FDRixDQUFDO1lBS0YsSUFBSSxJQUFJLEdBQUc7Z0JBQ1QsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsY0FBYztnQkFDM0IsQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLEVBQUUsZUFBZTthQUN4QyxDQUFDO1lBQ0YsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFnQixDQUFDLENBQUM7UUFDakMsQ0FBQyxDQUNGLENBQUM7UUFFRixPQUFPLE9BQU8sQ0FBQztJQUNqQixDQUFDO0lBRUQsSUFBSSxDQUNGLGVBQXVDLEVBQ3ZDLE1BQStEO1FBRS9ELE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxlQUFlLEVBQUUsTUFBTSxDQUFDLENBQUMsS0FBSyxDQUNsRCxNQUFNLENBQUMsRUFBRSxDQUFDLE1BQU0sQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLENBQUMsTUFBTSxHQUFHLENBQUMsQ0FDbEQsQ0FBQztJQUNKLENBQUM7Q0FDRiJ9

@@ -1,7 +0,7 @@

import Annotation, { AnnotationConstructor } from './annotation';
import { BlockAnnotation, InlineAnnotation, ObjectAnnotation, ParseAnnotation, UnknownAnnotation } from './annotations';
import Change, { AdjacentBoundaryBehaviour, Deletion, Insertion } from './change';
import AnnotationCollection from './collection';
import Join from './join';
import JSON from './json';
import Annotation, { AnnotationConstructor } from "./annotation";
import { BlockAnnotation, InlineAnnotation, ObjectAnnotation, ParseAnnotation, UnknownAnnotation } from "./annotations";
import Change, { AdjacentBoundaryBehaviour, Deletion, Insertion } from "./change";
import AnnotationCollection from "./collection";
import Join from "./join";
import JSON from "./json";
export interface AnnotationJSON {

@@ -8,0 +8,0 @@ id?: string;

@@ -1,20 +0,20 @@

import Annotation from './annotation';
import { BlockAnnotation, InlineAnnotation, ObjectAnnotation, ParseAnnotation, UnknownAnnotation } from './annotations';
import Change, { AdjacentBoundaryBehaviour, Deletion, Insertion } from './change';
import AnnotationCollection, { compareAnnotations } from './collection';
import Join from './join';
import Annotation from "./annotation";
import { BlockAnnotation, InlineAnnotation, ObjectAnnotation, ParseAnnotation, UnknownAnnotation } from "./annotations";
import Change, { AdjacentBoundaryBehaviour, Deletion, Insertion } from "./change";
import AnnotationCollection, { compareAnnotations } from "./collection";
import Join from "./join";
export { AdjacentBoundaryBehaviour, Annotation, AnnotationCollection, BlockAnnotation, Change, Deletion, InlineAnnotation, Insertion, ObjectAnnotation, Join, ParseAnnotation, UnknownAnnotation };
export function getConverterFor(from, to) {
let exports = (typeof window !== 'undefined' ? window : global);
let fromType = typeof from === 'string' ? from : from.contentType;
let toType = typeof to === 'string' ? to : to.contentType;
let exports = (typeof window !== "undefined" ? window : global);
let fromType = typeof from === "string" ? from : from.contentType;
let toType = typeof to === "string" ? to : to.contentType;
let converters = exports.__atjson_converters__;
let converter = converters ?
converters[fromType] ?
converters[fromType][toType] :
null :
null;
let converter = converters
? converters[fromType]
? converters[fromType][toType]
: null
: null;
if (converter == null) {
let fromName = typeof from === 'string' ? from : from.name;
let toName = typeof to === 'string' ? to : to.name;
let fromName = typeof from === "string" ? from : from.name;
let toName = typeof to === "string" ? to : to.name;
throw new Error(`🚨 There is no converter registered between ${fromName} and ${toName}.\n\nDid you forget to \`import\` or \`require\` your converter?\n\nIf you haven't written a converter yet, register a converter for this:\n\n${fromName}.defineConverterTo(${toName}, doc => {\n // ❤️ Write your converter here!\n return doc;\n});`);

@@ -33,3 +33,3 @@ }

static defineConverterTo(to, converter) {
let exports = (typeof window !== 'undefined' ? window : global);
let exports = (typeof window !== "undefined" ? window : global);
let converters = exports.__atjson_converters__;

@@ -48,4 +48,4 @@ if (converters == null) {

addEventListener(eventName, func) {
if (eventName !== 'change')
throw new Error('Unsupported event. `change` is the only constant.');
if (eventName !== "change")
throw new Error("Unsupported event. `change` is the only constant.");
this.changeListeners.push(func);

@@ -82,3 +82,3 @@ }

if (start < 0 || start > this.content.length)
throw new Error('Invalid position.');
throw new Error("Invalid position.");
let insertion = new Insertion(start, text, behaviour);

@@ -90,6 +90,7 @@ try {

}
this.content = this.content.slice(0, start) + text + this.content.slice(start);
this.content =
this.content.slice(0, start) + text + this.content.slice(start);
}
catch (e) {
console.error('Failed to insert text', e);
console.error("Failed to insert text", e);
}

@@ -108,3 +109,3 @@ this.triggerChange();

catch (e) {
console.error('Failed to delete text', e);
console.error("Failed to delete text", e);
}

@@ -136,3 +137,3 @@ this.triggerChange();

convertTo(other) {
throw new Error(`🚨 Don't nest converters! Instead, import \`getConverterFor\` and get the converter that way!\n\nimport { getConverterFor } from '@atjson/document';\n\n${DocumentClass.name}.defineConverterTo(${to.name}, doc => {\n let convert${other.name.replace('Source', '')} = getConverterFor(${other.name}, ${to.name});\n return convert${other.name.replace('Source', '')}(doc);\n});`);
throw new Error(`🚨 Don't nest converters! Instead, import \`getConverterFor\` and get the converter that way!\n\nimport { getConverterFor } from '@atjson/document';\n\n${DocumentClass.name}.defineConverterTo(${to.name}, doc => {\n let convert${other.name.replace("Source", "")} = getConverterFor(${other.name}, ${to.name});\n return convert${other.name.replace("Source", "")}(doc);\n});`);
}

@@ -157,3 +158,5 @@ }

contentType: this.contentType,
annotations: this.where({}).sort().toJSON(),
annotations: this.where({})
.sort()
.toJSON(),
schema: schema.map(AnnotationClass => `-${AnnotationClass.vendorPrefix}-${AnnotationClass.type}`)

@@ -188,7 +191,6 @@ };

let canonicalDoc = this.clone();
canonicalDoc.where({ type: '-atjson-parse-token' }).update(a => {
canonicalDoc.where({ type: "-atjson-parse-token" }).update(a => {
canonicalDoc.deleteText(a.start, a.end);
});
canonicalDoc.where({ type: '-atjson-parse-token' })
.remove();
canonicalDoc.where({ type: "-atjson-parse-token" }).remove();
canonicalDoc.annotations.sort(compareAnnotations);

@@ -204,3 +206,4 @@ return canonicalDoc;

}
let isAnnotationLengthEqual = canonicalLeftHandSideDoc.annotations.length === canonicalRightHandSideDoc.annotations.length;
let isAnnotationLengthEqual = canonicalLeftHandSideDoc.annotations.length ===
canonicalRightHandSideDoc.annotations.length;
if (!isAnnotationLengthEqual) {

@@ -218,3 +221,4 @@ return false;

let KnownAnnotation = schema.find(AnnotationClass => {
return annotation.attributes.type === `-${AnnotationClass.vendorPrefix}-${AnnotationClass.type}`;
return (annotation.attributes.type ===
`-${AnnotationClass.vendorPrefix}-${AnnotationClass.type}`);
});

@@ -273,2 +277,2 @@ if (KnownAnnotation) {

Document.schema = [];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxVQUFxQyxNQUFNLGNBQWMsQ0FBQztBQUNqRSxPQUFPLEVBQUUsZUFBZSxFQUFFLGdCQUFnQixFQUFFLGdCQUFnQixFQUFFLGVBQWUsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN4SCxPQUFPLE1BQU0sRUFBRSxFQUFFLHlCQUF5QixFQUFFLFFBQVEsRUFBRSxTQUFTLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDbEYsT0FBTyxvQkFBb0IsRUFBRSxFQUFFLGtCQUFrQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3hFLE9BQU8sSUFBSSxNQUFNLFFBQVEsQ0FBQztBQTZDMUIsT0FBTyxFQUNMLHlCQUF5QixFQUN6QixVQUFVLEV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O1FBQ25CLElBQUksSUFBSSxDQUFDLGtCQUFrQjtZQUFFLE9BQU87UUFDcEMsSUFBSSxDQUFDLGtCQUFrQixHQUFHLFVBQVUsQ0FBQyxHQUFHLEVBQUU7WUFDeEMsSUFBSSxDQUFDLGVBQWUsQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDO1lBQ3ZDLE9BQU8sSUFBSSxDQUFDLGtCQUFrQixDQUFDO1FBQ2pDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQztJQUNSLENBQUM7O0FBMWJNLGVBQU0sR0FBMkMsRUFBRSxDQUFDIn0=

@@ -1,4 +0,4 @@

import Annotation from './annotation';
import { NamedCollection } from './collection';
import { JSONArray } from './json';
import Annotation from "./annotation";
import { NamedCollection } from "./collection";
import { JSONArray } from "./json";
export default class Join<Left extends string, Right extends string> {

@@ -14,5 +14,5 @@ private leftJoin;

join<J extends string>(rightCollection: NamedCollection<J>, filter: (lhs: Record<Left, Annotation<any>> & Record<Right, Array<Annotation<any>>>, rhs: Annotation) => boolean): never | Join<Left, Right | J>;
where(filter: ((join: Record<Left, Annotation<any>> & Record<Right, Array<Annotation<any>>>) => boolean)): Join<Left, Right>;
where(filter: (join: Record<Left, Annotation<any>> & Record<Right, Array<Annotation<any>>>) => boolean): Join<Left, Right>;
push(join: Record<Left, Annotation<any>> & Record<Right, Array<Annotation<any>>>): void;
update(callback: (join: Record<Left, Annotation<any>> & Record<Right, Array<Annotation<any>>>) => void): void;
}

@@ -35,3 +35,3 @@ export default class Join {

if (rightCollection.document !== this.leftJoin.document) {
throw new Error('Joining annotations from two different documents is non-sensical. Refusing to continue.');
throw new Error("Joining annotations from two different documents is non-sensical. Refusing to continue.");
}

@@ -61,2 +61,2 @@ let results = new Join(this.leftJoin, []);

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiam9pbi5qcyIsInNvdXJjZV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UMsQ0FBQztJQUMxRSxDQUFDO0lBRUQsSUFBSSxDQUNGLElBQTJFO1FBRTNFLElBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3pCLENBQUM7SUFFRCxNQUFNLENBQ0osUUFHUztRQUVULElBQUksQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLFFBQVEsQ0FBQyxDQUFDO0lBQ2hDLENBQUM7Q0FDRiJ9
{
"name": "@atjson/document",
"version": "0.20.0",
"version": "0.21.0",
"description": "Document definition for AtJSON",

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

},
"gitHead": "e4ccea39f42908c2f11d39d8511fd042c05fc941"
"gitHead": "c8d4b67b3c8b7491d611f1a09036c8ddb92c17c3"
}
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