vovk-rust 0.0.1-draft.64 → 0.0.1-draft.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,18 +1,17 @@
1
- <p align="center">
2
- <picture>
3
- <source width="300" media="(prefers-color-scheme: dark)" srcset="https://vovk.dev/vovk-logo-white.svg">
4
- <source width="300" media="(prefers-color-scheme: light)" srcset="https://vovk.dev/vovk-logo.svg">
5
- <img width="300" alt="vovk" src="https://vovk.dev/vovk-logo.svg">
6
- </picture><br>
7
- <strong>RESTful + RPC = ♥️</strong>
8
- </p>
9
-
10
1
  <p align="center">
11
- Back-end meta-framework for <a href="https://nextjs.org/docs/app">Next.js</a>
2
+ <a href="https://vovk.dev">
3
+ <picture>
4
+ <source width="300" media="(prefers-color-scheme: dark)" srcset="https://vovk.dev/vovk-logo-white.svg">
5
+ <source width="300" media="(prefers-color-scheme: light)" srcset="https://vovk.dev/vovk-logo.svg">
6
+ <img width="300" alt="vovk" src="https://vovk.dev/vovk-logo.svg">
7
+ </picture>
8
+ </a>
9
+ <br>
10
+ <strong>Back-end for <a href="https://nextjs.org/">Next.js</a></strong>
12
11
  </p>
13
12
 
14
13
  ---
15
14
 
16
15
  ## vovk-python [![npm version](https://badge.fury.io/js/vovk-python.svg)](https://www.npmjs.com/package/vovk-python)
17
16
 
18
- TODO
17
+ Provides template files and necessary utilities to generate [Rust](https://vovk.dev/rust) client.
@@ -16,9 +16,9 @@
16
16
  ## mod <%= t._.snakeCase(controllerSchema.rpcModuleName) %>
17
17
  <% Object.entries(controllerSchema.handlers).forEach(([handlerName, handlerSchema]) => { %>
18
18
  ### <%= t._.snakeCase(controllerSchema.rpcModuleName) %>::<%= t._.snakeCase(handlerName) %>
19
- <%- handlerSchema.openapi?.summary ? `> ${handlerSchema.openapi.summary}` : '' %>
19
+ <%- handlerSchema.operationObject?.summary ? `> ${handlerSchema.operationObject.summary}` : '' %>
20
20
 
21
- <%- handlerSchema.openapi?.description ? `${handlerSchema.openapi.description}` : '' %>
21
+ <%- handlerSchema.operationObject?.description ? `${handlerSchema.operationObject.description}` : '' %>
22
22
 
23
23
  <% const forceApiRoot = t.segmentMeta[segment.segmentName].forceApiRoot ?? controllerSchema.forceApiRoot; %>
24
24
  `<%= handlerSchema.httpMethod %> <%= [...(forceApiRoot ? [forceApiRoot] : [t.apiRoot, segmentName]), controllerSchema.prefix, handlerSchema.path].map((part, i) => i > 0 ? t._.trim(part, '/') : part).filter(Boolean).join('/') %>`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-rust",
3
- "version": "0.0.1-draft.64",
3
+ "version": "0.0.1-draft.65",
4
4
  "description": "Vovk.ts Rust client",
5
5
  "scripts": {
6
6
  "build": "tsc",