alfred-figma
Advanced tools
Comparing version 0.2.0 to 0.3.0
39
index.js
@@ -118,2 +118,41 @@ const alfy = require('alfy') | ||
} | ||
items.push({ | ||
title: 'Recent Files', | ||
arg: utils.getUrl('/files/recent', 'app'), | ||
mods: { | ||
cmd: { | ||
subtitle: 'Open recent files in web browser', | ||
arg: utils.getUrl('/files/recent', 'browser') | ||
} | ||
}, | ||
variables: { | ||
action: 'browser' | ||
} | ||
}) | ||
items.push({ | ||
title: 'Drafts', | ||
arg: utils.getUrl(`/files/drafts`, 'app'), | ||
mods: { | ||
cmd: { | ||
subtitle: 'Open drafts in web browser', | ||
arg: utils.getUrl('/files/drafts', 'browser') | ||
} | ||
}, | ||
variables: { | ||
action: 'browser' | ||
} | ||
}) | ||
items.push({ | ||
title: 'Deleted Files', | ||
arg: utils.getUrl(`/files/deleted`, 'app'), | ||
mods: { | ||
cmd: { | ||
subtitle: 'Open deleted files in web browser', | ||
arg: utils.getUrl('/files/deleted', 'browser') | ||
} | ||
}, | ||
variables: { | ||
action: 'browser' | ||
} | ||
}) | ||
}) | ||
@@ -120,0 +159,0 @@ .then(() => items.filter(item => { |
{ | ||
"name": "alfred-figma", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Alfred workflow to quick link figma projects and files", | ||
@@ -28,3 +28,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"alfy": "^0.7.0", | ||
"alfy": "^0.8.0", | ||
"dotenv": "^6.1.0", | ||
@@ -31,0 +31,0 @@ "pretty-ms": "^4.0.0" |
@@ -7,3 +7,3 @@ # Figma Alfred 3 workflow | ||
- Figma's API doesn't allow access to draft files. | ||
- Figma's API doesn't allow access to getting listings of draft files. | ||
- Figma's API doesn't allow access to get teams. This requires adding team ids to the workflow manually. | ||
@@ -52,2 +52,3 @@ - Files open in the desktop app, but teams and projects won't. | ||
- <kbd>⏎</kbd> Open file. | ||
- <kbd>⌘</kbd> + <kbd>Y</kbd> OR <kbd>shift</kbd> Quicklook preview of the file. | ||
- <kbd>⌥</kbd> + <kbd>⏎</kbd> Duplicate file to your drafts. | ||
@@ -54,0 +55,0 @@ - <kbd>⌘</kbd> + <kbd>⏎</kbd> Open file in web browser. |
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
238824
211
63
+ Addedalfred-link@0.3.1(transitive)
+ Addedalfy@0.8.0(transitive)
+ Addedclean-stack@2.2.0(transitive)
+ Addedconf@2.2.0(transitive)
+ Addedcross-spawn@6.0.6(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedexeca@1.0.0(transitive)
+ Addedfind-up@3.0.0(transitive)
+ Addedget-stream@4.1.0(transitive)
+ Addedhook-std@1.2.0(transitive)
+ Addedlocate-path@3.0.0(transitive)
+ Addednice-try@1.0.5(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@3.0.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedread-pkg-up@4.0.0(transitive)
+ Addedresolve-alfred-prefs@2.0.0(transitive)
- Removedalfred-link@0.2.1(transitive)
- Removedalfy@0.7.0(transitive)
- Removedclean-stack@1.3.0(transitive)
- Removedhook-std@0.4.0(transitive)
- Removedread-pkg-up@3.0.0(transitive)
- Removedresolve-alfred-prefs@1.0.0(transitive)
Updatedalfy@^0.8.0