Commit 60e4c70
chore(docs): DSPX-2959 add Java/JS shorthand enum updates and version badges
- Update JS imports to use barrel exports from @opentdf/sdk instead of
deep proto paths
- Update policy.mdx Java example to use PolicyEnums shorthand constants
- Update policy.mdx JS example to use enum values instead of strings
- Add SdkVersion badges with NEXT placeholders to code samples
(replace with actual versions once SDK releases ship)
Note: Java code_samples/java/ files are pulled from the java-sdk repo
at build time via remote-content plugin. They will update automatically
once javaSdkVersion is bumped in docusaurus.config.ts after the
java-sdk release containing opentdf/java-sdk#357.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Mary Dickson <mary.dickson@virtru.com>1 parent ea2c87c commit 60e4c70
3 files changed
Lines changed: 25 additions & 7 deletions
File tree
- code_samples/policy_code
- docs/sdks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| 75 | + | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| 84 | + | |
| 85 | + | |
79 | 86 | | |
80 | | - | |
| 87 | + | |
81 | 88 | | |
82 | 89 | | |
83 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| 89 | + | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| 98 | + | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
98 | | - | |
| 105 | + | |
99 | 106 | | |
100 | 107 | | |
101 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1666 | 1666 | | |
1667 | 1667 | | |
1668 | 1668 | | |
| 1669 | + | |
1669 | 1670 | | |
1670 | 1671 | | |
1671 | 1672 | | |
1672 | | - | |
| 1673 | + | |
1673 | 1674 | | |
1674 | 1675 | | |
1675 | 1676 | | |
1676 | 1677 | | |
1677 | 1678 | | |
1678 | | - | |
| 1679 | + | |
1679 | 1680 | | |
1680 | 1681 | | |
1681 | 1682 | | |
| |||
1698 | 1699 | | |
1699 | 1700 | | |
1700 | 1701 | | |
1701 | | - | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
1702 | 1706 | | |
1703 | 1707 | | |
1704 | 1708 | | |
1705 | 1709 | | |
1706 | 1710 | | |
1707 | 1711 | | |
1708 | 1712 | | |
1709 | | - | |
| 1713 | + | |
1710 | 1714 | | |
1711 | 1715 | | |
1712 | 1716 | | |
1713 | | - | |
| 1717 | + | |
1714 | 1718 | | |
1715 | 1719 | | |
1716 | 1720 | | |
| |||
0 commit comments