feat: new models, sorting fix

This commit is contained in:
2025-03-15 21:12:15 +07:00
parent db7076182e
commit 2b8df155d3
103 changed files with 16214 additions and 4048 deletions

4
.idea/boilerplate.iml generated Normal file
View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="Go" enabled="true" />
</module>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

148
.idea/workspace.xml generated Normal file
View File

@@ -0,0 +1,148 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="ALL" />
</component>
<component name="ChangeListManager">
<list default="true" id="0f2c8145-9000-45fe-a871-9ff0914e0e13" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/frontend/bindings/app/internal/models/models.ts" beforeDir="false" afterPath="$PROJECT_DIR$/frontend/bindings/app/internal/models/models.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/bindings/app/internal/services/authorservice.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/bindings/app/internal/services/commentservice.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/bindings/app/internal/services/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/frontend/bindings/app/internal/services/index.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/bindings/app/internal/services/models.ts" beforeDir="false" afterPath="$PROJECT_DIR$/frontend/bindings/app/internal/services/models.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/bindings/app/internal/services/postservice.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/bindings/app/internal/services/posttypeservice.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/author/AuthorScheme.vue" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/author/author.service.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/comment/CommentScheme.vue" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/comment/comment.service.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/pages/Index.vue" beforeDir="false" afterPath="$PROJECT_DIR$/frontend/src/pages/Index.vue" afterDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/pages/pages/GrebenPage.vue" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/pages/pages/UserPage.vue" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/pages/tables/PostTablePage.vue" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/post/PostScheme.vue" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/post/post.service.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/posttype/PosttypeScheme.vue" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/posttype/posttype.service.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/frontend/src/router/router.ts" beforeDir="false" afterPath="$PROJECT_DIR$/frontend/src/router/router.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/authors.gen.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/authors.gen_test.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/comments.gen.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/comments.gen_test.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/gen.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/gen_test.db" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/gen_test.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/post_types.gen.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/post_types.gen_test.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/posts.gen.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/dal/posts.gen_test.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/models/models.go" beforeDir="false" afterPath="$PROJECT_DIR$/internal/models/models.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/internal/services/default_data.go" beforeDir="false" afterPath="$PROJECT_DIR$/internal/services/default_data.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/internal/services/excel.go" beforeDir="false" afterPath="$PROJECT_DIR$/internal/services/excel.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/internal/services/post.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/services/posttype.go" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/internal/services/services.go" beforeDir="false" afterPath="$PROJECT_DIR$/internal/services/services.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/internal/utils/sorting.go" beforeDir="false" afterPath="$PROJECT_DIR$/internal/utils/sorting.go" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Go File" />
</list>
</option>
</component>
<component name="GOROOT" url="file://$USER_HOME$/go/go1.24.1" />
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="ProjectCodeStyleSettingsMigration">
<option name="version" value="2" />
</component>
<component name="ProjectColorInfo">{
&quot;associatedIndex&quot;: 8
}</component>
<component name="ProjectId" id="2sRWGnZjOMe2yOSS8et0US4qUZq" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;DefaultGoTemplateProperty&quot;: &quot;Go File&quot;,
&quot;Go Build.go build app.executor&quot;: &quot;Debug&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
&quot;RunOnceActivity.go.formatter.settings.were.checked&quot;: &quot;true&quot;,
&quot;RunOnceActivity.go.migrated.go.modules.settings&quot;: &quot;true&quot;,
&quot;RunOnceActivity.go.modules.go.list.on.any.changes.was.set&quot;: &quot;true&quot;,
&quot;git-widget-placeholder&quot;: &quot;main&quot;,
&quot;go.import.settings.migrated&quot;: &quot;true&quot;,
&quot;go.sdk.automatically.set&quot;: &quot;true&quot;,
&quot;kotlin-language-version-configured&quot;: &quot;true&quot;,
&quot;last_opened_file_path&quot;: &quot;/home/gogacoder/dev/go/nto/boilerplate&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;go.sdk&quot;,
&quot;ts.external.directory.path&quot;: &quot;/home/gogacoder/dev/go/nto/boilerplate/frontend/node_modules/typescript/lib&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
}
}</component>
<component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/internal/addons/excel" />
<recent name="$PROJECT_DIR$/internal/utils" />
<recent name="$PROJECT_DIR$/internal/extras" />
</key>
</component>
<component name="RunManager">
<configuration name="go build app" type="GoApplicationRunConfiguration" factoryName="Go Application" nameIsGenerated="true">
<module name="nto_starterkit" />
<working_directory value="$PROJECT_DIR$" />
<kind value="PACKAGE" />
<package value="app" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$" />
<method v="2" />
</configuration>
<configuration name="go build app" type="GoApplicationRunConfiguration" factoryName="Go Application" nameIsGenerated="true">
<module name="nto_starterkit" />
<working_directory value="$PROJECT_DIR$" />
<kind value="PACKAGE" />
<package value="app" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$" />
<method v="2" />
</configuration>
</component>
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-gosdk-d297c17c1fbd-57c114c3cede-org.jetbrains.plugins.go.sharedIndexes.bundled-GO-243.25659.52" />
<option value="bundled-js-predefined-d6986cc7102b-1632447f56bf-JavaScript-GO-243.25659.52" />
</set>
</attachedChunks>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="0f2c8145-9000-45fe-a871-9ff0914e0e13" name="Changes" comment="" />
<created>1739066986825</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1739066986825</updated>
</task>
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="VgoProject">
<settings-migrated>true</settings-migrated>
</component>
</project>