Changeset 3057107
- Timestamp:
- 03/22/2024 11:20:03 PM (2 years ago)
- Location:
- l-clutch/trunk
- Files:
-
- 1 deleted
- 13 edited
-
NOTICE.md (modified) (1 diff)
-
README.md (deleted)
-
includes/api/openapi/class-openapi-api.php (modified) (1 diff)
-
includes/controller/class-shortcode-controller.php (modified) (1 diff)
-
includes/model/dao/class-richmenu-dao.php (modified) (1 diff)
-
includes/model/dto/line-action/class-postback-action-dto.php (modified) (1 diff)
-
includes/model/dto/line-action/class-rich-menu-switch-action-dto.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
schemas/line-action/postback-action.json (modified) (1 diff)
-
src/packages/core/types/api.d.ts (modified) (1 diff)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
l-clutch/trunk/NOTICE.md
r3035315 r3057107 164 164 ### Gutenberg 165 165 166 Copyright 2016-202 3by the contributors166 Copyright 2016-2024 by the contributors 167 167 168 168 **License for Contributions (on and after April 15, 2021)** -
l-clutch/trunk/includes/api/openapi/class-openapi-api.php
r3048415 r3057107 60 60 'title' => 'LClutch', 61 61 'description' => 'LClutchのOpenAPI', 62 'version' => '1.0. 3',62 'version' => '1.0.4', 63 63 ), 64 64 'servers' => array( -
l-clutch/trunk/includes/controller/class-shortcode-controller.php
r3048415 r3057107 52 52 public function create_blocks( string $name ) { 53 53 return function ( $attributes, $content ) use ( $name ) { 54 $attribute = is_array( $attributes ) ? $attributes['attribute'] :'';54 $attribute = $attributes['attribute'] ?? ''; 55 55 if ( $attribute ) { 56 56 $attribute = str_replace( '(|', '[', $attribute ); -
l-clutch/trunk/includes/model/dao/class-richmenu-dao.php
r3048415 r3057107 90 90 $dto = $this->manager->upsert( $dto ); 91 91 } catch ( InvalidArgumentException | RuntimeException $e ) { 92 $dto = $dto->with( array( 'status' => 'draft' ) ); 93 $this->db_dao->update( $dto ); 92 $this->db_dao->delete( $dto ); 94 93 throw $e; 95 94 } -
l-clutch/trunk/includes/model/dto/line-action/class-postback-action-dto.php
r3048415 r3057107 51 51 52 52 /** 53 * テキストを取得する54 *55 * @return ?string56 */57 public function get_text() {58 return $this->get_container( 'text' );59 }60 61 /**62 53 * 入力オプションを取得する 63 54 * -
l-clutch/trunk/includes/model/dto/line-action/class-rich-menu-switch-action-dto.php
r3048415 r3057107 35 35 * データを取得する 36 36 * 37 * @return ?string37 * @return string 38 38 */ 39 39 public function get_data() { 40 return $this->get_container( 'data' ) ?? ' dummy';40 return $this->get_container( 'data' ) ?? 'richmenu-switch-to-' . $this->get_rich_menu_alias_id(); 41 41 } 42 42 … … 54 54 */ 55 55 public function to_openapi() { 56 $action = new RichMenuSwitchAction( $this->to_array() ); 56 $props = $this->to_array(); 57 $props['data'] = $this->get_data(); 58 $action = new RichMenuSwitchAction( $props ); 57 59 $action->setType( 'richmenuswitch' ); 58 60 return $action; -
l-clutch/trunk/readme.txt
r3056414 r3057107 4 4 Requires at least: 6.2 5 5 Tested up to: 6.5 6 Stable tag: 1.0. 36 Stable tag: 1.0.4 7 7 License: GPL-3.0 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.html -
l-clutch/trunk/schemas/line-action/postback-action.json
r3041601 r3057107 15 15 "description": "アクション実行時に送信されるテキスト" 16 16 }, 17 "text": {18 "type": "string",19 "description": "アクション実行時に送信されるテキスト"20 },21 17 "input_option": { 22 18 "type": "string", -
l-clutch/trunk/src/packages/core/types/api.d.ts
r3048415 r3057107 597 597 /** @description アクション実行時に送信されるテキスト */ 598 598 display_text?: string; 599 /** @description アクション実行時に送信されるテキスト */600 text?: string;601 599 /** 602 600 * @description アクションに応じた、リッチメニューなどの表示方法 -
l-clutch/trunk/vendor/autoload.php
r3041601 r3057107 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit a1bfa2ef2bc77b74b5e128751873736e::getLoader();25 return ComposerAutoloaderInite756e8ba6b5a4a42eadfc509a37601ac::getLoader(); -
l-clutch/trunk/vendor/composer/autoload_real.php
r3041601 r3057107 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit a1bfa2ef2bc77b74b5e128751873736e5 class ComposerAutoloaderInite756e8ba6b5a4a42eadfc509a37601ac 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit a1bfa2ef2bc77b74b5e128751873736e', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInite756e8ba6b5a4a42eadfc509a37601ac', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit a1bfa2ef2bc77b74b5e128751873736e', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInite756e8ba6b5a4a42eadfc509a37601ac', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit a1bfa2ef2bc77b74b5e128751873736e::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $filesToLoad = \Composer\Autoload\ComposerStaticInit a1bfa2ef2bc77b74b5e128751873736e::$files;36 $filesToLoad = \Composer\Autoload\ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac::$files; 37 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
l-clutch/trunk/vendor/composer/autoload_static.php
r3048415 r3057107 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit a1bfa2ef2bc77b74b5e128751873736e7 class ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac 8 8 { 9 9 public static $files = array ( … … 180 180 { 181 181 return \Closure::bind(function () use ($loader) { 182 $loader->prefixLengthsPsr4 = ComposerStaticInit a1bfa2ef2bc77b74b5e128751873736e::$prefixLengthsPsr4;183 $loader->prefixDirsPsr4 = ComposerStaticInit a1bfa2ef2bc77b74b5e128751873736e::$prefixDirsPsr4;184 $loader->classMap = ComposerStaticInit a1bfa2ef2bc77b74b5e128751873736e::$classMap;182 $loader->prefixLengthsPsr4 = ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac::$prefixLengthsPsr4; 183 $loader->prefixDirsPsr4 = ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac::$prefixDirsPsr4; 184 $loader->classMap = ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac::$classMap; 185 185 186 186 }, null, ClassLoader::class); -
l-clutch/trunk/vendor/composer/installed.php
r3048415 r3057107 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 0630d8e04a7e940dc1031ec51f4ea15e75811b52',6 'reference' => '17da2ae1c7d65191ca363021bae4f4a76685bea4', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 41 41 'pretty_version' => 'dev-main', 42 42 'version' => 'dev-main', 43 'reference' => ' 0630d8e04a7e940dc1031ec51f4ea15e75811b52',43 'reference' => '17da2ae1c7d65191ca363021bae4f4a76685bea4', 44 44 'type' => 'library', 45 45 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.