@payloadcms/plugin-cloud-storage 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/.editorconfig +10 -0
  2. package/.eslintrc.js +14 -14
  3. package/.gitignore +248 -0
  4. package/.idea/.gitignore +5 -0
  5. package/.idea/httpRequests/2023-04-07T152957.206.png +0 -0
  6. package/.idea/httpRequests/2023-04-07T153025.403.html +10 -0
  7. package/.idea/httpRequests/2023-04-07T153146.200.png +0 -0
  8. package/.idea/httpRequests/http-client.cookies +1 -0
  9. package/.idea/httpRequests/http-requests-log.http +74 -0
  10. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  11. package/.idea/jsLinters/eslint.xml +6 -0
  12. package/.idea/modules.xml +8 -0
  13. package/.idea/plugin-cloud-storage.iml +12 -0
  14. package/.idea/vcs.xml +6 -0
  15. package/.idea/workspace.xml +269 -0
  16. package/.prettierignore +1 -0
  17. package/.prettierrc.js +8 -0
  18. package/.vscode/launch.json +28 -0
  19. package/.vscode/settings.json +9 -0
  20. package/LICENSE.md +22 -22
  21. package/README.md +178 -174
  22. package/azure.d.ts +1 -1
  23. package/azure.js +1 -1
  24. package/dev/.env +25 -0
  25. package/dev/.env.example +21 -0
  26. package/dev/build/127.d2c2ffcfff69fabfdd1b.js +1 -0
  27. package/dev/build/16.17dbe03b1d0a96f3e564.js +2 -0
  28. package/dev/build/16.17dbe03b1d0a96f3e564.js.LICENSE.txt +8 -0
  29. package/dev/build/171.bbcbae3ea90468ad0cad.js +2 -0
  30. package/dev/build/171.bbcbae3ea90468ad0cad.js.LICENSE.txt +8 -0
  31. package/dev/build/18.e50c27edff6716f930d9.js +1 -0
  32. package/dev/build/205.33c7a29683ba98de93e0.js +1 -0
  33. package/dev/build/2211c49456cd07331ea9.woff +0 -0
  34. package/dev/build/234.79395f82c18207c13766.js +1 -0
  35. package/dev/build/266.9d4a240b3e0985bd7dd5.js +1 -0
  36. package/dev/build/296.4c5d646257b42c915834.js +1 -0
  37. package/dev/build/304.40dbe690de322c8f7c0d.js +2 -0
  38. package/dev/build/304.40dbe690de322c8f7c0d.js.LICENSE.txt +37 -0
  39. package/dev/build/349.446c12bffd3905085fdb.js +1 -0
  40. package/dev/build/354.5acd04b85b96a9839125.js +1 -0
  41. package/dev/build/40ad7515b8674bb854a1.woff2 +0 -0
  42. package/dev/build/422.086542466cdc9f6a2437.js +2 -0
  43. package/dev/build/422.086542466cdc9f6a2437.js.LICENSE.txt +6 -0
  44. package/dev/build/491.0bfe1bb0ecfe383179aa.js +1 -0
  45. package/dev/build/4d8845b830f4e8e2affb.png +0 -0
  46. package/dev/build/51922ceb71da289688d3.woff2 +0 -0
  47. package/dev/build/522443364fda49e9e0ed.woff2 +0 -0
  48. package/dev/build/531.1c6f53f3b44a3c45b444.js +2 -0
  49. package/dev/build/531.1c6f53f3b44a3c45b444.js.LICENSE.txt +6 -0
  50. package/dev/build/570.f2d9b99706765fbf0225.js +1 -0
  51. package/dev/build/599.570a04990d5806004f61.js +1 -0
  52. package/dev/build/5b718d9772de251a8c0a.woff2 +0 -0
  53. package/dev/build/778.41ae26bcd617861ad586.js +1 -0
  54. package/dev/build/783.0117995f2ff6036d6746.js +1 -0
  55. package/dev/build/787999a6af6a17efbc7c.woff +0 -0
  56. package/dev/build/78b8935fb481e11c92ce.woff +0 -0
  57. package/dev/build/860.7688681d3269f3f16e9a.js +1 -0
  58. package/dev/build/892.1a4ca5ac67d81038ceec.js +1 -0
  59. package/dev/build/896.d8cb1160388dc29d6364.js +1 -0
  60. package/dev/build/8b4ddd0d08500553efde.woff +0 -0
  61. package/dev/build/8f612153248094525d9d.woff +0 -0
  62. package/dev/build/995.cc11e738ff81a85821b4.js +1 -0
  63. package/dev/build/9c7dfd0036f7bd24b053.woff2 +0 -0
  64. package/dev/build/a1cfdc5b5250b7c4b481.woff2 +0 -0
  65. package/dev/build/d7aeda9e48ce098e7b48.woff +0 -0
  66. package/dev/build/e009f21405b4d7e89367.woff2 +0 -0
  67. package/dev/build/e7caa9e17af6ac87d182.woff +0 -0
  68. package/dev/build/ebcc1430049fddb274f8.svg +15 -0
  69. package/dev/build/efe8f6a3b46446cc9135.woff +0 -0
  70. package/dev/build/f53bb8d4b29adc903703.woff2 +0 -0
  71. package/dev/build/index.html +1 -0
  72. package/dev/build/main.a2003d502fbb9aaa3e8d.js +2 -0
  73. package/dev/build/main.a2003d502fbb9aaa3e8d.js.LICENSE.txt +57 -0
  74. package/dev/build/styles.css +1 -0
  75. package/dev/build/styles.fa29d16b0baf5b98a1cf.js +1 -0
  76. package/dev/nodemon.json +8 -0
  77. package/dev/package.json +32 -0
  78. package/dev/src/collections/Media.ts +56 -0
  79. package/dev/src/collections/Users.ts +23 -0
  80. package/dev/src/mocks/fsMock.js +1 -0
  81. package/dev/src/mocks/promisifyMock.js +1 -0
  82. package/dev/src/payload.config.ts +111 -0
  83. package/dev/src/server.ts +26 -0
  84. package/dev/tsconfig.json +20 -0
  85. package/dist/adapters/azure/fileStub.d.ts +2 -0
  86. package/dist/adapters/azure/fileStub.js +4 -0
  87. package/dist/adapters/azure/fileStub.js.map +1 -0
  88. package/dist/adapters/azure/generateURL.d.ts +7 -7
  89. package/dist/adapters/azure/generateURL.js +15 -15
  90. package/dist/adapters/azure/handleDelete.d.ts +9 -9
  91. package/dist/adapters/azure/handleDelete.js +63 -63
  92. package/dist/adapters/azure/handleUpload.d.ts +10 -10
  93. package/dist/adapters/azure/handleUpload.js +80 -65
  94. package/dist/adapters/azure/handleUpload.js.map +1 -1
  95. package/dist/adapters/azure/index.d.ts +8 -8
  96. package/dist/adapters/azure/index.js +42 -42
  97. package/dist/adapters/azure/mock.d.ts +13 -7
  98. package/dist/adapters/azure/mock.js +12 -8
  99. package/dist/adapters/azure/mock.js.map +1 -1
  100. package/dist/adapters/azure/staticHandler.d.ts +9 -9
  101. package/dist/adapters/azure/staticHandler.js +81 -77
  102. package/dist/adapters/azure/staticHandler.js.map +1 -1
  103. package/dist/adapters/azure/webpack.d.ts +2 -2
  104. package/dist/adapters/azure/webpack.js +24 -24
  105. package/dist/adapters/azure/webpack.js.map +1 -1
  106. package/dist/adapters/gcs/generateURL.d.ts +8 -8
  107. package/dist/adapters/gcs/generateURL.js +15 -15
  108. package/dist/adapters/gcs/handleDelete.d.ts +8 -8
  109. package/dist/adapters/gcs/handleDelete.js +62 -62
  110. package/dist/adapters/gcs/handleUpload.d.ts +12 -12
  111. package/dist/adapters/gcs/handleUpload.js +72 -72
  112. package/dist/adapters/gcs/index.d.ts +8 -8
  113. package/dist/adapters/gcs/index.js +35 -35
  114. package/dist/adapters/gcs/mock.d.ts +1 -1
  115. package/dist/adapters/gcs/mock.js +4 -4
  116. package/dist/adapters/gcs/staticHandler.d.ts +10 -10
  117. package/dist/adapters/gcs/staticHandler.js +76 -76
  118. package/dist/adapters/gcs/webpack.d.ts +2 -2
  119. package/dist/adapters/gcs/webpack.js +24 -24
  120. package/dist/adapters/s3/fileStub.d.ts +2 -2
  121. package/dist/adapters/s3/fileStub.js +3 -3
  122. package/dist/adapters/s3/generateURL.d.ts +8 -8
  123. package/dist/adapters/s3/generateURL.js +15 -15
  124. package/dist/adapters/s3/handleDelete.d.ts +8 -8
  125. package/dist/adapters/s3/handleDelete.js +63 -63
  126. package/dist/adapters/s3/handleUpload.d.ts +12 -12
  127. package/dist/adapters/s3/handleUpload.js +93 -93
  128. package/dist/adapters/s3/index.d.ts +8 -8
  129. package/dist/adapters/s3/index.js +59 -59
  130. package/dist/adapters/s3/mock.d.ts +8 -8
  131. package/dist/adapters/s3/mock.js +9 -9
  132. package/dist/adapters/s3/staticHandler.d.ts +10 -10
  133. package/dist/adapters/s3/staticHandler.js +80 -80
  134. package/dist/adapters/s3/webpack.d.ts +2 -2
  135. package/dist/adapters/s3/webpack.js +24 -24
  136. package/dist/fields/getFields.d.ts +11 -11
  137. package/dist/fields/getFields.js +118 -118
  138. package/dist/hooks/afterDelete.d.ts +10 -10
  139. package/dist/hooks/afterDelete.js +88 -88
  140. package/dist/hooks/afterRead.d.ts +12 -12
  141. package/dist/hooks/afterRead.js +79 -79
  142. package/dist/hooks/beforeChange.d.ts +10 -10
  143. package/dist/hooks/beforeChange.js +77 -77
  144. package/dist/index.d.ts +1 -1
  145. package/dist/index.js +5 -5
  146. package/dist/plugin.d.ts +3 -3
  147. package/dist/plugin.js +124 -124
  148. package/dist/types.d.ts +62 -62
  149. package/dist/types.js +2 -2
  150. package/dist/utilities/getFilePrefix.d.ts +5 -5
  151. package/dist/utilities/getFilePrefix.js +80 -80
  152. package/dist/utilities/getIncomingFiles.d.ts +7 -7
  153. package/dist/utilities/getIncomingFiles.js +37 -37
  154. package/dist/utilities/getRangeFromHeader.d.ts +6 -0
  155. package/dist/utilities/getRangeFromHeader.js +67 -0
  156. package/dist/utilities/getRangeFromHeader.js.map +1 -0
  157. package/dist/webpack.d.ts +9 -9
  158. package/dist/webpack.js +39 -39
  159. package/docs/local-dev.md +47 -0
  160. package/eslint-config/index.js +15 -0
  161. package/eslint-config/rules/import.js +38 -0
  162. package/eslint-config/rules/prettier.js +7 -0
  163. package/eslint-config/rules/style.js +21 -0
  164. package/eslint-config/rules/typescript.js +628 -0
  165. package/gcs.d.ts +1 -1
  166. package/gcs.js +1 -1
  167. package/package.json +67 -64
  168. package/s3.d.ts +1 -1
  169. package/s3.js +1 -1
  170. package/src/adapters/azure/emulator/docker-compose.yml +16 -0
  171. package/src/adapters/azure/fileStub.js +1 -0
  172. package/src/adapters/azure/generateURL.ts +13 -0
  173. package/src/adapters/azure/handleDelete.ts +16 -0
  174. package/src/adapters/azure/handleUpload.ts +41 -0
  175. package/src/adapters/azure/index.ts +47 -0
  176. package/src/adapters/azure/mock.js +13 -0
  177. package/src/adapters/azure/staticHandler.ts +38 -0
  178. package/src/adapters/azure/webpack.ts +20 -0
  179. package/src/adapters/gcs/emulator/docker-compose.yml +15 -0
  180. package/src/adapters/gcs/generateURL.ts +16 -0
  181. package/src/adapters/gcs/handleDelete.ts +16 -0
  182. package/src/adapters/gcs/handleUpload.ts +34 -0
  183. package/src/adapters/gcs/index.ts +37 -0
  184. package/src/adapters/gcs/mock.js +3 -0
  185. package/src/adapters/gcs/staticHandler.ts +34 -0
  186. package/src/adapters/gcs/webpack.ts +17 -0
  187. package/src/adapters/s3/emulator/docker-compose.yml +15 -0
  188. package/src/adapters/s3/fileStub.js +1 -0
  189. package/src/adapters/s3/generateURL.ts +14 -0
  190. package/src/adapters/s3/handleDelete.ts +17 -0
  191. package/src/adapters/s3/handleUpload.ts +62 -0
  192. package/src/adapters/s3/index.ts +38 -0
  193. package/src/adapters/s3/mock.js +9 -0
  194. package/src/adapters/s3/staticHandler.ts +40 -0
  195. package/src/adapters/s3/webpack.ts +19 -0
  196. package/src/fields/getFields.ts +155 -0
  197. package/src/hooks/afterDelete.ts +35 -0
  198. package/src/hooks/afterRead.ts +38 -0
  199. package/src/hooks/beforeChange.ts +30 -0
  200. package/src/index.ts +1 -0
  201. package/src/plugin.ts +94 -0
  202. package/src/types.ts +73 -0
  203. package/src/utilities/getFilePrefix.ts +26 -0
  204. package/src/utilities/getIncomingFiles.ts +44 -0
  205. package/src/utilities/getRangeFromHeader.ts +27 -0
  206. package/src/webpack.ts +46 -0
  207. package/tsconfig.json +23 -0
  208. package/yarn.lock +8155 -0
