You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// throw new Error(`Resource '${this.options.generateImages!.attachmentResource}' not found`);
57
-
// }
58
-
// this.attachmentResource = resource;
59
-
// const field = resource.columns.find(c => c.name === this.options.generateImages!.attachmentFieldName);
60
-
// if (!field) {
61
-
// throw new Error(`Field '${this.options.generateImages!.attachmentFieldName}' not found in resource '${this.options.generateImages!.attachmentResource}'`);
// throw new Error(`Plugin for attachment field '${this.options.attachments!.attachmentFieldName}' not found in resource '${this.options.attachments!.attachmentResource}', please check if Upload Plugin is installed on the field ${this.options.attachments!.attachmentFieldName}`);
69
-
// }
70
-
71
-
// if (!plugin.pluginOptions.storageAdapter.objectCanBeAccesedPublicly()) {
72
-
// throw new Error(`Upload Plugin for attachment field '${this.options.attachments!.attachmentFieldName}' in resource '${this.options.attachments!.attachmentResource}'
73
-
// uses adapter which is not configured to store objects in public way, so it will produce only signed private URLs which can not be used in HTML text of blog posts.
74
-
// Please configure adapter in such way that it will store objects publicly (e.g. for S3 use 'public-read' ACL).
// throw new Error(`Plugin for attachment field '${key}' not found in resource '${this.options.attachments!.attachmentResource}', please check if Upload Plugin is installed on the field ${this.options.attachments!.attachmentFieldName}`);
0 commit comments