@@ -67,14 +67,14 @@ public struct ParseFile: Fileable, Savable, Fetchable, Deletable, Hashable {
67
67
Creates a file with given data and name.
68
68
- parameter name: The name of the new `ParseFile`. The file name must begin with and
69
69
alphanumeric character, and consist of alphanumeric characters, periods, spaces, underscores,
70
- or dashes. The default value is " file" .
70
+ or dashes. The default value is ** file** .
71
71
- parameter data: The contents of the new `ParseFile`.
72
72
- parameter mimeType: Specify the Content-Type header to use for the file, for example
73
- " application/pdf" . The default is nil. If no value is specified the file type will be inferred from the file
73
+ ** application/pdf** . The default is nil. If no value is specified the file type will be inferred from the file
74
74
extention of `name`.
75
75
- parameter metadata: Optional key value pairs to be stored with file object
76
76
- parameter tags: Optional key value pairs to be stored with file object
77
- - note: `metadata` and `tags` is file adapter specific and not supported by all file adapters.
77
+ - note: `metadata` and `tags` are file adapter specific and not supported by all file adapters.
78
78
For more, see details on the
79
79
[S3 adapter](https://github.com/parse-community/parse-server-s3-adapter#adding-metadata-and-tags)
80
80
*/
@@ -94,14 +94,14 @@ public struct ParseFile: Fileable, Savable, Fetchable, Deletable, Hashable {
94
94
Creates a file from a local file path and name.
95
95
- parameter name: The name of the new `ParseFile`. The file name must begin with and
96
96
alphanumeric character, and consist of alphanumeric characters, periods, spaces, underscores,
97
- or dashes. The default value is " file" .
97
+ or dashes. The default value is ** file** .
98
98
- parameter localURL: The local file path of the`ParseFile`.
99
99
- parameter mimeType: Specify the Content-Type header to use for the file, for example
100
- " application/pdf" . The default is nil. If no value is specified the file type will be inferred from the file
100
+ ** application/pdf** . The default is nil. If no value is specified the file type will be inferred from the file
101
101
extention of `name`.
102
102
- parameter metadata: Optional key value pairs to be stored with file object.
103
103
- parameter tags: Optional key value pairs to be stored with file object.
104
- - note: `metadata` and `tags` is file adapter specific and not supported by all file adapters.
104
+ - note: `metadata` and `tags` are file adapter specific and not supported by all file adapters.
105
105
For more, see details on the
106
106
[S3 adapter](https://github.com/parse-community/parse-server-s3-adapter#adding-metadata-and-tags).
107
107
*/
@@ -120,14 +120,14 @@ public struct ParseFile: Fileable, Savable, Fetchable, Deletable, Hashable {
120
120
Creates a file from a link online and name.
121
121
- parameter name: The name of the new `ParseFile`. The file name must begin with and
122
122
alphanumeric character, and consist of alphanumeric characters, periods, spaces, underscores,
123
- or dashes. The default value is " file" .
123
+ or dashes. The default value is ** file** .
124
124
- parameter cloudURL: The online link of the`ParseFile`.
125
125
- parameter mimeType: Specify the Content-Type header to use for the file, for example
126
- " application/pdf" . The default is nil. If no value is specified the file type will be inferred from the file
126
+ ** application/pdf** . The default is nil. If no value is specified the file type will be inferred from the file
127
127
extention of `name`.
128
128
- parameter metadata: Optional key value pairs to be stored with file object.
129
129
- parameter tags: Optional key value pairs to be stored with file object.
130
- - note: `metadata` and `tags` is file adapter specific and not supported by all file adapters.
130
+ - note: `metadata` and `tags` are file adapter specific and not supported by all file adapters.
131
131
For more, see details on the
132
132
[S3 adapter](https://github.com/parse-community/parse-server-s3-adapter#adding-metadata-and-tags).
133
133
*/
0 commit comments