Astro Classes
This commit is contained in:
18
botanjs/src/externs/Astro.Blog.AstroEdit.Article.js
Normal file
18
botanjs/src/externs/Astro.Blog.AstroEdit.Article.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/** @constructor */
|
||||
Astro.Blog.AstroEdit.Article = function(){};
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Article.saveOrBackup;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Article.load;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Article.getArticleId;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Article.preview;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Article.invoke;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Article.saveAndPublish;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Article.drop;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Article.updateContent;
|
6
botanjs/src/externs/Astro.Blog.AstroEdit.Tag.js
Normal file
6
botanjs/src/externs/Astro.Blog.AstroEdit.Tag.js
Normal file
@@ -0,0 +1,6 @@
|
||||
/** @constructor */
|
||||
Astro.Blog.AstroEdit.Tag = function(){};
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Tag.getTags;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Tag.setTags;
|
@@ -0,0 +1,6 @@
|
||||
/** @constructor */
|
||||
Astro.Blog.AstroEdit.Visualizer.Snippet.Model = function(){};
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Visualizer.Snippet.Model.compile;
|
||||
/** @type {Object} */
|
||||
Astro.Blog.AstroEdit.Visualizer.Snippet.Model.alias;
|
@@ -0,0 +1,6 @@
|
||||
/** @constructor */
|
||||
Astro.Blog.AstroEdit.Visualizer.Snippet = function(){};
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Visualizer.Snippet.escapeStr;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Visualizer.Snippet.compileProp;
|
12
botanjs/src/externs/Astro.Blog.AstroEdit.Visualizer.js
Normal file
12
botanjs/src/externs/Astro.Blog.AstroEdit.Visualizer.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/** @constructor */
|
||||
Astro.Blog.AstroEdit.Visualizer = function(){};
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Visualizer.setContentDiv;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Visualizer.saveRaw;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Visualizer.visualizeData;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Visualizer.saveSelection;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.Visualizer.restoreSelection;
|
2
botanjs/src/externs/Astro.Blog.AstroEdit.js
Normal file
2
botanjs/src/externs/Astro.Blog.AstroEdit.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @type {Object} */
|
||||
Astro.Blog.AstroEdit = {};
|
18
botanjs/src/externs/Astro.Blog.Components.Bubble.js
Normal file
18
botanjs/src/externs/Astro.Blog.Components.Bubble.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/** @constructor */
|
||||
Astro.Blog.Components.Bubble = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Astro.Blog.Components.Bubble.prototype.init;
|
||||
|
||||
/** @type {Function} */
|
||||
Astro.Blog.Components.Bubble.prototype.blurp;
|
||||
|
||||
/** @type {Function}
|
||||
* @param {String} mesg
|
||||
*/
|
||||
Astro.Blog.Components.Bubble.prototype.pop = function( mesg ) { };
|
||||
|
||||
/** @type {Function}
|
||||
* @param {String} color
|
||||
*/
|
||||
Astro.Blog.Components.Bubble.prototype.setColor = function( color ) { };
|
13
botanjs/src/externs/Astro.Blog.Components.Calendar.js
Normal file
13
botanjs/src/externs/Astro.Blog.Components.Calendar.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/** @constructor */
|
||||
Astro.Blog.Components.Calendar = function() {};
|
||||
|
||||
/** @type {Function}*/
|
||||
Astro.Blog.Components.Calendar.init;
|
||||
/** @type {Function}*/
|
||||
Astro.Blog.Components.Calendar.prevMon;
|
||||
/** @type {Function}*/
|
||||
Astro.Blog.Components.Calendar.nextMon;
|
||||
/** @type {Function}*/
|
||||
Astro.Blog.Components.Calendar.pop;
|
||||
/** @type {Function}*/
|
||||
Astro.Blog.Components.Calendar.draw;
|
2
botanjs/src/externs/Astro.Blog.Components.js
Normal file
2
botanjs/src/externs/Astro.Blog.Components.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @constructor */
|
||||
Astro.Blog.Components = function() {};
|
5
botanjs/src/externs/Astro.Blog.Config.js
Normal file
5
botanjs/src/externs/Astro.Blog.Config.js
Normal file
@@ -0,0 +1,5 @@
|
||||
/** @constructor */
|
||||
Astro.Blog.Config = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Astro.Blog.Config.get;
|
8
botanjs/src/externs/Astro.Blog.Events.Responsive.js
Normal file
8
botanjs/src/externs/Astro.Blog.Events.Responsive.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/** @type {Object} */
|
||||
Astro.Blog.Events.Responsive = {};
|
||||
/** @type {Object} */
|
||||
Astro.Blog.Events.Responsive.data = {};
|
||||
/** @type {Number} */
|
||||
Astro.Blog.Events.Responsive.data.ratio = {};
|
||||
|
||||
|
2
botanjs/src/externs/Astro.Blog.Events.js
Normal file
2
botanjs/src/externs/Astro.Blog.Events.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @type {Object} */
|
||||
Astro.Blog.Events = {};
|
2
botanjs/src/externs/Astro.Blog.js
Normal file
2
botanjs/src/externs/Astro.Blog.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @constructor */
|
||||
Astro.Blog = function() {};
|
8
botanjs/src/externs/Astro.Bootstrap.js
Normal file
8
botanjs/src/externs/Astro.Bootstrap.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/** @constructor */
|
||||
Astro.Bootstrap = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Astro.Bootstrap.init;
|
||||
|
||||
/** @type {Function} */
|
||||
Astro.Bootstrap.regInit;
|
5
botanjs/src/externs/Astro.Mechanism.CharacterCloud.js
Normal file
5
botanjs/src/externs/Astro.Mechanism.CharacterCloud.js
Normal file
@@ -0,0 +1,5 @@
|
||||
/** @constructor */
|
||||
Astro.Mechanism.CharacterCloud = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Astro.Mechanism.CharacterCloud.create;
|
9
botanjs/src/externs/Astro.Mechanism.Parallax.js
Normal file
9
botanjs/src/externs/Astro.Mechanism.Parallax.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/** @constructor */
|
||||
Astro.Mechanism.Parallax = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Astro.Mechanism.Parallax.cssSlide;
|
||||
/** @type {Function} */
|
||||
Astro.Mechanism.Parallax.verticalSlideTo;
|
||||
/** @type {Function} */
|
||||
Astro.Mechanism.Parallax.attach;
|
2
botanjs/src/externs/Astro.Mechanism.js
Normal file
2
botanjs/src/externs/Astro.Mechanism.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @constructor */
|
||||
Astro.Mechanism = function() {};
|
2
botanjs/src/externs/Astro.js
Normal file
2
botanjs/src/externs/Astro.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @constructor */
|
||||
var Astro = function() {};
|
24
botanjs/src/externs/Astro.utils.Date.js
Normal file
24
botanjs/src/externs/Astro.utils.Date.js
Normal file
@@ -0,0 +1,24 @@
|
||||
/** @constructor */
|
||||
Astro.utils.Date = function() {};
|
||||
|
||||
/** @type {Function}*/
|
||||
Astro.utils.Date.pretty;
|
||||
/** @type {Function}*/
|
||||
Astro.utils.Date.prettyDay;
|
||||
/** @type {Function}*/
|
||||
Astro.utils.Date.diff;
|
||||
/** @type {Function}*/
|
||||
Astro.utils.Date.smstamp;
|
||||
/** @type {Function}*/
|
||||
Astro.utils.Date.chinese;
|
||||
|
||||
/** @type {constant}*/
|
||||
Astro.utils.Date.MONTH;
|
||||
/** @type {constant}*/
|
||||
Astro.utils.Date.MONTH_ABBR;
|
||||
/** @type {constant}*/
|
||||
Astro.utils.Date.DAY;
|
||||
/** @type {constant}*/
|
||||
Astro.utils.Date.DAY_ABBR;
|
||||
/** @type {constant}*/
|
||||
Astro.utils.Date.CAP_MONTHS;
|
2
botanjs/src/externs/Astro.utils.js
Normal file
2
botanjs/src/externs/Astro.utils.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @constructor */
|
||||
Astro.utils = function() {};
|
12
botanjs/src/externs/_3rdParty_.Recaptcha.js
Normal file
12
botanjs/src/externs/_3rdParty_.Recaptcha.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/** @constructor */
|
||||
_3rdParty_.Recaptcha = function() {};
|
||||
|
||||
/** @type {Number} */
|
||||
_3rdParty_.Recaptcha.timer_id;
|
||||
|
||||
/** @type {Function} */
|
||||
_3rdParty_.render;
|
||||
/** @type {Function} */
|
||||
_3rdParty_.reset;
|
||||
/** @type {Function} */
|
||||
_3rdParty_.getResponse;
|
2
botanjs/src/externs/_3rdParty_.js
Normal file
2
botanjs/src/externs/_3rdParty_.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @type {Object} */
|
||||
var _3rdParty_ = {};
|
4
botanjs/src/externs/_AstConf_.Article.js
Normal file
4
botanjs/src/externs/_AstConf_.Article.js
Normal file
@@ -0,0 +1,4 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.Article = {};
|
||||
/** @type {String} */
|
||||
_AstConf_.Article.id;
|
20
botanjs/src/externs/_AstConf_.AstroEdit.js
Normal file
20
botanjs/src/externs/_AstConf_.AstroEdit.js
Normal file
@@ -0,0 +1,20 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.AstroEdit = {};
|
||||
/** @type {String} */
|
||||
_AstConf_.AstroEdit.article_id;
|
||||
/** @type {object} */
|
||||
_AstConf_.AstroEdit.paths = {};
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.set_article;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.get_article;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.get_drafts;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.get_files;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.set_file;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.tag_count;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.set_tag;
|
6
botanjs/src/externs/_AstConf_.Comment.js
Normal file
6
botanjs/src/externs/_AstConf_.Comment.js
Normal file
@@ -0,0 +1,6 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.Comment = {};
|
||||
/** @type {String} */
|
||||
_AstConf_.Comment.processor;
|
||||
/** @type {String} */
|
||||
_AstConf_.Comment.siteKey;
|
6
botanjs/src/externs/_AstConf_.Control.js
Normal file
6
botanjs/src/externs/_AstConf_.Control.js
Normal file
@@ -0,0 +1,6 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.Control = {};
|
||||
/** @type {Object} */
|
||||
_AstConf_.Control.action;
|
||||
/** @type {String} */
|
||||
_AstConf_.Control.action.del;
|
6
botanjs/src/externs/_AstConf_.Login.js
Normal file
6
botanjs/src/externs/_AstConf_.Login.js
Normal file
@@ -0,0 +1,6 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.Login = {};
|
||||
/** @type {String} */
|
||||
_AstConf_.Login.formAct;
|
||||
/** @type {String} */
|
||||
_AstConf_.Login.sHeat;
|
21
botanjs/src/externs/_AstConf_.SiteFile.js
Normal file
21
botanjs/src/externs/_AstConf_.SiteFile.js
Normal file
@@ -0,0 +1,21 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile = {};
|
||||
/** @type {String} */
|
||||
_AstConf_.SiteFile.f_host;
|
||||
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile.path;
|
||||
/** @type {String} */
|
||||
_AstConf_.SiteFile.path.download;
|
||||
/** @type {String} */
|
||||
_AstConf_.SiteFile.path.info;
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile.path.image;
|
||||
/** @type {String} */
|
||||
_AstConf_.SiteFile.path.image.small;
|
||||
/** @type {String} */
|
||||
_AstConf_.SiteFile.path.image.medium;
|
||||
/** @type {String} */
|
||||
_AstConf_.SiteFile.path.image.large;
|
||||
/** @type {Array} */
|
||||
_AstConf_.SiteFile.files;
|
9
botanjs/src/externs/_AstConf_.UserInfo.js
Normal file
9
botanjs/src/externs/_AstConf_.UserInfo.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.UserInfo = {};
|
||||
|
||||
/** @type {String} */
|
||||
_AstConf_.UserInfo.name;
|
||||
/** @type {String} */
|
||||
_AstConf_.UserInfo.website;
|
||||
/** @type {String} */
|
||||
_AstConf_.UserInfo.avatar;
|
2
botanjs/src/externs/_AstConf_.js
Normal file
2
botanjs/src/externs/_AstConf_.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @type {Object} */
|
||||
var _AstConf_ = {};
|
29
botanjs/src/externs/_AstJson_.AJaxGetArticle.js
Normal file
29
botanjs/src/externs/_AstJson_.AJaxGetArticle.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetArticle = {};
|
||||
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.AJaxGetArticle.status;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.backup;
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetArticle.entry;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.slug;
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.AJaxGetArticle.entry.archived;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.date_created;
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.AJaxGetArticle.entry.draft;
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.AJaxGetArticle.entry.featured;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.date_modified;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.date_published;
|
||||
/** @type {Array} */
|
||||
_AstJson_.AJaxGetArticle.entry.tags;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.text;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.title;
|
18
botanjs/src/externs/_AstJson_.AJaxGetDrafts.js
Normal file
18
botanjs/src/externs/_AstJson_.AJaxGetDrafts.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetDrafts = {};
|
||||
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.AJaxGetDrafts.status;
|
||||
/** @type {Array} */
|
||||
_AstJson_.AJaxGetDrafts.entries;
|
||||
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetDrafts.entry = {};
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetDrafts.entry.content;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetDrafts.entry.date;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetDrafts.entry._id;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetDrafts.entry.title;
|
13
botanjs/src/externs/_AstJson_.AJaxGetFiles.Request.js
Normal file
13
botanjs/src/externs/_AstJson_.AJaxGetFiles.Request.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetFiles.Request = {};
|
||||
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.Request.from;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.Request.to;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.Request.group;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.Request.listFiles;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.Request.aid;
|
24
botanjs/src/externs/_AstJson_.AJaxGetFiles.js
Normal file
24
botanjs/src/externs/_AstJson_.AJaxGetFiles.js
Normal file
@@ -0,0 +1,24 @@
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetFiles = {};
|
||||
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.AJaxGetFiles.status;
|
||||
/** @type {Array} */
|
||||
_AstJson_.AJaxGetFiles.files;
|
||||
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetFiles.file = {};
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.file.author;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.file.cCount;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.file.date;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.file.hash;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.file.id;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.file.name;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetFiles.file.src_location;
|
21
botanjs/src/externs/_AstJson_.SiteFile.js
Normal file
21
botanjs/src/externs/_AstJson_.SiteFile.js
Normal file
@@ -0,0 +1,21 @@
|
||||
/** @type {Object} */
|
||||
_AstJson_.SiteFile = {};
|
||||
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.SiteFile.status;
|
||||
/** @type {String} */
|
||||
_AstJson_.SiteFile.message;
|
||||
/** @type {Object} */
|
||||
_AstJson_.SiteFile.file;
|
||||
/** @type {String} */
|
||||
_AstJson_.SiteFile.file.date_created;
|
||||
/** @type {String} */
|
||||
_AstJson_.SiteFile.file.name;
|
||||
/** @type {String} */
|
||||
_AstJson_.SiteFile.file.id;
|
||||
/** @type {String} */
|
||||
_AstJson_.SiteFile.file.nickname;
|
||||
/** @type {String} */
|
||||
_AstJson_.SiteFile.file.type;
|
||||
/** @type {String} */
|
||||
_AstJson_.SiteFile.file.src_location;
|
2
botanjs/src/externs/_AstJson_.js
Normal file
2
botanjs/src/externs/_AstJson_.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @type {Object} */
|
||||
var _AstJson_ = {};
|
Reference in New Issue
Block a user