Skip to content
Snippets Groups Projects
Select Git revision
  • 235363c2bb2f64a735be3b9d18296999f20b6d15
  • master default protected
  • feature/PRXS-3383-CollectionsRankSortAPI
  • fix/PRXS-3401-ValidateValidationOpts
  • feature/3149-LocaleCodeAsID-Feature
  • feature/PRXS-3383-CollectionsSort
  • feature/3109-SerializeFeature
  • release/0.33
  • feature/3109-RecoverySchema
  • feature/3109-feature
  • fix/PRXS-3369-ValidateFields
  • refactor/PRXS-3306-MovePkgGroup1
  • refactor/6-pkg-refactor-expr
  • fix/PRXS-3360-TemplateBuilderPatch
  • feature/3293-MongoV2
  • feature/3272-GoVersionUp
  • feature/PRXS-3218-HideTemplateActions
  • feature/PRXS-3234-PruneIdents
  • feature/3146-UpdateItemStorageInterface
  • feature/3274-ObjectIndexesFixes
  • feature/PRXS-3143-3235-ReferenceOptions
  • v0.33.1
  • v0.32.0
  • v0.31.1
  • v0.31.0
  • v0.30.0
  • v0.29.0
  • v0.28.0
  • v0.27.0-alpha.1+16
  • v0.27.0-alpha.1+15
  • v0.27.0-alpha.1+14
  • v0.27.0-alpha.1+13
  • v0.27.0-alpha.1+12
  • v0.27.0-alpha.1+11
  • v0.27.0-alpha.1+10
  • v0.27.0-alpha.1+9
  • v0.27.0-alpha.1+8
  • v0.27.0-alpha.1+7
  • v0.27.0-alpha.1+6
  • v0.27.0-alpha.1+5
  • v0.27.0-alpha.1+4
41 results

core_test.go

Blame
  • common.proto 1.02 KiB
    syntax = "proto3";
    
    option go_package = "git.perx.ru/perxis/perxis-go/proto/common;common";
    
    package common;
    
    import "google/protobuf/struct.proto";
    
    message Filter {
      string op = 1;
      string field = 2;
      google.protobuf.Value value = 3;
    }
    
    message FindOptions {
      repeated string sort = 1;
      int32 page_num = 2;
      int32 page_size = 3;
      repeated string fields = 4;
      bool exclude_fields = 5;
    }
    
    
    enum Access {
      ANY = 0;
      MINE = 1;
      ROLE = 2;
    }
    
    enum Action {
      UNKNOWN = 0;
      CREATE = 1;
      READ = 2;
      UPDATE = 3;
      DELETE = 4;
    }
    
    message Rule {
      string collection_id = 1;
      repeated Action actions = 2;
      Access access = 3;
      repeated string hidden_fields = 5;
      repeated string readonly_fields = 6;
      repeated string writeonly_fields = 7;
      string read_filter = 8;
      string write_filter = 9;
    }
    
    message Collaborator {
      string space_id = 1;
      string subject = 2;
      string role = 3;
    }
    
    message Version {
      string server_version = 1;
      string api_version = 2;
      string build_time = 3;
      string commit = 4;
      int32 build_number = 5;
    }