@vtecx/vtecxdocument 1.0.0 → 1.0.2

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/docs/framework.md CHANGED
@@ -573,9 +573,9 @@ const groups = await vtecxnext.getGroups()
573
573
 
574
574
  ## エイリアス(横断検索)
575
575
 
576
- エイリアスは、同じエントリに対して複数のパスから参照する仕組みです。`link` 配列に `rel="alternate"` を追加することで設定します。
576
+ エイリアスは、同じエントリに対して複数のパスから参照する仕組み。`link` 配列に `rel="alternate"` を追加することで設定する。
577
577
 
578
- **エイリアスの主な用途は「逆引き」の実現です。** 例えば「あるユーザーが担当する顧客一覧」を取得したいとき、顧客側にインデックスを設けなくてもエイリアスパスで `getFeed` すれば顧客エントリが直接返ります。
578
+ **エイリアスの主な用途は「逆引き」の実現である。** 例えば「あるユーザーが担当する顧客一覧」を取得したいとき、顧客側にインデックスを設けなくてもエイリアスパスで `getFeed` すれば顧客エントリが直接返る。
579
579
 
580
580
  ```
581
581
  一次パス(正引き): /crm/customer/{cid}/member/{uid} ← getFeed('/crm/customer/{cid}/member')
@@ -584,7 +584,7 @@ const groups = await vtecxnext.getGroups()
584
584
 
585
585
  ### 登録
586
586
 
587
- エイリアスは別エントリを作るのではなく、**既存エントリの `link` 配列に `rel="alternate"` を追加**します。親パスの登録とエントリ更新を同一 `put()` にまとめます(親パスを先頭に配置すること)。
587
+ エイリアスは別エントリを作るのではなく、**既存エントリの `link` 配列に `rel="alternate"` を追加**する。親パスの登録とエントリ更新を同一 `put()` にまとめる(親パスを先頭に配置すること)。
588
588
 
589
589
  ```typescript
590
590
  const customer = await vtecxnext.getEntry(`/crm/customer/${cid}`)
@@ -630,7 +630,7 @@ await vtecxnext.put({ feed: { entry: [{ ...(customer as any), link: updatedLinks
630
630
 
631
631
  ### エイリアスパスの権限設定
632
632
 
633
- エイリアスパスも `folderacls.json` に登録します。
633
+ エイリアスパスも `folderacls.json` に登録する。
634
634
 
635
635
  ```json
636
636
  { "contributor": [{ "uri": "urn:vte.cx:acl:/_group/$admin,CURD" }, { "uri": "urn:vte.cx:acl:+,CURDE" }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtecx/vtecxdocument",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "vte.cx BaaS framework and API documentation",
5
5
  "main": "",
6
6
  "files": [