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
8787<% } -%>
8888<% } -%>
8989/// 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 %> \`.
9191
9292<% for (const attribute of collection.attributes) { -%>
9393<% if (attribute.format === ' enum' ) { -%>
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class Java extends LanguageMeta {
4444
4545/**
4646 * 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 %> \`.
4848 */
4949
5050import java.util.Objects;
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ class JavaScript extends LanguageMeta {
6767 */
6868
6969// 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 %> \`.
7171
7272<% for (const collection of collections) { -%>
7373<% 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
5353<% } -%>
5454/**
5555 * 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 %> \`.
5757 */
5858
5959<% for (const attribute of collection.attributes) { -%>
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class PHP extends LanguageMeta {
4747namespace Appwrite\\Models ;
4848
4949// 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 %>\`.
5151
5252< % for (const attribute of collection . attributes ) { -% >
5353< % 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 {
4646 return `import Foundation
4747
4848/// 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 %> \`.
5050
5151<% for (const attribute of collection.attributes) { -%>
5252<% if (attribute.format === ' enum' ) { -%>
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class TypeScript extends LanguageMeta {
6969 return `import { type Models } from '${this._getAppwriteDependency()}';
7070
7171// 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 %> \`.
7373
7474<% for (const collection of collections) { -%>
7575<% for (const attribute of collection.attributes) { -%>
You can’t perform that action at this time.
0 commit comments