|
58 | 58 | """ |
59 | 59 |
|
60 | 60 |
|
61 | | -Extends2 = TypeAliasType( |
62 | | - "Extends2", |
63 | | - Annotated[ |
64 | | - str, Field(..., pattern="^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$") |
65 | | - ], |
66 | | -) |
67 | | -""" |
68 | | -Parent capability(s) this extends. Present for extensions, absent for root capabilities. Use array for multi-parent extensions. |
69 | | -""" |
| 61 | +Extends2 = TypeAliasType("Extends2", Extends) |
70 | 62 |
|
71 | 63 |
|
72 | | -Extends3Item = TypeAliasType( |
73 | | - "Extends3Item", |
74 | | - Annotated[ |
75 | | - str, Field(..., pattern="^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$") |
76 | | - ], |
77 | | -) |
| 64 | +Extends3Item = TypeAliasType("Extends3Item", Extends1Item) |
78 | 65 |
|
79 | 66 |
|
80 | 67 | Extends3 = TypeAliasType( |
|
85 | 72 | """ |
86 | 73 |
|
87 | 74 |
|
88 | | -Extends4 = TypeAliasType( |
89 | | - "Extends4", |
90 | | - Annotated[ |
91 | | - str, Field(..., pattern="^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$") |
92 | | - ], |
93 | | -) |
94 | | -""" |
95 | | -Parent capability(s) this extends. Present for extensions, absent for root capabilities. Use array for multi-parent extensions. |
96 | | -""" |
| 75 | +Extends4 = TypeAliasType("Extends4", Extends) |
97 | 76 |
|
98 | 77 |
|
99 | | -Extends5Item = TypeAliasType( |
100 | | - "Extends5Item", |
101 | | - Annotated[ |
102 | | - str, Field(..., pattern="^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$") |
103 | | - ], |
104 | | -) |
| 78 | +Extends5Item = TypeAliasType("Extends5Item", Extends1Item) |
105 | 79 |
|
106 | 80 |
|
107 | 81 | Extends5 = TypeAliasType( |
|
112 | 86 | """ |
113 | 87 |
|
114 | 88 |
|
115 | | -Extends6 = TypeAliasType( |
116 | | - "Extends6", |
117 | | - Annotated[ |
118 | | - str, Field(..., pattern="^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$") |
119 | | - ], |
120 | | -) |
121 | | -""" |
122 | | -Parent capability(s) this extends. Present for extensions, absent for root capabilities. Use array for multi-parent extensions. |
123 | | -""" |
| 89 | +Extends6 = TypeAliasType("Extends6", Extends) |
124 | 90 |
|
125 | 91 |
|
126 | | -Extends7Item = TypeAliasType( |
127 | | - "Extends7Item", |
128 | | - Annotated[ |
129 | | - str, Field(..., pattern="^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$") |
130 | | - ], |
131 | | -) |
| 92 | +Extends7Item = TypeAliasType("Extends7Item", Extends1Item) |
132 | 93 |
|
133 | 94 |
|
134 | 95 | Extends7 = TypeAliasType( |
|
0 commit comments