package/.editorconfig ADDED
@@ -0,0 +1,10 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = space
5
+ indent_size = 2
6
+ charset = utf-8
7
+ trim_trailing_whitespace = true
8
+ insert_final_newline = true
9
+ end_of_line = lf
10
+ max_line_length = null
package/.eslintrc.js CHANGED
@@ -1,14 +1,14 @@
1
- module.exports = {
2
- root: true,
3
- extends: ['./eslint-config'],
4
- overrides: [
5
- // Temporary overrides. Re-enable once platform is more mature
6
- {
7
- files: ['dev/**/*.ts'],
8
- rules: {
9
- 'import/no-relative-packages': 'off',
10
- 'no-process-env': 'off',
11
- },
12
- },
13
- ],
14
- }
1
+ module.exports = {
2
+ root: true,
3
+ extends: ['./eslint-config'],
4
+ overrides: [
5
+ // Temporary overrides. Re-enable once platform is more mature
6
+ {
7
+ files: ['dev/**/*.ts'],
8
+ rules: {
9
+ 'import/no-relative-packages': 'off',
10
+ 'no-process-env': 'off',
11
+ },
12
+ },
13
+ ],
14
+ }
package/.gitignore ADDED
@@ -0,0 +1,248 @@
1
+ dev/tmp
2
+ dev/yarn.lock
3
+
4
+ # Created by https://www.gitignore.io/api/node,macos,windows,webstorm,sublimetext,visualstudiocode
5
+
6
+ ### macOS ###
7
+ *.DS_Store
8
+ .AppleDouble
9
+ .LSOverride
10
+
11
+ # Thumbnails
12
+ ._*
13
+
14
+ # Files that might appear in the root of a volume
15
+ .DocumentRevisions-V100
16
+ .fseventsd
17
+ .Spotlight-V100
18
+ .TemporaryItems
19
+ .Trashes
20
+ .VolumeIcon.icns
21
+ .com.apple.timemachine.donotpresent
22
+
23
+ # Directories potentially created on remote AFP share
24
+ .AppleDB
25
+ .AppleDesktop
26
+ Network Trash Folder
27
+ Temporary Items
28
+ .apdisk
29
+
30
+ ### Node ###
31
+ # Logs
32
+ logs
33
+ *.log
34
+ npm-debug.log*
35
+ yarn-debug.log*
36
+ yarn-error.log*
37
+
38
+ # Runtime data
39
+ pids
40
+ *.pid
41
+ *.seed
42
+ *.pid.lock
43
+
44
+ # Directory for instrumented libs generated by jscoverage/JSCover
45
+ lib-cov
46
+
47
+ # Coverage directory used by tools like istanbul
48
+ coverage
49
+
50
+ # nyc test coverage
51
+ .nyc_output
52
+
53
+ # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
54
+ .grunt
55
+
56
+ # Bower dependency directory (https://bower.io/)
57
+ bower_components
58
+
59
+ # node-waf configuration
60
+ .lock-wscript
61
+
62
+ # Compiled binary addons (http://nodejs.org/api/addons.html)
63
+ build/Release
64
+
65
+ # Dependency directories
66
+ node_modules/
67
+ jspm_packages/
68
+
69
+ # Typescript v1 declaration files
70
+ typings/
71
+
72
+ # Optional npm cache directory
73
+ .npm
74
+
75
+ # Optional eslint cache
76
+ .eslintcache
77
+
78
+ # Optional REPL history
79
+ .node_repl_history
80
+
81
+ # Output of 'npm pack'
82
+ *.tgz
83
+
84
+ # Yarn Integrity file
85
+ .yarn-integrity
86
+
87
+ # Yarn Berry
88
+ .yarn/*
89
+ !.yarn/patches
90
+ !.yarn/plugins
91
+ !.yarn/releases
92
+ !.yarn/sdks
93
+ !.yarn/versions
94
+ .pnp.*
95
+
96
+ # dotenv environment variables file
97
+ .env
98
+
99
+
100
+ ### SublimeText ###
101
+ # cache files for sublime text
102
+ *.tmlanguage.cache
103
+ *.tmPreferences.cache
104
+ *.stTheme.cache
105
+
106
+ # workspace files are user-specific
107
+ *.sublime-workspace
108
+
109
+ # project files should be checked into the repository, unless a significant
110
+ # proportion of contributors will probably not be using SublimeText
111
+ # *.sublime-project
112
+
113
+ # sftp configuration file
114
+ sftp-config.json
115
+
116
+ # Package control specific files
117
+ Package Control.last-run
118
+ Package Control.ca-list
119
+ Package Control.ca-bundle
120
+ Package Control.system-ca-bundle
121
+ Package Control.cache/
122
+ Package Control.ca-certs/
123
+ Package Control.merged-ca-bundle
124
+ Package Control.user-ca-bundle
125
+ oscrypto-ca-bundle.crt
126
+ bh_unicode_properties.cache
127
+
128
+ # Sublime-github package stores a github token in this file
129
+ # https://packagecontrol.io/packages/sublime-github
130
+ GitHub.sublime-settings
131
+
132
+ ### VisualStudioCode ###
133
+ .vscode/*
134
+ !.vscode/tasks.json
135
+ !.vscode/launch.json
136
+ !.vscode/extensions.json
137
+ .history
138
+
139
+ ### WebStorm ###
140
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
141
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
142
+
143
+ .idea/*
144
+ # User-specific stuff:
145
+ .idea/**/workspace.xml
146
+ .idea/**/tasks.xml
147
+ .idea/dictionaries
148
+
149
+ # Sensitive or high-churn files:
150
+ .idea/**/dataSources/
151
+ .idea/**/dataSources.ids
152
+ .idea/**/dataSources.xml
153
+ .idea/**/dataSources.local.xml
154
+ .idea/**/sqlDataSources.xml
155
+ .idea/**/dynamic.xml
156
+ .idea/**/uiDesigner.xml
157
+
158
+ # Gradle:
159
+ .idea/**/gradle.xml
160
+ .idea/**/libraries
161
+
162
+ # CMake
163
+ cmake-build-debug/
164
+
165
+ # Mongo Explorer plugin:
166
+ .idea/**/mongoSettings.xml
167
+
168
+ ## File-based project format:
169
+ *.iws
170
+
171
+ ## Plugin-specific files:
172
+
173
+ # IntelliJ
174
+ /out/
175
+
176
+ # mpeltonen/sbt-idea plugin
177
+ .idea_modules/
178
+
179
+ # JIRA plugin
180
+ atlassian-ide-plugin.xml
181
+
182
+ # Cursive Clojure plugin
183
+ .idea/replstate.xml
184
+
185
+ # Ruby plugin and RubyMine
186
+ /.rakeTasks
187
+
188
+ # Crashlytics plugin (for Android Studio and IntelliJ)
189
+ com_crashlytics_export_strings.xml
190
+ crashlytics.properties
191
+ crashlytics-build.properties
192
+ fabric.properties
193
+
194
+ ### WebStorm Patch ###
195
+ # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
196
+
197
+ # *.iml
198
+ # modules.xml
199
+ # .idea/misc.xml
200
+ # *.ipr
201
+
202
+ # Sonarlint plugin
203
+ .idea/sonarlint
204
+
205
+ ### Windows ###
206
+ # Windows thumbnail cache files
207
+ Thumbs.db
208
+ ehthumbs.db
209
+ ehthumbs_vista.db
210
+
211
+ # Folder config file
212
+ Desktop.ini
213
+
214
+ # Recycle Bin used on file shares
215
+ $RECYCLE.BIN/
216
+
217
+ # Windows Installer files
218
+ *.cab
219
+ *.msi
220
+ *.msm
221
+ *.msp
222
+
223
+ # Windows shortcuts
224
+ *.lnk
225
+
226
+ # End of https://www.gitignore.io/api/node,macos,windows,webstorm,sublimetext,visualstudiocode
227
+
228
+ # Ignore all uploads
229
+ demo/upload
230
+ demo/media
231
+ demo/files
232
+
233
+ # Ignore build folder
234
+ build
235
+
236
+ # Ignore built components
237
+ components/index.js
238
+ components/styles.css
239
+
240
+ # Ignore generated
241
+ demo/generated-types.ts
242
+ demo/generated-schema.graphql
243
+
244
+ # Ignore dist, no need for git
245
+ dist
246
+
247
+ # Ignore emulator volumes
248
+ src/adapters/s3/emulator/.localstack/
@@ -0,0 +1,5 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
@@ -0,0 +1,10 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Error</title>
6
+ </head>
7
+ <body>
8
+ <pre>Forbidden: You are not allowed to perform this action.<br> &nbsp; &nbsp;at new ExtendableError (C:\code\plugin-cloud-storage\dev\node_modules\payload\src\errors\APIError.ts:26:11)<br> &nbsp; &nbsp;at new APIError (C:\code\plugin-cloud-storage\dev\node_modules\payload\src\errors\APIError.ts:43:5)<br> &nbsp; &nbsp;at new Forbidden (C:\code\plugin-cloud-storage\dev\node_modules\payload\src\errors\Forbidden.ts:7:5)<br> &nbsp; &nbsp;at executeAccess (C:\code\plugin-cloud-storage\dev\node_modules\payload\src\auth\executeAccess.ts:9:43)<br> &nbsp; &nbsp;at processTicksAndRejections (node:internal/process/task_queues:95:5)<br> &nbsp; &nbsp;at C:\code\plugin-cloud-storage\dev\node_modules\payload\src\auth\getExecuteStaticAccess.ts:14:28</pre>
9
+ </body>
10
+ </html>
@@ -0,0 +1 @@
1
+ # domain path name value date
@@ -0,0 +1,74 @@
1
+ GET http://localhost:3000/media/ray-so-export-400x400.png
2
+ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
3
+ Accept-Language: en-US,en;q=0.9
4
+ Cache-Control: max-age=0
5
+ Connection: keep-alive
6
+ Range: bytes=0-499
7
+ DNT: 1
8
+ If-None-Match: "0x8DB379EA264E4D1"
9
+ Sec-Fetch-Dest: document
10
+ Sec-Fetch-Mode: navigate
11
+ Sec-Fetch-Site: same-origin
12
+ Sec-Fetch-User: ?1
13
+ Upgrade-Insecure-Requests: 1
14
+ User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
15
+ sec-ch-ua: "Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111"
16
+ sec-ch-ua-mobile: ?0
17
+ sec-ch-ua-platform: "Windows"
18
+ Cookie: connect.sid=s%3AetqRHsb7C_QKQfiUnYBeI21rmgFqrcKt.JNPKrgZeEJUOyXVRv%2Fb9CVZAfhiqo1XAAqfePFs9U5g; payload-token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImRldkBwYXlsb2FkY21zLmNvbSIsImlkIjoiNjQzMDZmNWIxYzM3ZjIyOTU3ODFmN2E1IiwiY29sbGVjdGlvbiI6InVzZXJzIiwiaWF0IjoxNjgwODk1ODU4LCJleHAiOjE2ODA5MDMwNTh9.56CU0cjlBZ22u2PR81JWGxWKXKz4LoAMs_oi3JuRhP0
19
+ Accept-Encoding: br,deflate,gzip,x-gzip
20
+
21
+ <> 2023-04-07T153146.200.png
22
+
23
+ ###
24
+
25
+ GET http://localhost:3000/media/ray-so-export-900x450.png
26
+ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
27
+ Accept-Language: en-US,en;q=0.9
28
+ Cache-Control: max-age=0
29
+ Connection: keep-alive
30
+ Range: bytes=0-499
31
+ DNT: 1
32
+ If-Modified-Since: Fri, 07 Apr 2023 19:24:17 GMT
33
+ If-None-Match: "0x8DB379DAE19FC67"
34
+ Sec-Fetch-Dest: document
35
+ Sec-Fetch-Mode: navigate
36
+ Sec-Fetch-Site: same-origin
37
+ Sec-Fetch-User: ?1
38
+ Upgrade-Insecure-Requests: 1
39
+ User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
40
+ sec-ch-ua: "Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111"
41
+ sec-ch-ua-mobile: ?0
42
+ sec-ch-ua-platform: "Windows"
43
+ Cookie: connect.sid=s%3AetqRHsb7C_QKQfiUnYBeI21rmgFqrcKt.JNPKrgZeEJUOyXVRv%2Fb9CVZAfhiqo1XAAqfePFs9U5g; payload-token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImRldkBwYXlsb2FkY21zLmNvbSIsImlkIjoiNjQzMDZkODdlODI1MWYxMzVkYTNiNDFiIiwiY29sbGVjdGlvbiI6InVzZXJzIiwiaWF0IjoxNjgwODk1NDM1LCJleHAiOjE2ODA5MDI2MzV9.AxwBcvvnufBlHOTbKeLYQak8HWBFhDeGSyfKZFRYpSw
44
+ Accept-Encoding: br,deflate,gzip,x-gzip
45
+
46
+ <> 2023-04-07T153025.403.html
47
+
48
+ ###
49
+
50
+ GET http://localhost:3000/media/ray-so-export-900x450.png
51
+ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
52
+ Accept-Language: en-US,en;q=0.9
53
+ Cache-Control: max-age=0
54
+ Connection: keep-alive
55
+ Range: bytes=0-499
56
+ DNT: 1
57
+ If-Modified-Since: Fri, 07 Apr 2023 19:24:17 GMT
58
+ If-None-Match: "0x8DB379DAE19FC67"
59
+ Sec-Fetch-Dest: document
60
+ Sec-Fetch-Mode: navigate
61
+ Sec-Fetch-Site: same-origin
62
+ Sec-Fetch-User: ?1
63
+ Upgrade-Insecure-Requests: 1
64
+ User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
65
+ sec-ch-ua: "Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111"
66
+ sec-ch-ua-mobile: ?0
67
+ sec-ch-ua-platform: "Windows"
68
+ Cookie: connect.sid=s%3AetqRHsb7C_QKQfiUnYBeI21rmgFqrcKt.JNPKrgZeEJUOyXVRv%2Fb9CVZAfhiqo1XAAqfePFs9U5g; payload-token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImRldkBwYXlsb2FkY21zLmNvbSIsImlkIjoiNjQzMDZkODdlODI1MWYxMzVkYTNiNDFiIiwiY29sbGVjdGlvbiI6InVzZXJzIiwiaWF0IjoxNjgwODk1NDM1LCJleHAiOjE2ODA5MDI2MzV9.AxwBcvvnufBlHOTbKeLYQak8HWBFhDeGSyfKZFRYpSw
69
+ Accept-Encoding: br,deflate,gzip,x-gzip
70
+
71
+ <> 2023-04-07T152957.206.png
72
+
73
+ ###
74
+
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ </profile>
6
+ </component>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="EslintConfiguration">
4
+ <option name="fix-on-save" value="true" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/plugin-cloud-storage.iml" filepath="$PROJECT_DIR$/.idea/plugin-cloud-storage.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/temp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
7
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+ </content>
9
+ <orderEntry type="inheritedJdk" />
10
+ <orderEntry type="sourceFolder" forTests="false" />
11
+ </component>
12
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>