winget-cli

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

VersionTable.h (640B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "Microsoft/Schema/1_0/OneToOneTable.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 VersionTableInfo
     14         {
     15             inline static constexpr std::string_view TableName() { return "versions"sv; }
     16             inline static constexpr std::string_view ValueName() { return "version"sv; }
     17         };
     18     }
     19 
     20     // The table for Version.
     21     using VersionTable = OneToOneTable<details::VersionTableInfo>;
     22 }