mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
e12471347b
Summary: Adds initial implementation of form publishing, built upon WYSIWYS shares. A simple UI for publishing and unpublishing forms is included. Test Plan: Browser tests. Reviewers: jarek Reviewed By: jarek Subscribers: paulfitz, jarek Differential Revision: https://phab.getgrist.com/D4154
11 lines
348 B
TypeScript
11 lines
348 B
TypeScript
import {IRowModel} from 'app/client/models/DocModel';
|
|
import * as modelUtil from 'app/client/models/modelUtil';
|
|
|
|
export interface ShareRec extends IRowModel<"_grist_Shares"> {
|
|
optionsObj: modelUtil.SaveableObjObservable<any>;
|
|
}
|
|
|
|
export function createShareRec(this: ShareRec): void {
|
|
this.optionsObj = modelUtil.jsonObservable(this.options);
|
|
}
|