mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
feat(plugin): update once more
This commit is contained in:
parent
e0237b3dad
commit
8f51b2dcab
3 changed files with 12 additions and 1212 deletions
2
packages/plugin-api/.gitignore
vendored
2
packages/plugin-api/.gitignore
vendored
|
|
@ -1 +1,3 @@
|
|||
node_modules
|
||||
src/**/*.js
|
||||
dist
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
'use strict';
|
||||
// Types for Super Productivity Plugin API
|
||||
// This package provides TypeScript types for developing plugins
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
exports.PluginHooks = void 0;
|
||||
var PluginHooks;
|
||||
(function (PluginHooks) {
|
||||
PluginHooks['TASK_COMPLETE'] = 'taskComplete';
|
||||
PluginHooks['TASK_UPDATE'] = 'taskUpdate';
|
||||
PluginHooks['TASK_DELETE'] = 'taskDelete';
|
||||
PluginHooks['CURRENT_TASK_CHANGE'] = 'currentTaskChange';
|
||||
PluginHooks['FINISH_DAY'] = 'finishDay';
|
||||
PluginHooks['LANGUAGE_CHANGE'] = 'languageChange';
|
||||
PluginHooks['PERSISTED_DATA_UPDATE'] = 'persistedDataUpdate';
|
||||
PluginHooks['ACTION'] = 'action';
|
||||
})(PluginHooks || (exports.PluginHooks = PluginHooks = {}));
|
||||
// Global PluginAPI interface for runtime use
|
||||
// Note: This is commented out to avoid conflicts with node_modules version
|
||||
// declare global {
|
||||
// interface Window {
|
||||
// PluginAPI: PluginAPI;
|
||||
// }
|
||||
//
|
||||
// // For plugin development without window reference
|
||||
// const PluginAPI: PluginAPI;
|
||||
// }
|
||||
//# sourceMappingURL=types.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue