github.com/ActiveState/cli@v0.0.0-20240508170324-6801f60cd051/cmd/state-svc/schema/schema.graphqls (about) 1 type Version { 2 state: StateVersion! 3 } 4 5 type StateVersion { 6 license: String! 7 version: String! 8 channel: String! 9 revision: String! 10 date: String! 11 } 12 13 type AvailableUpdate { 14 version: String! 15 channel: String! 16 path: String! 17 platform: String! 18 sha256: String! 19 } 20 21 type Project { 22 namespace: String! 23 locations: [String!]! 24 } 25 26 type AnalyticsEventResponse { 27 sent: Boolean! 28 } 29 30 type ReportRuntimeUsageResponse { 31 received: Boolean! 32 } 33 34 enum MessageRepeatType { 35 Disabled 36 Constantly 37 Hourly 38 Daily 39 Weekly 40 Monthly 41 } 42 43 enum MessageInterruptType { 44 Disabled 45 Prompt 46 Exit 47 } 48 49 enum MessagePlacementType { 50 BeforeCmd 51 AfterCmd 52 } 53 54 type MessageInfo { 55 id: String! 56 message: String! 57 condition: String! 58 repeat: MessageRepeatType! 59 interrupt: MessageInterruptType! 60 placement: MessagePlacementType! 61 } 62 63 type Query { 64 version: Version 65 availableUpdate(desiredChannel: String!, desiredVersion: String!): AvailableUpdate 66 projects: [Project]! 67 analyticsEvent(category: String!, action: String!, source: String!, label: String, dimensionsJson: String!): AnalyticsEventResponse 68 reportRuntimeUsage(pid: Int!, exec: String!, source: String!, dimensionsJson: String!): ReportRuntimeUsageResponse 69 checkMessages(command: String!, flags: [String!]!): [MessageInfo!]! 70 configChanged(key: String!): ConfigChangedResponse 71 fetchLogTail: String! 72 getProcessesInUse(execDir: String!): [ProcessInfo!]! 73 } 74 75 type ConfigChangedResponse { 76 received: Boolean! 77 } 78 79 type ProcessInfo { 80 exe: String! 81 pid: Int! 82 }