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

quip-apps-api

Package Overview
Dependencies
Maintainers
2
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quip-apps-api - npm Package Compare versions

Comparing version 0.2.0-alpha.15 to 0.2.0-alpha.16

8

CHANGELOG.md

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

# 0.2.0-alpha.16 (2021-04-07)
**Note:** Version bump only for package quip-apps-api
# 0.2.0-alpha.15 (2021-03-23)

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

15

dist/base-oauth.d.ts
import Auth from "./auth";
export interface OAuthRequestParams {
url: string;
method?: string;
query?: {
[key: string]: string;
};
headers?: {
[key: string]: string;
};
data?: {
[key: string]: any;
};
}
export default class BaseOAuth extends Auth {

@@ -16,3 +29,3 @@ tokenResponseValue: {

logout(): Promise<HttpResponse>;
request<T = Object>(params: Object): Promise<HttpResponse<T>>;
request<T = Object>(params: OAuthRequestParams): Promise<HttpResponse<T>>;
}

@@ -19,0 +32,0 @@ export declare class HttpResponse<T = Object> {

12

dist/client.d.ts

@@ -44,2 +44,6 @@ import { ReactNode } from "react";

}
export declare type ContextMenuMeta = {
[key: string]: any;
};
export declare type MenuCommandHandler = (commandId: string, contextMenu: ContextMenuMeta | null) => boolean;
export interface MenuCommand {

@@ -49,7 +53,9 @@ id: string;

sublabel?: string;
handler?: (command: string, params: Object) => void;
handler?: MenuCommandHandler;
isHeader?: boolean;
subCommands?: string[];
actionId?: string;
actionParams?: Object;
actionParams?: {
[key: string]: any;
};
actionStarted?: () => void;

@@ -294,3 +300,3 @@ quipIcon?: QuipIcon | MenuIcons;

searchPeople(searchString: string, callback: (users: User[]) => void): void;
sendMessage(text: string, mentionIds: string[]): void;
sendMessage(text: string, mentionIds?: string[]): void;
setPayload(payload: string): void;

@@ -297,0 +303,0 @@ setSelectedEntity(record: Record): void;

@@ -72,3 +72,5 @@ import Auth_ from "./auth";

};
declare namespace quip {
}
export = quip;
//# sourceMappingURL=quip.d.ts.map

@@ -71,3 +71,3 @@ import Client from "./client";

set(key: string, value: any): void;
clear(key: string, skipDelete?: boolean): any;
clear(key: string, skipDelete?: boolean): Record | RecordList<any> | undefined;
clearData(): void;

@@ -74,0 +74,0 @@ setDataVersion(version: number): void;

@@ -113,6 +113,6 @@ "use strict";

clear(key, skipDelete) {
const record = this.data_[key];
const value = this.data_[key];
delete this.data_[key];
if (skipDelete) {
return record;
if (skipDelete && value && (value instanceof Record || value instanceof record_list_1.default)) {
return value;
}

@@ -119,0 +119,0 @@ }

import Record from "./record";
export interface RichTextRecordProperties {
RichText_defaultText: string;
RichText_placeholderText: string;
}
export default class RichTextRecord extends Record {

@@ -3,0 +7,0 @@ emptyValue: boolean;

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

import React, { Component, ReactNode } from "react";
import React, { Component } from "react";
import { CanvasRecordCommentAnchorRecord } from "./canvas-record";

@@ -7,8 +7,13 @@ import Record from "./record";

import ImageRecord from "./image-record";
export declare class Backdrop extends Component<{
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
}> {
render(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
}
export declare class Button extends Component<{
className?: string;
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
primary?: boolean;
text: ReactNode;
type?: string;
text: React.ReactNode;
type?: "button" | "submit" | "reset";
disabled?: boolean;

@@ -26,6 +31,6 @@ }> {

record: CanvasRecordCommentAnchorRecord;
isCurrentlyAdding: boolean;
isValid?: boolean;
width: number;
height: number;
isInCommentMode?: boolean;
onCommentAdd?: () => void;
cancelCommentMode?: () => any;
isCommentAnchorValidCallback?: (anchor: CanvasRecordCommentAnchorRecord) => boolean;
}> {

@@ -137,4 +142,4 @@ render(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;

size: number;
round: boolean;
fallbackToInitials: boolean;
round?: boolean;
fallbackToInitials?: boolean;
}> {

@@ -141,0 +146,0 @@ render(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;

@@ -13,2 +13,8 @@ "use strict";

// handling) so that trees will be snapshottable
class Backdrop extends react_1.Component {
render() {
return react_1.default.createElement("div", undefined, "ui.Backdrop");
}
}
exports.Backdrop = Backdrop;
class Button extends react_1.Component {

@@ -15,0 +21,0 @@ render() {

@@ -5,2 +5,3 @@ import Auth_ from "./dist/auth";

HttpResponse as HttpResponse_,
OAuthRequestParams as OAuthRequestParams_
} from "./dist/base-oauth";

@@ -19,2 +20,3 @@ import Blob_ from "./dist/blob";

MenuCommand as MenuCommand_,
MenuCommandHandler as MenuCommandHandler_,
MenuIcons as MenuIcons_,

@@ -95,2 +97,3 @@ RootEntityConstructor as RootEntityConstructor_,

}
export type OAuthRequestParams = OAuthRequestParams_;
export type HttpResponse<T = Object> = HttpResponse_<T>;

@@ -101,2 +104,3 @@ export type HttpHeaders = HttpHeaders_;

export type MenuCommand = MenuCommand_;
export type MenuCommandHandler = MenuCommandHandler_;
export type ToolbarState = ToolbarState_;

@@ -103,0 +107,0 @@ export type CreationSource = typeof CreationSource_;

{
"name": "quip-apps-api",
"version": "0.2.0-alpha.15",
"version": "0.2.0-alpha.16",
"description": "Quip Live Apps API",

@@ -42,3 +42,3 @@ "main": "index.js",

},
"gitHead": "eaae634b6b87275bd0de16a0868d59ae2981a972"
"gitHead": "be8e1dac543e014eaa986914d68d177d461c829c"
}

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