Skip to content

Commit 510097b

Browse files
authored
Change links in common components (#374)
* Change links in common components * prettier
1 parent 99c82f4 commit 510097b

1 file changed

Lines changed: 9 additions & 47 deletions

File tree

aep/general/0213/aep.md.j2

Lines changed: 9 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ representations of the following concepts:
4646

4747
### API design patterns
4848

49-
- `Operation`: Represents the status of a long-running request (see AEP-151 for
50-
details).
49+
- [`Operation`][operation]: Represents the status of a long-running request
50+
(see AEP-151 for details).
5151

5252
#### gRPC-specific API design patterns
5353

@@ -70,42 +70,16 @@ very high barrier to entry.
7070

7171
#### General common types
7272

73-
- [`Color`][color]: RGB or RGBA colors.
74-
7573
- [`Decimal`][decimal]: Decimal numbers.
7674

77-
- [`Fraction`][fraction]: A numeric fraction.
78-
79-
- [`LatLng`][lat_lng]: Geographic coordinates.
80-
8175
- [`Money`][money]: An amount of money in a given currency.
8276

8377
- [`PhoneNumber`][phone_number]: A phone number in most countries.
8478

85-
- [`PostalAddress`][postal_address]: Postal addresses in most countries.
86-
87-
- [`Quaternion`][quaternion]: A geometric quaternion.
88-
8979
#### Date- and time-related types
9080

91-
- [`Date`][date]: A calendar date, with no time or time zone component.
92-
93-
- [`DateTime`][date_time]: A calendar date and wall-clock time, with optional
94-
time zone or UTC offset information.
95-
96-
- [`DayOfWeek`][day_of_week]: An enumeration representing the day of the week.
97-
98-
- [`Duration`][duration]: A duration with nanosecond-level precision.
99-
10081
- [`Interval`][interval]: An interval between two timestamps.
10182

102-
- [`Month`][month]: An enumeration representing the Gregorian month.
103-
104-
- [`TimeOfDay`][time_of_day]: Wall-clock time, with no date or time zone
105-
component.
106-
107-
- [`Timestamp`][timestamp]: A timestamp with nanosecond-level precision.
108-
10983
##### Protobuf well-known types
11084

11185
**Note:** These common components apply to protobuf APIs only.
@@ -180,23 +154,11 @@ However, some general guidelines are worth noting for this:
180154
[api]: https://github.com/googleapis/googleapis/tree/master/google/api
181155
[rpc]: https://github.com/googleapis/googleapis/tree/master/google/rpc
182156

183-
[color]: https://github.com/aep-dev/aep/tree/master/schemas/type/color.md
184-
[decimal]: https://github.com/aep-dev/aep/tree/master/schemas/type/decimal.md
185-
[fraction]: https://github.com/aep-dev/aep/tree/master/schemas/type/fraction.md
186-
[lat_lng]: https://github.com/aep-dev/aep/tree/master/schemas/type/lat_lng.md
187-
[money]: https://github.com/aep-dev/aep/tree/master/schemas/type/money.md
188-
[phone_number]: https://github.com/aep-dev/aep/tree/master/schemas/type/phone_number.md
189-
[postal_address]: https://github.com/aep-dev/aep/tree/master/schemas/type/postal_address.md
190-
[quaternion]: https://github.com/aep-dev/aep/tree/master/schemas/type/quaternion.md
191-
192-
[date]: https://github.com/aep-dev/aep/tree/master/schemas/type/date.md
193-
[date_time]: https://github.com/aep-dev/aep/tree/master/schemas/type/date_time.md
194-
[day_of_week]: https://github.com/aep-dev/aep/tree/master/schemas/type/day_of_week.md
195-
[duration]: https://github.com/aep-dev/aep/tree/master/schemas/type/duration.md
196-
[interval]: https://github.com/aep-dev/aep/tree/master/schemas/type/interval.md
197-
[month]: https://github.com/aep-dev/aep/tree/master/schemas/type/month.md
198-
[time_of_day]: https://github.com/aep-dev/aep/tree/master/schemas/type/time_of_day.md
199-
[timestamp]: https://github.com/aep-dev/aep/tree/master/schemas/type/timestamp.md
157+
[operation]: https://github.com/aep-dev/aep-components/tree/main/schemas/type/operation.md
158+
[decimal]: https://github.com/aep-dev/aep-components/tree/main/schemas/type/decimal.md
159+
[money]: https://github.com/aep-dev/aep-components/tree/main/schemas/type/money.md
160+
[phone_number]: https://github.com/aep-dev/aep-components/tree/main/schemas/type/phone_number.md
161+
[interval]: https://github.com/aep-dev/aep-components/tree/main/schemas/type/interval.md
200162

201163
[datetime]: https://docs.python.org/3/library/datetime.html#datetime.datetime
202164
[duration]: https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/duration.proto
@@ -205,8 +167,8 @@ However, some general guidelines are worth noting for this:
205167
[timedelta]: https://docs.python.org/3/library/datetime.html#datetime.timedelta
206168
[timestamp]: https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/timestamp.proto
207169

208-
[open an issue]: https://github.com/aep-dev/aep/issues
209-
[aep common components]: https://github.com/aep-dev/aep
170+
[open an issue]: https://github.com/aep-dev/aep-components/issues
171+
[aep common components]: https://github.com/aep-dev/aep-components
210172
[json schema store]: https://www.schemastore.org/json/
211173
[buf]: https://buf.build/aep
212174
<!-- prettier-ignore-end -->

0 commit comments

Comments
 (0)