From bddc672ab26325d2dc2a4e54deec6c9eacdb5f00 Mon Sep 17 00:00:00 2001 From: yicr Date: Fri, 8 Nov 2024 17:44:17 +0900 Subject: [PATCH] chore(docs): update auto generated api document --- API.md | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 106 insertions(+), 5 deletions(-) diff --git a/API.md b/API.md index d81363c..641b31e 100644 --- a/API.md +++ b/API.md @@ -3,6 +3,73 @@ ## Structs +### CustomNaming + +#### Initializer + +```typescript +import { ResourceNaming } from '@gammarers/aws-resource-naming' + +const customNaming: ResourceNaming.CustomNaming = { ... } +``` + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| names | {[ key: string ]: string} | *No description.* | +| type | @gammarers/aws-resource-naming.ResourceNaming.NamingType | *No description.* | + +--- + +##### `names`Required + +```typescript +public readonly names: {[ key: string ]: string}; +``` + +- *Type:* {[ key: string ]: string} + +--- + +##### `type`Required + +```typescript +public readonly type: NamingType; +``` + +- *Type:* @gammarers/aws-resource-naming.ResourceNaming.NamingType + +--- + +### DefaultNaming + +#### Initializer + +```typescript +import { ResourceNaming } from '@gammarers/aws-resource-naming' + +const defaultNaming: ResourceNaming.DefaultNaming = { ... } +``` + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| type | @gammarers/aws-resource-naming.ResourceNaming.NamingType | *No description.* | + +--- + +##### `type`Required + +```typescript +public readonly type: NamingType; +``` + +- *Type:* @gammarers/aws-resource-naming.ResourceNaming.NamingType + +--- + ### NamingOptions #### Initializer @@ -17,17 +84,45 @@ const namingOptions: ResourceNaming.NamingOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | -| naming | @gammarers/aws-resource-naming.ResourceNaming.NamingType \| {[ key: string ]: string} | *No description.* | +| naming | @gammarers/aws-resource-naming.ResourceNaming.NoNaming \| @gammarers/aws-resource-naming.ResourceNaming.DefaultNaming \| @gammarers/aws-resource-naming.ResourceNaming.CustomNaming | *No description.* | --- ##### `naming`Required ```typescript -public readonly naming: NamingType | {[ key: string ]: string}; +public readonly naming: NoNaming | DefaultNaming | CustomNaming; ``` -- *Type:* @gammarers/aws-resource-naming.ResourceNaming.NamingType | {[ key: string ]: string} +- *Type:* @gammarers/aws-resource-naming.ResourceNaming.NoNaming | @gammarers/aws-resource-naming.ResourceNaming.DefaultNaming | @gammarers/aws-resource-naming.ResourceNaming.CustomNaming + +--- + +### NoNaming + +#### Initializer + +```typescript +import { ResourceNaming } from '@gammarers/aws-resource-naming' + +const noNaming: ResourceNaming.NoNaming = { ... } +``` + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| type | @gammarers/aws-resource-naming.ResourceNaming.NamingType | *No description.* | + +--- + +##### `type`Required + +```typescript +public readonly type: NamingType; +``` + +- *Type:* @gammarers/aws-resource-naming.ResourceNaming.NamingType --- @@ -41,17 +136,23 @@ public readonly naming: NamingType | {[ key: string ]: string}; | **Name** | **Description** | | --- | --- | +| NO | *No description.* | | DEFAULT | *No description.* | -| NONE | *No description.* | +| CUSTOM | *No description.* | --- +##### `NO` + +--- + + ##### `DEFAULT` --- -##### `NONE` +##### `CUSTOM` ---