mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 14:28:20 +01:00
29 lines
451 B
Plaintext
29 lines
451 B
Plaintext
|
|
## RFC3339
|
|
|
|
[https://datatracker.ietf.org/doc/html/rfc3339](https://datatracker.ietf.org/doc/html/rfc3339)
|
|
|
|
## UUID
|
|
|
|
```typescript
|
|
type UUID = `${number}-${number}-${number}-${number}-${number}`;
|
|
```
|
|
|
|
## URI
|
|
|
|
```typescript
|
|
type URI = string;
|
|
```
|
|
|
|
## Extensions
|
|
|
|
```typescript
|
|
type OrgNamespace = string;
|
|
type ExtensionName = string;
|
|
|
|
type ExtensionsKey = `${OrgNamespace}:${ExtensionName}`;
|
|
|
|
type Extensions = {
|
|
[key in ExtensionsKey]: any;
|
|
}
|
|
``` |