winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

CommandsTable.h (646B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "Microsoft/Schema/1_0/OneToManyTable.h"
      5 
      6 
      7 namespace AppInstaller::Repository::Microsoft::Schema::V1_0
      8 {
      9     namespace details
     10     {
     11         using namespace std::string_view_literals;
     12 
     13         struct CommandsTableInfo
     14         {
     15             inline static constexpr std::string_view TableName() { return "commands"sv; }
     16             inline static constexpr std::string_view ValueName() { return "command"sv; }
     17         };
     18     }
     19 
     20     // The table for Commands.
     21     using CommandsTable = OneToManyTable<details::CommandsTableInfo>;
     22 }