File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
templates/cli/lib/type-generation/languages Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ import '<%- toSnakeCase(collections.find(c => c.$id === attribute.relatedCollect
87
87
<% } -%>
88
88
<% } -%>
89
89
/// This file is auto-generated by the Appwrite CLI.
90
- /// You can regenerate it by running \`appwrite types -l <% - strict ? ' ' : ' --strict false' %> dart <% - path %> \`.
90
+ /// You can regenerate it by running \`appwrite types -l dart <% - strict ? ' ' : ' --strict false ' %><% - path %> \`.
91
91
92
92
<% for (const attribute of collection.attributes) { -%>
93
93
<% if (attribute.format === ' enum' ) { -%>
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class Java extends LanguageMeta {
44
44
45
45
/**
46
46
* This file is auto-generated by the Appwrite CLI.
47
- * You can regenerate it by running \`appwrite types -l <% - strict ? ' ' : ' --strict false' %> java <% - path %> \`.
47
+ * You can regenerate it by running \`appwrite types -l java <% - strict ? ' ' : ' --strict false ' %><% - path %> \`.
48
48
*/
49
49
50
50
import java.util.Objects;
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ class JavaScript extends LanguageMeta {
67
67
*/
68
68
69
69
// This file is auto-generated by the Appwrite CLI.
70
- // You can regenerate it by running \`appwrite types -l <% - strict ? ' ' : ' --strict false' %> js <% - path %> \`.
70
+ // You can regenerate it by running \`appwrite types -l js <% - strict ? ' ' : ' --strict false ' %><% - path %> \`.
71
71
72
72
<% for (const collection of collections) { -%>
73
73
<% for (const attribute of collection.attributes) { -%>
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ import <%- toPascalCase(collections.find(c => c.$id === attribute.relatedCollect
53
53
<% } -%>
54
54
/**
55
55
* This file is auto-generated by the Appwrite CLI.
56
- * You can regenerate it by running \`appwrite types -l <% - strict ? ' ' : ' --strict false' %> kotlin <% - path %> \`.
56
+ * You can regenerate it by running \`appwrite types -l kotlin <% - strict ? ' ' : ' --strict false ' %><% - path %> \`.
57
57
*/
58
58
59
59
<% for (const attribute of collection.attributes) { -%>
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class PHP extends LanguageMeta {
47
47
namespace Appwrite\\Models ;
48
48
49
49
// This file is auto-generated by the Appwrite CLI.
50
- // You can regenerate it by running \`appwrite types -l <%- strict ? '' : '--strict false' %>php <%- path %>\`.
50
+ // You can regenerate it by running \`appwrite types -l php <%- strict ? '' : '--strict false ' %><%- path %>\`.
51
51
52
52
< % for (const attribute of collection . attributes ) { -% >
53
53
< % if (attribute . type === ' relationship' && ! (attribute . relationType === ' manyToMany' ) && ! (attribute . relationType === ' oneToMany' && attribute . side === ' parent' )) { -% >
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class Swift extends LanguageMeta {
46
46
return `import Foundation
47
47
48
48
/// This file is auto-generated by the Appwrite CLI.
49
- /// You can regenerate it by running \`appwrite types -l <% - strict ? ' ' : ' --strict false' %> swift <% - path %> \`.
49
+ /// You can regenerate it by running \`appwrite types -l swift <% - strict ? ' ' : ' --strict false ' %><% - path %> \`.
50
50
51
51
<% for (const attribute of collection.attributes) { -%>
52
52
<% if (attribute.format === ' enum' ) { -%>
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class TypeScript extends LanguageMeta {
69
69
return `import { type Models } from '${this._getAppwriteDependency()}';
70
70
71
71
// This file is auto-generated by the Appwrite CLI.
72
- // You can regenerate it by running \`appwrite types -l <% - strict ? ' ' : ' --strict false' %> ts <% - path %> \`.
72
+ // You can regenerate it by running \`appwrite types -l ts <% - strict ? ' ' : ' --strict false ' %><% - path %> \`.
73
73
74
74
<% for (const collection of collections) { -%>
75
75
<% for (const attribute of collection.attributes) { -%>
You can’t perform that action at this time.
0 commit comments