quip-apps-api
Advanced tools
Comparing version 0.2.1-alpha.2 to 0.2.1-alpha.3
@@ -6,2 +6,10 @@ # Change Log | ||
## 0.2.1-alpha.3 (2024-05-06) | ||
**Note:** Version bump only for package quip-apps-api | ||
## 0.2.1-alpha.2 (2023-02-03) | ||
@@ -8,0 +16,0 @@ |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HttpHeaders = exports.HttpResponse = void 0; | ||
const auth_1 = __importDefault(require("./auth")); | ||
@@ -8,0 +9,0 @@ class BaseOAuth extends auth_1.default { |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CanvasRecordCommentAnchorRecord = void 0; | ||
const record_1 = __importDefault(require("./record")); | ||
@@ -25,4 +26,4 @@ class CanvasRecordCommentAnchorRecord extends record_1.default { | ||
} | ||
CanvasRecord.CommentAnchorRecord = CanvasRecordCommentAnchorRecord; | ||
exports.default = CanvasRecord; | ||
CanvasRecord.CommentAnchorRecord = CanvasRecordCommentAnchorRecord; | ||
//# sourceMappingURL=canvas-record.js.map |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RootEntityConstructor = exports.MenuIcons = exports.EventType = exports.DocumentMenuCommands = exports.DocumentMenuActions = exports.CreationSource = void 0; | ||
const blob_1 = __importDefault(require("./blob")); | ||
@@ -34,7 +35,7 @@ const preferences_1 = __importDefault(require("./preferences")); | ||
CreationSource["TEMPLATE"] = "TEMPLATE"; | ||
})(CreationSource = exports.CreationSource || (exports.CreationSource = {})); | ||
})(CreationSource || (exports.CreationSource = CreationSource = {})); | ||
var DocumentMenuActions; | ||
(function (DocumentMenuActions) { | ||
DocumentMenuActions["SHOW_FILE_PICKER"] = "SHOW_FILE_PICKER"; | ||
})(DocumentMenuActions = exports.DocumentMenuActions || (exports.DocumentMenuActions = {})); | ||
})(DocumentMenuActions || (exports.DocumentMenuActions = DocumentMenuActions = {})); | ||
var DocumentMenuCommands; | ||
@@ -51,3 +52,3 @@ (function (DocumentMenuCommands) { | ||
DocumentMenuCommands["DELETE_APP"] = "DELETE_APP"; | ||
})(DocumentMenuCommands = exports.DocumentMenuCommands || (exports.DocumentMenuCommands = {})); | ||
})(DocumentMenuCommands || (exports.DocumentMenuCommands = DocumentMenuCommands = {})); | ||
var EventType; | ||
@@ -72,3 +73,3 @@ (function (EventType) { | ||
EventType["DOCUMENT_TEMPLATE_SETTINGS_CHANGED"] = "DOCUMENT_TEMPLATE_SETTINGS_CHANGED"; | ||
})(EventType = exports.EventType || (exports.EventType = {})); | ||
})(EventType || (exports.EventType = EventType = {})); | ||
var MenuIcons; | ||
@@ -83,5 +84,6 @@ (function (MenuIcons) { | ||
MenuIcons["COMMENT_MENU_ITEM"] = "COMMENT_MENU_ITEM"; | ||
})(MenuIcons = exports.MenuIcons || (exports.MenuIcons = {})); | ||
exports.RootEntityConstructor = class { | ||
})(MenuIcons || (exports.MenuIcons = MenuIcons = {})); | ||
const RootEntityConstructor = class { | ||
}; | ||
exports.RootEntityConstructor = RootEntityConstructor; | ||
class Client { | ||
@@ -88,0 +90,0 @@ constructor(elementConfigId, elementId, elementLocalId, window, bridgeToken) { |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
@@ -8,0 +24,0 @@ }; |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
const auth_1 = __importDefault(require("./auth")); | ||
@@ -13,0 +29,0 @@ const base_oauth_1 = __importDefault(require("./base-oauth")); |
@@ -34,3 +34,3 @@ import Record from "./record"; | ||
} | ||
export declare type listPropertyType<T> = { | ||
export type listPropertyType<T> = { | ||
TYPE_SENTINAL: Object; | ||
@@ -37,0 +37,0 @@ RecordConstructor: { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class RecordList { | ||
static Type(RecordConstructor) { | ||
return { | ||
TYPE_SENTINAL: RecordList.TYPE_SENTINAL, | ||
RecordConstructor, | ||
}; | ||
} | ||
constructor(client, RecordConstructor) { | ||
@@ -10,8 +16,2 @@ this.idValue = "mock-record-list"; | ||
} | ||
static Type(RecordConstructor) { | ||
return { | ||
TYPE_SENTINAL: RecordList.TYPE_SENTINAL, | ||
RecordConstructor, | ||
}; | ||
} | ||
getId() { | ||
@@ -82,4 +82,4 @@ return this.idValue; | ||
} | ||
RecordList.TYPE_SENTINAL = {}; | ||
exports.default = RecordList; | ||
RecordList.TYPE_SENTINAL = {}; | ||
//# sourceMappingURL=record-list.js.map |
@@ -5,3 +5,3 @@ import Client from "./client"; | ||
export declare const isRecord: (obj: any) => obj is Record; | ||
export declare type RecordConstructor = { | ||
export type RecordConstructor = { | ||
new (): Record; | ||
@@ -17,3 +17,3 @@ }; | ||
} | ||
export declare type RecordParams = { | ||
export type RecordParams = { | ||
data: { | ||
@@ -20,0 +20,0 @@ [key: string]: any; |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RecordType = exports.isRecord = void 0; | ||
const client_error_1 = __importDefault(require("./client-error")); | ||
@@ -11,3 +12,4 @@ const record_index_1 = __importDefault(require("./record-index")); | ||
const RECORD_SENTINAL = {}; | ||
exports.isRecord = (obj) => obj.typeSentinal_ === RECORD_SENTINAL; | ||
const isRecord = (obj) => obj.typeSentinal_ === RECORD_SENTINAL; | ||
exports.isRecord = isRecord; | ||
var RecordType; | ||
@@ -21,4 +23,10 @@ (function (RecordType) { | ||
RecordType[RecordType["COMMENT_ANCHOR"] = 5] = "COMMENT_ANCHOR"; | ||
})(RecordType = exports.RecordType || (exports.RecordType = {})); | ||
})(RecordType || (exports.RecordType = RecordType = {})); | ||
class Record { | ||
static getProperties() { | ||
return {}; | ||
} | ||
static getDefaultProperties() { | ||
return {}; | ||
} | ||
constructor(client, pb, schema) { | ||
@@ -49,8 +57,2 @@ this.idValue = "test-id"; | ||
} | ||
static getProperties() { | ||
return {}; | ||
} | ||
static getDefaultProperties() { | ||
return {}; | ||
} | ||
initialize() { } | ||
@@ -57,0 +59,0 @@ listen(listener) { |
import RootRecord from "./root-record"; | ||
export declare type MigrationFn = (record: RootRecord) => RootRecord | Promise<RootRecord>; | ||
export type MigrationFn = (record: RootRecord) => RootRecord | Promise<RootRecord>; | ||
export default function registerMigration(migration: MigrationFn): void; | ||
//# sourceMappingURL=register-migration.d.ts.map |
@@ -39,3 +39,2 @@ "use strict"; | ||
} | ||
exports.default = RichTextRecord; | ||
RichTextRecord.InlineStyle = { | ||
@@ -62,2 +61,3 @@ BOLD: 1, | ||
}; | ||
exports.default = RichTextRecord; | ||
//# sourceMappingURL=rich-text-record.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Spinner = exports.RichTextBox = exports.Style = exports.ProfilePicture = exports.Image = exports.ImageMode = exports.CommentsTrigger = exports.ColorMap = exports.Color = exports.Canvas = exports.CalendarPicker = exports.Button = exports.Backdrop = void 0; | ||
const react_1 = __importStar(require("react")); | ||
@@ -115,3 +132,3 @@ // TODO: handle children in this file correctly (if they differ from current | ||
ImageMode[ImageMode["CROP"] = 3] = "CROP"; | ||
})(ImageMode = exports.ImageMode || (exports.ImageMode = {})); | ||
})(ImageMode || (exports.ImageMode = ImageMode = {})); | ||
class Image extends react_1.Component { | ||
@@ -165,3 +182,3 @@ render() { | ||
Style[Style["LAYOUT_REFERENCED_STYLE"] = 35] = "LAYOUT_REFERENCED_STYLE"; | ||
})(Style = exports.Style || (exports.Style = {})); | ||
})(Style || (exports.Style = Style = {})); | ||
class RichTextBox extends react_1.Component { | ||
@@ -168,0 +185,0 @@ render() { |
{ | ||
"name": "quip-apps-api", | ||
"version": "0.2.1-alpha.2", | ||
"version": "0.2.1-alpha.3", | ||
"description": "Quip Live Apps API", | ||
@@ -33,12 +33,12 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@types/react": "15.6.27", | ||
"@types/react": "^18.3.1", | ||
"coveralls": "^3.0.6", | ||
"import-fresh": "^3.1.0", | ||
"nyc": "^14.1.1", | ||
"react": "^16.9.0", | ||
"react-test-renderer": "^17.0.1", | ||
"react": "^18.3.1", | ||
"react-test-renderer": "^18.3.1", | ||
"tape": "^4.11.0", | ||
"typescript": "^3.6.3" | ||
"typescript": "^5.4.5" | ||
}, | ||
"gitHead": "ee4147de5ec06ae3577426fa66fbf38bcce75604" | ||
"gitHead": "32d8f9a276d552a3b16f58156a41c2f539abe5a1" | ||
} |
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
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
168305
2489